:root {
  --midnight: #081423;
  --midnight-deep: #050d18;
  --navy: #10243a;
  --ivory: #f2ece4;
  --sand: #c5baaa;
  --gold: #aa9360;
  --line: rgba(203, 186, 158, 0.18);
  --line-strong: rgba(203, 186, 158, 0.34);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top right, rgba(170, 147, 96, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(8, 20, 35, 0.96), rgba(5, 13, 24, 0.98)),
    #07111d;
  color: var(--ivory);
  font-family: "Outfit", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.investor-shell {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.investor-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 20, 35, 0.92), rgba(8, 20, 35, 0.55)),
    url("assets/hero-coast-hq.jpg") center/cover no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

.investor-header,
.investor-main,
.investor-auth-shell {
  position: relative;
  z-index: 1;
}

.investor-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.investor-logo {
  width: min(164px, 100%);
  display: block;
}

.investor-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.investor-link {
  padding: 12px 18px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.investor-link:hover,
.investor-link:focus-visible {
  border-color: var(--line-strong);
  color: var(--ivory);
}

.investor-link-strong {
  background: rgba(170, 147, 96, 0.12);
}

.investor-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.investor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.investor-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 12px;
}

.investor-hero h1,
.investor-auth-card h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(54px, 9vw, 92px);
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.investor-intro,
.investor-auth-copy,
.investor-note p,
.investor-card p,
.investor-panel-list {
  color: var(--sand);
  font-size: 18px;
  line-height: 1.7;
}

.investor-intro {
  max-width: 38rem;
  margin: 20px 0 0;
}

.investor-hero-panel,
.investor-note,
.investor-auth-card {
  background: linear-gradient(180deg, rgba(11, 23, 39, 0.92), rgba(7, 16, 28, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.investor-hero-panel {
  padding: 28px;
}

.investor-panel-label {
  margin-bottom: 14px;
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.investor-panel-list {
  margin: 0;
  padding-left: 18px;
}

.investor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.investor-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.investor-card-opportunities {
  background: url("assets/solutions-shore-hq.jpg") center/cover no-repeat;
}

.investor-card-mandates {
  background: url("assets/focus-city-hq.jpg") center/cover no-repeat;
}

.investor-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 35, 0.22), rgba(8, 20, 35, 0.9));
}

.investor-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.investor-card-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.investor-card h2,
.investor-note h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.investor-card p,
.investor-note p {
  margin: 0;
}

.investor-card-link {
  width: fit-content;
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 20, 35, 0.28);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.investor-card-link:hover,
.investor-card-link:focus-visible {
  background: rgba(170, 147, 96, 0.16);
}

.investor-lower {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.investor-note {
  padding: 30px;
}

.investor-note a,
.investor-help a {
  color: var(--gold);
  text-decoration: underline;
}

.investor-auth-shell {
  min-height: calc(100dvh - 108px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 40px 0 72px;
}

.investor-auth-card {
  width: min(520px, 100%);
  padding: 42px;
}

.investor-auth-copy {
  margin: 18px 0 0;
}

.investor-status {
  min-height: 24px;
  margin: 24px 0 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

.investor-status[data-state="error"] {
  color: #f1a3a3;
}

.investor-auth-form {
  display: grid;
  gap: 12px;
}

.investor-auth-form label {
  color: var(--sand);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.investor-auth-form input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ivory);
  padding: 0 16px;
  font: inherit;
}

.investor-auth-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.investor-submit {
  margin-top: 10px;
  height: 54px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(170, 147, 96, 0.18), rgba(170, 147, 96, 0.08));
  color: var(--ivory);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}

.investor-submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.investor-help {
  margin: 20px 0 0;
  color: var(--sand);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .investor-hero,
  .investor-grid,
  .investor-lower {
    grid-template-columns: 1fr;
  }

  .investor-main {
    padding-top: 28px;
  }
}

@media (max-width: 640px) {
  .investor-header {
    width: min(100%, calc(100% - 24px));
    padding-top: 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .investor-main,
  .investor-auth-shell {
    width: min(100%, calc(100% - 24px));
  }

  .investor-auth-card,
  .investor-hero-panel,
  .investor-note,
  .investor-card-body {
    padding: 22px;
  }

  .investor-card {
    min-height: 320px;
  }

  .investor-card h2,
  .investor-note h2 {
    font-size: 32px;
  }

  .investor-intro,
  .investor-auth-copy,
  .investor-note p,
  .investor-card p,
  .investor-panel-list {
    font-size: 16px;
  }
}
