/* V36: quiet mobile controls and continuous, gentle transitions. */
button, summary, input[type="submit"] {
  -webkit-tap-highlight-color: transparent;
}
button { -webkit-appearance: none; appearance: none; }
summary::marker { color: #a9bd8d; }
.hero-scene { transition: opacity 1.3s ease-in-out; }
.concept-card, .concept-filters button, .concept-card button, .mobile-contact a {
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
.v36-mobile-arrow { display: inline; }

@media (max-width:1260px) {
  .v33 .mobile-links,
  .v33 .mobile-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 0;
    background: #101711;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .22s ease, transform .26s ease, visibility .32s;
  }
  .v33 .mobile-links.open {
    max-height: min(720px, calc(100dvh - 160px));
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .v33 .mobile-links a {
    min-height: 48px;
    padding: 15px 24px;
    border-bottom: 1px solid #253126;
  }
  .mobile-toggle {
    color: #edf3e7;
    border-radius: 7px;
    transition: background-color .2s ease, border-color .2s ease;
  }
  .mobile-toggle[aria-expanded="true"] { background: #243421; border-color: #8ca27b; }
}

@media (max-width:750px) {
  /* Plain text actions replace colored arrow glyphs on mobile browsers. */
  .v36-mobile-arrow { display: none; }
  .back-top { display: none !important; }
  a, button, summary { -webkit-tap-highlight-color: transparent; }
  .hero .scene-buttons { gap: 0; }
  .hero .scene-buttons .scene-dot,
  .hero .scene-buttons .scene-dot[aria-pressed="true"] {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
  }
  .hero .scene-buttons .scene-dot::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b6c9a5;
    opacity: .5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .25s ease, width .3s ease, border-radius .3s ease;
  }
  .hero .scene-buttons .scene-dot[aria-pressed="true"]::after {
    width: 23px;
    border-radius: 6px;
    opacity: 1;
  }
  .concept-card button { color: #edf3e7; }
  .concept-filters { scrollbar-width: none; }
  .concept-filters::-webkit-scrollbar { display: none; }
  .hero { touch-action: pan-y; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
