/* Native-browser enhancements. The original design's compiled CSS is site.css. */
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: 90px; }
[data-site-intro] { display: none; }
html.enhanced [data-site-intro] { display: flex; }
[data-reveal], [data-reveal-stagger]:not([data-reveal-stagger="img"]) > *, [data-reveal-stagger="img"] img { opacity: 1; }
.js-header.is-solid { background: #04060d; border-color: rgb(255 255 255 / .1); }
[data-tech-category][aria-pressed="true"], .filter-active { background: #04060d !important; color: white !important; }
[data-tech-category][aria-pressed="false"] { background: transparent; color: #000; border: 1px solid #e5e5e5; }
[data-tech-category][aria-pressed="false"]:hover { background: #f5f5f5; }
[data-tech-panel] { align-content: start; }
[data-hero] { isolation: isolate; }
[data-hero] video { width: 100%; height: 100%; object-fit: cover; }
/* Interior heroes start below the fixed header; keep their copy inside the first viewport. */
main > section.min-h-\[100svh\] { min-height: calc(100svh - 73px); }
.hero-controls { display: flex; gap: 8px; justify-content: flex-end; }
.hero-controls button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ffffff4d; background: #ffffff1a; color: white; backdrop-filter: blur(4px); }
.form-message:not(:empty) { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.form-message a { text-decoration: underline; }
.search-result { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid #e5e5e5; }
.search-result h2 { font-size: 20px; line-height: 26px; }
.search-result p { color: #797979; font-size: 16px; line-height: 22px; }
:focus-visible { outline: 2px solid #06b22d; outline-offset: 4px; }
@media (max-width: 639px) {
  [data-tech-panel] { gap: 16px; width: 100%; }
  [data-tech-panel] li > div { width: min(100%, 132px); height: auto; aspect-ratio: 1; padding: 18px; }
  [data-tech-panel] li { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scrollbar-gutter: stable; scroll-behavior: auto; }
  html.enhanced [data-site-intro] { display: none; }
}
