/* Pass 5: extend existing navigation and sections without replacing their styles. */
.nav__dropdown { position: relative; }
.nav__dropdown summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; opacity: .88; }
.nav__dropdown summary::-webkit-details-marker { display: none; }
.nav__dropdown summary::after { content: "⌄"; }
.nav__dropdown[open] summary::after { transform: rotate(180deg); }
.nav__dropdown summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 4px; }
.nav__dropdown-links { position: absolute; left: 0; top: 100%; width: 270px; max-width: calc(100vw - 36px); max-height: min(65vh, 500px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--night); color: var(--star); box-shadow: 0 14px 32px #0003; }
.nav.is-light .nav__dropdown-links { background: var(--paper); color: var(--ink); }
.nav__dropdown-links a { display: flex; width: 100%; padding: 8px 10px; line-height: 1.4; }
.foot__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 36px; }
.foot__column { display: flex; flex-direction: column; min-width: 0; }
.foot__column strong { margin-bottom: 10px; }
.foot__column a { overflow-wrap: anywhere; }
.home-cases__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.home-cases__card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; }
.home-cases__card h3 { margin-bottom: 18px; }
.home-cases__card a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.industry-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.industry-links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }
@media (max-width: 920px) {
  .nav__dropdown { width: 100%; }
  .nav__dropdown-links { position: static; width: 100%; max-width: none; box-shadow: none; max-height: 38vh; }
  .nav__links { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  .nav__links .nav__dropdown-links a { width: 100%; }
  .foot__row { flex-wrap: wrap; }
  .foot__links { width: 100%; }
}
@media (max-width: 560px) {
  .home-cases__grid { grid-template-columns: 1fr; }
  .home-cases__card { padding: 22px; }
  .foot__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
