/* =========================================================
   dRSTi HERO
========================================================= */
.drstiHero {
  position: relative;
  box-sizing: border-box;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: clamp(64px, 8vw, 120px) 0 0px;

  background: linear-gradient(180deg, #16295c 0%, #0d1b3e 55%, #0a142f 100%)
    #0d1b3e;

  overflow: hidden;
}
.drstiHero__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.drstiHero__wordmarkIcon {
  width: 33.41px;
  height: 33.41px;
  color: #f07b2f;
  flex-shrink: 0;
}
/* faint grid overlay */
.drstiHero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;

  -webkit-mask-image: radial-gradient(70% 70%, #000 10%, transparent 90%);
  mask-image: radial-gradient(70% 70%, #000 10%, transparent 90%);
}

.drstiHero__inner {
  position: relative;
  z-index: 1;

  box-sizing: border-box;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 56px clamp(32px, 4.8vw, 80px);

  display: grid;
  grid-template-columns: minmax(0, 663px) minmax(0, 0.85fr);
  @media (min-width: 769px) and (max-width: 1024px) {
    grid-template-columns: minmax(0, 425px) minmax(0, 0.85fr);
  }
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

/* =========================================================
   COPY COLUMN
========================================================= */
.drstiHero__copy {
  min-width: 0;
}

.drstiHero__badge {
  margin-bottom: 28px;
}

/* =========================================================
   WORDMARK
========================================================= */
.drstiHero__wordmark {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;

  color: #ffffff;
  margin-bottom: 6px;
}

/* =========================================================
   HEADING
========================================================= */
.drstiHero__heading {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 18ch;

  color: #ffffff;
  margin: 0;
}

.drstiHero__headingAccent {
  color: #f07b2f;
}

/* =========================================================
   STAGE LINE
========================================================= */
.drstiHero__stageLine {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff9;
  margin: 22px 0 25px;
  font-size: 0.78rem;
}

/* =========================================================
   INTRO
========================================================= */
.drstiHero__intro {
  font-family: var(--font-sans);
  color: #ffffffdb;
  max-width: 56ch;
  margin: 0 0 60px;
  font-size: 17.612px;
  line-height: 1.65;
}

.drstiHero__intro p {
  margin: 0 0 12px;
}

.drstiHero__intro p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   ACTIONS
========================================================= */
.drstiHero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;

  margin-top: 40px;
}

.drstiHero__actions > astro-slot {
  display: contents;
}

.drstiHero__actions .secondary-btn {
  margin-bottom: 2rem;
}
/* =========================================================
   PANEL IMAGE
========================================================= */
.drstiHero__panel {
  min-width: 0;
  justify-self: end;
  width: 100%;
}

.drstiHero__panel img {
  display: block;
  width: 117% !important;
  height: auto;

  @media (max-width: 991px) {
    width: 100% !important;
  }
}

/* =========================================================
   TABLET
========================================================= */
@media (min-width:768px) and (max-width: 1024px) {
  .drstiHero__inner {
    gap: 44px;
  }

  .drstiHero__panel {
    justify-self: stretch;
    max-width: 560px;
  }
  .drstiHero__actions .secondary-btn {
    margin-bottom: 2rem !important;
  }
}
/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 810px) {
  .drstiHero {
    padding: 60px 0 30px;
  }

  .drstiHero__inner {
    grid-template-columns: 1fr;   /* <-- Required */
    gap: 36px;
    padding: 55px 30px;
  }

  .drstiHero__copy {
    order: 1;
  }

  .drstiHero__panel {
    order: 2;
    justify-self: center;
    width: 100%;
    max-width: 560px;
  }

  .drstiHero__panel img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
  }

  .drstiHero__stageLine {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .drstiHero__intro {
    font-size: 0.94rem;
    margin-top: 24px;
  }

  .drstiHero__actions {
    gap: 25px;
    margin-top: 32px;
  }
}