/* Homepage hero film. The poster is the page background, so the headline never waits on video. */
#hero .hero-img {
  background-image: url('/assets/film/storm-wide-poster.jpg');
  filter: brightness(0.85) saturate(1.05);
}
@media (max-width:700px) and (orientation:portrait) {
  #hero .hero-img { background-image: url('/assets/film/storm-tall-poster.jpg'); background-position: center top; }
}

.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  opacity: 0; transition: opacity .8s ease;
  pointer-events: none;
}
#hero.film-on .hero-video { opacity: 1; }
@media (max-width:700px) and (orientation:portrait) {
  .hero-video { object-position: center top; }
}

/* Controls: bottom right, above the overlays */
.film-ctrl {
  position: absolute; right: 28px; bottom: 26px; z-index: 12;
  display: flex; align-items: center; gap: 8px;
}
.fc-btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 16px;
  font: 600 .72rem/1 'DM Sans', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white, #f0f4fa);
  background: rgba(3,8,16,.62); border: 1px solid rgba(75,168,255,.35); border-radius: 2px;
  cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s;
}
.fc-btn:hover { border-color: var(--bolt, #4ba8ff); background: rgba(9,20,34,.85); }
.fc-btn:focus-visible { outline: 2px solid var(--white, #f0f4fa); outline-offset: 3px; }
.fc-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.fc-icon { width: 44px; padding: 0; justify-content: center; }
.fc-start { background: var(--bolt, #4ba8ff); color: var(--ink, #030810); border-color: var(--bolt, #4ba8ff); box-shadow: 0 0 26px rgba(75,168,255,.38); }
.fc-start:hover { background: #6fc0ff; }
.fc-start small { display: block; margin-top: 4px; font-size: .6rem; font-weight: 500; letter-spacing: .08em; opacity: .75; }
.fc-start span { text-align: left; }
.fc-sound[aria-pressed="false"] { border-color: var(--bolt, #4ba8ff); box-shadow: 0 0 18px rgba(75,168,255,.3); }
.fc-sound[aria-pressed="true"] .fc-wave { opacity: 1; }
.fc-sound[aria-pressed="false"] .fc-wave { opacity: .35; }

/* Which buttons show depends on state */
.film-ctrl .fc-sound, .film-ctrl .fc-play, .film-ctrl [data-act="replay"] { display: none; }
#hero.film-live .film-ctrl .fc-sound,
#hero.film-live .film-ctrl .fc-play,
#hero.film-live .film-ctrl [data-act="replay"] { display: inline-flex; }
#hero.film-live .film-ctrl .fc-start { display: none; }
#hero:not(.film-ready) .film-ctrl { display: none; }
.fc-play .i-play { display: none; }
#hero.film-paused .fc-play .i-play { display: block; }
#hero.film-paused .fc-play .i-pause { display: none; }

/* Keep the controls clear of the scroll cue and headline on small screens */
@media (max-width:700px) {
  .film-ctrl { right: 16px; bottom: 18px; }
  #hero .scroll-cue { display: none; }
}

/* Logo first, then a smaller, heavier headline */
.hero-logo {
  display: block; height: 176px; width: auto; margin: 0 0 18px -6px;
  filter: drop-shadow(0 0 22px rgba(75,168,255,.55));
}
#hero .hero-h1 {
  position: relative;
  font-family: 'Teko', 'Bebas Neue', Impact, sans-serif;
  font-weight: 700; font-size: 4.4rem; letter-spacing: .06em; line-height: .95;
  text-transform: uppercase; margin-bottom: 30px;
  /* storm look: white-to-blue letters with a glow */
  background: linear-gradient(180deg, #ffffff 0%, #d6eaff 42%, #4ba8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(75,168,255,.55));
}
#hero .hero-h1 span { display: inline; -webkit-text-fill-color: var(--bolt, #4ba8ff); color: var(--bolt, #4ba8ff); text-shadow: none; }
/* lightning slash under the headline */
#hero .hero-h1::after, .sec-title::after {
  content: ''; display: block; height: 3px; width: 140px; margin-top: 12px;
  background: linear-gradient(90deg, #4ba8ff, rgba(75,168,255,0));
  clip-path: polygon(0 0, 70% 0, 64% 100%, 100% 100%, 0 100%);
  box-shadow: 0 0 12px #4ba8ff;
}
.brand-icon { border: 0 !important; background: none; width: 30px !important; height: 36px !important; }
.brand-icon img { object-fit: contain !important; object-position: center !important; filter: drop-shadow(0 0 6px rgba(75,168,255,.5)) !important; }
/* "From" prices, Get a Quote buttons, quote checkboxes */
.tp-from { font: 600 .7rem/1 'DM Sans', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bolt, #4ba8ff); vertical-align: middle; margin-right: 4px; }
.btn-quote {
  display: inline-block; margin-top: 16px; min-height: 44px; line-height: 44px; padding: 0 22px;
  font: 600 .72rem/44px 'DM Sans', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--ink, #030810); background: var(--bolt, #4ba8ff); border-radius: 2px; box-shadow: 0 0 20px rgba(75,168,255,.3);
  transition: background .2s, transform .15s;
}
.btn-quote:hover { background: #6fc0ff; transform: translateY(-1px); }
.btn-quote:focus-visible { outline: 2px solid var(--white, #f0f4fa); outline-offset: 3px; }
.quote-pick { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.quote-pick legend { font-size: .78rem; letter-spacing: .06em; color: var(--fog); padding: 0; margin-bottom: 10px; }
.quote-pick legend span { opacity: .7; }
.quote-pick label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 8px 8px 0; padding: 0 14px; font-size: .85rem; color: var(--white, #f0f4fa); border: 1px solid rgba(75,168,255,.3); border-radius: 2px; cursor: pointer; background: rgba(9,20,34,.6); }
.quote-pick label:hover { border-color: var(--bolt, #4ba8ff); }
.quote-pick input { width: 18px; height: 18px; accent-color: #4ba8ff; margin: 0; }
.quote-pick label:has(input:checked) { border-color: var(--bolt, #4ba8ff); background: rgba(75,168,255,.16); }
/* Beat the form's own label/input styles so the boxes stay small and the words sit next to them */
#cForm .quote-pick label { display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; width: auto; margin: 0 8px 8px 0; text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 400; color: var(--white, #f0f4fa); }
#cForm .quote-pick input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; flex: none; padding: 0; margin: 0; appearance: auto; -webkit-appearance: checkbox; background: none; }
@media (max-width:700px) {
  .hero-logo { height: 112px; margin-bottom: 12px; }
  #hero .hero-h1 { font-size: 3.2rem; text-wrap: balance; }
}
