.hero {
  position: relative;
  height: clamp(620px, 54vw, 850px);
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #06121f;
  color: #fff;
}

.hero::after { display: none; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 10, 21, .82) 0%, rgba(1, 10, 21, .48) 44%, rgba(1, 10, 21, .08) 80%);
}

.hero-slide-tower { background-image: url('assets/glass-tower.webp'); }
.hero-slide-boardroom { background-image: url('assets/boardroom.webp'); }
.hero-slide-boardroom::before {
  background: linear-gradient(90deg, rgba(0, 6, 17, .76) 0%, rgba(0, 6, 17, .37) 49%, rgba(0, 6, 17, .04) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(90%, 1640px);
  margin: 0 auto;
  padding: 70px 0 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 34px;
  color: #59d9ec;
  font-size: clamp(.82rem, 1.25vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero-eyebrow:not(.hero-eyebrow-rule)::before {
  content: '';
  flex: 0 0 52px;
  height: 2px;
  background: currentColor;
}

.hero-eyebrow-rule {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 48px;
}

.hero-eyebrow-rule::after {
  content: '';
  display: block;
  width: min(100%, 800px);
  height: 1px;
  margin-top: 23px;
  background: linear-gradient(90deg, #59d9ec, transparent);
}

.hero-headline {
  max-width: 1280px;
  margin: 0;
  color: #f5fbff;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(3.3rem, 5.2vw, 6.7rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero-headline span { color: #5bd8ec; }
.hero-slide-boardroom .hero-headline { font-size: clamp(3.3rem, 5vw, 6.5rem); }
.hero-slide-clarity .hero-headline { font-size: clamp(3rem, 4.45vw, 5.75rem); }

.hero-support {
  max-width: 1060px;
  margin: 38px 0 0;
  color: #d8e7ef;
  font-size: clamp(1.1rem, 1.75vw, 2rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.03em;
}

.hero-descriptor {
  position: absolute;
  z-index: 2;
  top: 10%;
  right: max(5%, calc((100% - 1640px) / 2));
  margin: 0;
  color: #d9e9ee;
  font-size: clamp(.7rem, 1.05vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .15em;
  text-align: right;
  text-transform: uppercase;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 32px;
  pointer-events: none;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #e2f2f3;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.signal-dot {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ed8e7;
  box-shadow: 0 0 0 5px #5ed8e721;
}

.hero-location-divider { opacity: .45; }

.hero-controls {
  position: absolute;
  z-index: 3;
  right: max(5%, calc((100% - 1640px) / 2));
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-playback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  height: 43px;
  border: 1px solid #b1dce180;
  background: #061b2bbd;
  color: #f3fbfc;
  transition: background .2s, border-color .2s;
}

.hero-arrow { font-size: 1.25rem; }
.hero-arrow:hover,
.hero-playback:hover { background: #155469; border-color: #a9f1f3; }
.hero-playback { gap: 7px; padding: 0 11px; font-size: .72rem; font-weight: 700; }
.hero-playback [aria-hidden] { font-size: .9rem; }
.hero-dots { display: flex; align-items: center; gap: 8px; padding: 0 3px; }
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #d6f2f6;
  border-radius: 50%;
  background: transparent;
  transition: background .2s, transform .2s;
}
.hero-dot:hover { background: #d6f2f6; }
.hero-dot.is-active { background: #5bd8ec; border-color: #5bd8ec; transform: scale(1.25); }

@media (max-width: 780px) {
  .hero { height: clamp(610px, 85svh, 760px); min-height: 610px; }
  .hero-slide { background-position: 59% center; }
  .hero-slide-boardroom { background-position: 65% center; }
  .hero-slide::before,
  .hero-slide-boardroom::before { background: linear-gradient(90deg, #010d1ce8 0%, #010d1cb3 54%, #010d1c4d 100%); }
  .hero-copy { width: calc(100% - 48px); padding: 85px 0 145px; }
  .hero-eyebrow { gap: 12px; margin-bottom: 26px; font-size: .78rem; letter-spacing: .15em; }
  .hero-eyebrow:not(.hero-eyebrow-rule)::before { flex-basis: 28px; }
  .hero-eyebrow-rule { margin-bottom: 38px; }
  .hero-eyebrow-rule::after { margin-top: 16px; }
  .hero-headline,
  .hero-slide-boardroom .hero-headline { font-size: clamp(2.7rem, 8.2vw, 4.5rem); }
  .hero-slide-clarity .hero-headline { font-size: clamp(2.4rem, 7.5vw, 4rem); }
  .hero-support { max-width: 580px; margin-top: 26px; font-size: clamp(1rem, 2.3vw, 1.35rem); }
  .hero-descriptor { top: 29px; right: 24px; max-width: 220px; font-size: .66rem; line-height: 1.5; }
  .hero-bottom { position: absolute; bottom: 89px; }
  .hero-location { max-width: 80%; font-size: .62rem; line-height: 1.4; }
  .hero-controls { left: 24px; right: auto; bottom: 22px; }
}

@media (max-width: 520px) {
  .hero { height: clamp(610px, 86svh, 720px); }
  .hero-copy { width: calc(100% - 40px); padding: 94px 0 150px; }
  .hero-eyebrow { max-width: 300px; font-size: .7rem; line-height: 1.5; }
  .hero-headline,
  .hero-slide-boardroom .hero-headline { font-size: clamp(2.48rem, 10.5vw, 3.35rem); line-height: 1.12; }
  .hero-slide-clarity .hero-headline { font-size: clamp(2.3rem, 9.1vw, 3rem); line-height: 1.15; }
  .hero-support { font-size: 1rem; line-height: 1.4; }
  .hero-descriptor { top: 24px; right: 20px; max-width: 170px; font-size: .57rem; }
  .hero-bottom { left: 0; right: 0; bottom: 86px; padding: 0; }
  .hero-location { max-width: 100%; font-size: .6rem; }
  .hero-location-name, .hero-location-divider { display: none; }
  .hero-controls { left: 20px; bottom: 18px; gap: 12px; }
  .hero-arrow, .hero-playback { height: 42px; min-width: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-dot { transition: none; }
}
