/* SAERO Studio | Fast Home visual banner, light/dark responsive assets.
   Dark mode retains the original studio photo.
   Light mode uses the user's new bright office photo, AVIF-optimized for fast loading.
*/
#home.hero,
html[data-theme="dark"] #home.hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: clamp(630px, 74vh, 830px);
  background-image:
    linear-gradient(90deg,
      rgba(5, 9, 13, .91) 0%,
      rgba(5, 9, 13, .79) 24%,
      rgba(5, 9, 13, .58) 42%,
      rgba(5, 9, 13, .18) 70%,
      rgba(5, 9, 13, .02) 100%),
    url("images/saerostudio-bg-optimized.webp");
  background-color: #10151a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* No extra grid/pattern overlay: show the photograph in full color. */
#home.hero::before,
html[data-theme="dark"] #home.hero::before { display: none; }
#home.hero > .container,
html[data-theme="dark"] #home.hero > .container {
  display: block;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 94px;
}
#home.hero .hero-copy,
html[data-theme="dark"] #home.hero .hero-copy {
  width: min(100%, 710px);
  max-width: 710px;
  position: relative;
  z-index: 1;
}
/* The former sample-device graphic would cover the real office photo. */
#home.hero .stage,
html[data-theme="dark"] #home.hero .stage { display: none; }
#home.hero h1,
html[data-theme="dark"] #home.hero h1 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(0,0,0,.38);
}
#home.hero h1 .strong,
html[data-theme="dark"] #home.hero h1 .strong { color: #ead09f; }
#home.hero .lead,
html[data-theme="dark"] #home.hero .lead { color: #eeeef0; text-shadow: 0 1px 9px rgba(0,0,0,.4); }
#home.hero .eyebrow,
html[data-theme="dark"] #home.hero .eyebrow { color: #e2bf89; }
#home.hero .pill,
html[data-theme="dark"] #home.hero .pill {
  color: #ead09f;
  background: rgba(8,11,14,.45);
  border-color: rgba(229,194,142,.48);
}
#home.hero .pill .dot,
html[data-theme="dark"] #home.hero .pill .dot { background: #dcb37a; }
#home.hero .hero-foot,
html[data-theme="dark"] #home.hero .hero-foot { border-top-color: rgba(255,255,255,.3); }
#home.hero .hero-foot strong,
html[data-theme="dark"] #home.hero .hero-foot strong { color: #fff; }
#home.hero .hero-foot small,
html[data-theme="dark"] #home.hero .hero-foot small { color: #e0e0e0; }
#home.hero .hero-foot div:not(:last-child)::after,
html[data-theme="dark"] #home.hero .hero-foot div:not(:last-child)::after { background: rgba(255,255,255,.23); }
#home.hero .hero-actions .btn.outline,
html[data-theme="dark"] #home.hero .hero-actions .btn.outline {
  background: rgba(7,11,15,.36);
  border-color: rgba(244,237,226,.7);
  color: #fff;
}
#home.hero .hero-actions .btn.outline:hover,
html[data-theme="dark"] #home.hero .hero-actions .btn.outline:hover {
  border-color: #e9c58a;
  color: #fff;
}
@media(max-width:820px) {
  #home.hero,
  html[data-theme="dark"] #home.hero {
    min-height: 680px;
    background-image:
      linear-gradient(90deg, rgba(5,9,13,.91) 0%, rgba(5,9,13,.76) 52%, rgba(5,9,13,.42) 100%),
      url("images/saerostudio-bg-mobile.webp");
    background-position: 60% center;
  }
  #home.hero > .container,
  html[data-theme="dark"] #home.hero > .container {
    padding-top: 78px;
    padding-bottom: 72px;
  }
}
@media(max-width:550px) {
  #home.hero,
  html[data-theme="dark"] #home.hero {
    min-height: 700px;
    background-image:
      linear-gradient(180deg, rgba(5,9,13,.89) 0%, rgba(5,9,13,.78) 57%, rgba(5,9,13,.59) 100%),
      url("images/saerostudio-bg-mobile.webp");
    background-position: 63% center;
  }
  #home.hero > .container,
  html[data-theme="dark"] #home.hero > .container {
    padding-top: 64px;
    padding-bottom: 60px;
  }
  #home.hero h1,
  html[data-theme="dark"] #home.hero h1 { font-size: clamp(34px, 9vw, 43px); }
  #home.hero .lead,
  html[data-theme="dark"] #home.hero .lead { font-size: 14px; }
  #home.hero .hero-foot,
  html[data-theme="dark"] #home.hero .hero-foot { gap: 14px; }
  #home.hero .hero-foot div,
  html[data-theme="dark"] #home.hero .hero-foot div { min-width: 92px; }
}


/* New user-selected bright studio image: LIGHT MODE ONLY. */
html:not([data-theme="dark"]) #home.hero {
  background-color: #E9E2D7;
  background-image:
    linear-gradient(90deg,
      rgba(12, 18, 24, .78) 0%,
      rgba(12, 18, 24, .68) 22%,
      rgba(12, 18, 24, .45) 43%,
      rgba(12, 18, 24, .10) 70%,
      rgba(12, 18, 24, .00) 100%),
    url("images/saero-hero-light-desktop.avif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Preserve high contrast for the title, intro, and CTA on the bright office photo. */
html:not([data-theme="dark"]) #home.hero h1 {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,.54);
}
html:not([data-theme="dark"]) #home.hero .lead {
  color: #F6F2ED;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
@media (max-width:820px) {
  html:not([data-theme="dark"]) #home.hero {
    background-image:
      linear-gradient(90deg,
        rgba(10, 17, 24, .84) 0%,
        rgba(10, 17, 24, .68) 54%,
        rgba(10, 17, 24, .24) 100%),
      url("images/saero-hero-light-mobile.avif");
    background-position: 54% center;
  }
}
@media (max-width:550px) {
  html:not([data-theme="dark"]) #home.hero {
    background-image:
      linear-gradient(180deg,
        rgba(10, 17, 24, .83) 0%,
        rgba(10, 17, 24, .65) 58%,
        rgba(10, 17, 24, .50) 100%),
      url("images/saero-hero-light-mobile.avif");
    background-position: 57% center;
  }
}
