@media (max-width: 1120px) {
  .header-inner { gap: 1rem; }
  .site-nav { gap: 0.9rem; }
  .nav-link { font-size: 0.76rem; }
  .header-cta { font-size: 0.7rem; }
  .brand-descriptor, .brand-divider { display: none; }
}

@media (max-width: 1020px) {
  .header-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 4.6rem;
    justify-content: space-between;
  }
  .menu-toggle {
    width: 2.65rem;
    height: 2.65rem;
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    order: 3;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: transparent;
    cursor: pointer;
  }
  .js-ready .menu-toggle { display: flex; }
  .menu-toggle span { width: 100%; height: 2px; background: var(--ink); transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    order: 4;
    flex: 0 0 100%;
    padding: 0;
    background: var(--paper);
  }
  .js-ready .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    order: 0;
    flex: initial;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.5rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 24px rgb(16 26 22 / 9%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }
  .js-ready .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .nav-link::after { display: none; }
  .header-cta { display: none; }
  .language-switch { order: 2; margin-left: auto; }
  .brand { order: 1; }
  .menu-toggle { order: 3; }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding-block: 5rem 4rem;
  }
  .hero-content { max-width: 760px; }
  .hero-visual { justify-self: start; max-width: 680px; min-height: 410px; }
  .hero-scroll { display: none; }
  .intro { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.5rem; }
  .intro-note { grid-column: 2; }
  .section-heading { grid-template-columns: 1fr; gap: 0.9rem; }
  .section-heading > p { max-width: 760px; }
  .solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .solution-card:nth-child(4) { border-left: 1px solid #bdc5b7; }
  .principles-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-main { grid-template-columns: minmax(0, 1fr) minmax(250px, 0.75fr); gap: 2.5rem; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { max-width: 760px; }
}

@media (max-width: 700px) {
  .section-shell { width: min(100% - 2rem, var(--container)); }
  .header-inner { width: calc(100% - 2rem); gap: 0.65rem; }
  .brand { gap: 0.5rem; }
  .brand img { width: 34px; height: 34px; }
  .brand-word { font-size: 0.94rem; letter-spacing: 0.13em; }
  .language-switch { gap: 0; }
  .language-switch a { min-width: 1.8rem; padding: 0.35rem 0.25rem; font-size: 0.6rem; }
  .site-nav { right: 0; left: 0; padding-inline: 1rem; }
  .hero { gap: 2.4rem; padding: 4rem 1rem 3.5rem; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 4.2rem); letter-spacing: -0.06em; }
  .hero-copy { font-size: 0.96rem; }
  .hero-footnote { margin-top: 2rem; }
  .hero-visual { min-height: 350px; }
  .visual-node { width: 47%; min-height: 88px; padding: 0.7rem; }
  .visual-node--source { top: 31%; }
  .visual-node--data { top: 19%; }
  .visual-node--system { bottom: 17%; }
  .node-index, .node-detail { font-size: 0.49rem; }
  .visual-node strong { font-size: 0.88rem; }
  .visual-outcome { bottom: 7%; font-size: 0.62rem; }
  .visual-coordinate { right: 0.8rem; bottom: 0.85rem; font-size: 0.5rem; }
  .intro { grid-template-columns: 1fr; gap: 1rem; padding-block: 4rem; }
  .intro-copy, .intro-note { grid-column: 1; }
  .intro h2, .section-heading h2, .about-copy h2, .principles-layout h2, .contact-copy h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .section-heading > *, .about-main > *, .solution-card, .service-card, .process-step { min-width: 0; }
  .section-heading h2, .about-copy h2, .solution-card h3, .solution-card p,
  .group-summary strong, .group-summary small, .service-card h3,
  .process-step h3, .process-step p, .contact-links strong {
    overflow-wrap: anywhere;
  }
  .services-section, .solutions-section, .about-section { padding-block: 4rem; }
  .section-index { margin-bottom: 1rem; }
  .section-heading { margin-bottom: 2rem; }
  .service-group summary { grid-template-columns: 2rem minmax(0, 1fr) 2.4rem; gap: 0.7rem; min-height: 5.7rem; }
  .group-count { display: none; }
  .group-summary small { max-width: 42rem; font-size: 0.7rem; }
  .group-toggle { width: 2.25rem; height: 2.25rem; }
  .service-grid { grid-template-columns: 1fr; gap: 0.6rem; padding: 0 0 1rem; }
  .service-card { padding: 1.1rem; }
  .services-bottom { align-items: flex-start; flex-direction: column; }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-card, .solution-card:nth-child(4) { min-height: 16rem; padding: 1rem 0.75rem; border-left: 1px solid #bdc5b7; }
  .solution-card h3 { margin-top: 1.6rem; font-size: 1.05rem; }
  .solution-card p { margin-bottom: 2.7rem; font-size: 0.72rem; }
  .principles-section { padding-block: 4rem; }
  .principles-list { grid-template-columns: 1fr; }
  .principles-list li { min-height: 3.8rem; }
  .about-main { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about-main > *, .about-copy, .founder-card { min-width: 0; }
  .founder-card { min-height: 17rem; }
  .founder-note { max-width: 100%; }
  .process-section { padding-block: 4rem; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .process-step { min-width: 0; min-height: 12rem; padding-right: 0.6rem; }
  .process-step:nth-child(odd) { border-right: 1px solid var(--line); }
  .process-step:nth-child(even) { padding-left: 1rem; }
  .contact-section { padding-block: 4rem; }
  .contact-layout { gap: 2.5rem; }
  .contact-form-panel { padding: 1.1rem; }
  .direct-contact-actions { flex-direction: column; }
  .direct-contact-actions .button { flex: none; width: 100%; }
  .form-submit { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 1rem; padding-block: 2rem; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .privacy-page { padding-block: 2.5rem; }
  .privacy-back { margin-bottom: 2rem; }
  .privacy-page h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .privacy-block { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.7rem; }
}

@media (max-width: 380px) {
  .brand-word { letter-spacing: 0.08em; }
  .header-inner { gap: 0.45rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: space-between; }
  .visual-meta { right: 0.8rem; left: 0.8rem; font-size: 0.46rem; }
  .solutions-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .solution-card, .solution-card:nth-child(4) {
    min-height: 12rem;
    border-right: 1px solid #bdc5b7;
    border-bottom: 1px solid #bdc5b7;
    border-left: 1px solid #bdc5b7;
  }
}

@keyframes visual-arrive {
  from { opacity: 0; transform: translateY(14px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
