/* ============================================
   Promethium Health Partners — Left Layout
   Painting Right · Reduced Opacity
   ============================================ */

:root {
  --blue: #0069b2;
  --blue-deep: #00538e;
  --blue-muted: #6a9dc0;
  --gold: #e3bb00;
  --paper: #fbfaf7;
  --heading: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Hero Shell ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  background-color: var(--paper);
}

/* ---- Background Painting ---- */
.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(0.7) contrast(0.85) brightness(1.12);
  opacity: 0.38;
}

/* ---- Overlay (hidden in opacity version) ---- */
.hero__overlay {
  display: none;
}

/* ---- Content Block (LEFT) ---- */
.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: start;
  margin-left: clamp(72px, 10vw, 190px);
  width: min(46vw, 620px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ---- Wordmark ---- */
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.wordmark__name {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(44px, 4.4vw, 72px);
  color: var(--blue);
  letter-spacing: 0.14em;
  line-height: 1.05;
  text-transform: uppercase;
}

.wordmark__sub {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 52px);
  color: var(--gold);
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
  margin-top: 0.08em;
}

/* ---- Divider ---- */
.wordmark__divider {
  width: clamp(200px, 60%, 380px);
  height: 1px;
  border: none;
  margin: clamp(18px, 2.2vh, 32px) auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 105, 178, 0.25) 20%,
    rgba(255, 210, 0, 0.35) 50%,
    rgba(0, 105, 178, 0.25) 80%,
    transparent 100%
  );
}

/* ---- Tagline ---- */
.wordmark__tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(13px, 1.3vw, 20px);
  color: var(--blue-muted);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---- Investor Login ---- */
.investor-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 54px;
  margin-top: clamp(24px, 3vh, 48px);
  border: 1px solid rgba(0, 83, 142, 0.88);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: default;
  transition: background 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.investor-login:hover {
  background: rgba(255, 255, 255, 0.38);
  border-color: var(--blue);
}

.investor-login__label {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-deep);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  user-select: none;
}

.investor-login__arrow {
  margin-left: 12px;
  font-size: 16px;
  color: var(--blue-deep);
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.investor-login:hover .investor-login__arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* ---- Footer ---- */
.hero__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 16px 20px;
}

.hero__footer p {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--blue-muted);
  letter-spacing: 0.06em;
  opacity: 0.7;
}

/* ============================================
   Mobile — max-width: 900px
   ============================================ */
@media (max-width: 900px) {

  .hero__background img {
    object-position: 85% 0%;
    transform: translateY(-5vh);
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  }

  .hero__content {
    justify-self: center;
    margin-left: 0;
    width: min(88vw, 600px);
  }

  .wordmark__name {
    font-size: clamp(30px, 7.5vw, 48px);
  }

  .wordmark__sub {
    font-size: clamp(22px, 5.5vw, 36px);
  }

  .wordmark__tagline {
    font-size: clamp(10px, 2.6vw, 15px);
    letter-spacing: 0.28em;
  }

  .wordmark__divider {
    width: clamp(140px, 55%, 280px);
    margin: clamp(14px, 2vh, 24px) auto;
  }

  .investor-login {
    width: 240px;
    height: 48px;
    margin-top: clamp(20px, 2.5vh, 40px);
  }

  .investor-login__label {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .investor-login__arrow {
    font-size: 14px;
  }

  .hero__footer {
    padding: 12px 16px;
  }

  .hero__footer p {
    font-size: 10px;
  }
}

/* ---- Very small screens ---- */
@media (max-width: 480px) {
  .hero__content {
    width: min(92vw, 400px);
  }

  .wordmark__name {
    font-size: clamp(26px, 8vw, 38px);
  }

  .wordmark__sub {
    font-size: clamp(19px, 6vw, 28px);
  }

  .wordmark__tagline {
    font-size: clamp(9px, 2.8vw, 12px);
    letter-spacing: 0.22em;
  }

  .investor-login {
    width: 220px;
    height: 46px;
  }

  .investor-login__label {
    font-size: 11px;
  }
}
