html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 2000; padding: 12px; background: #111; color: #14b8d4; }
.skip-link:focus { top: 12px; }
.navbar .navbar-brand img { object-fit: contain; width: 400px; height: 166px; }
.navbar.is-scrolled { min-height: 66px; background: #000; }
.navbar.is-scrolled .navbar-brand img { width: 160px; height: 66px; }
.navbar.is-scrolled .nav > li > a { margin-top: 0; padding: 24px 30px; }
.navbar.is-scrolled .navbar-nav { margin-left: 30px; }
.reel-controls { top: auto; bottom: 0; display: flex; align-items: center; justify-content: space-between; }
.reel-controls button { border: 0; border-radius: 4px; background: #1119; color: #fff; padding: 20px; }
.gallery-button { display: block; padding: 0; border: 0; width: 100%; background: none; text-align: inherit; }
.gallery-button img { width: 100%; }
.project-dialog { color: #ddd; border: 1px solid #333; background: #171717; width: min(900px, 95vw); max-height: 90vh; padding: 0; border-radius: 5px; }
.project-dialog::backdrop { background: #000c; }
.project-dialog-content { position: relative; padding: 24px; }
.project-dialog h2 { color: #18b7d4; }
.project-dialog img { width: 100%; }
.dialog-close { position: absolute; top: 26px; right: 30px; background: #111c; color: #fff; border: 0; font-size: 32px; line-height: 1; padding: 4px 10px; }
.project-links { display: flex; gap: 20px; margin-bottom: 20px; }
.portfolio-list { display: flex; flex-wrap: wrap; }
.portfolio-row { display: flex; margin-top: 12px; }
.portfolio-row > div { min-width: 0; }
.content-page { min-height: 70vh; }
.content-page img { max-width: 100%; height: auto; }
.pigmento-site iframe { max-width: 100%; }
.pigmento-site :focus-visible { outline: 2px solid #14b8d4; outline-offset: 4px; }
.contact-trap { position: absolute; left: -10000px; }
@media (min-width:768px) and (max-width:1199px) {
  .navbar .navbar-brand img { width: 280px; height: 116px; }
  .navbar-default { min-height: 116px; }
  .navbar-default .nav > li > a { padding: 18px 12px; margin-top: 62px; }
  .navbar-default .navbar-nav { margin-left: 15px; }
  .header-margin-top { margin-top: 116px; }
}
@media (max-width:767px) {
  html { scroll-padding-top: 70px; }
  .navbar .navbar-brand img, .navbar.is-scrolled .navbar-brand img { width: 145px; height: 60px; }
  .navbar-default, .navbar.is-scrolled { min-height: 60px; background: #000; }
  .navbar-brand { height: 60px; }
  .navbar-toggle { margin-top: 13px; }
  .navbar-default .nav > li > a, .navbar.is-scrolled .nav > li > a { margin-top: 0; padding: 14px 20px; }
  .navbar.is-scrolled .navbar-nav { margin-left: -15px; }
  .header-margin-top { margin-top: 60px; }
  .reel-controls button { padding: 10px 14px; }
  .portfolio-row { width: 100%; }
  .portfolio-row > div { width: 50%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
