* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(218, 158, 64, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 60%, #eef1f5 100%);
  color: #071b3a;
  overflow: hidden;
}

.dashboard {
  width: min(1360px, 94%);
  height: 100vh;
  margin: 0 auto;
  padding: 12px 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.hero {
  margin-bottom: 12px;
}

.firm-logo {
  width: 135px;
  max-width: 55%;
  height: auto;
  margin-bottom: 8px;
}

.gold-line {
  width: 54px;
  height: 2px;
  background: #c8912f;
  margin: 0 auto 10px;
  border-radius: 999px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1;
  letter-spacing: -1.1px;
  font-weight: 500;
  color: #061a3a;
}

.hero p {
  margin: 8px auto 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.25;
  color: #5d6675;
}

.module-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: center;
}

.module-card {
  display: block;
  width: 100%;
  height: min(63vh, 520px);
  background: #ffffff;
  border: 1px solid rgba(7, 27, 58, 0.10);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(7, 27, 58, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(7, 27, 58, 0.14);
}

.module-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer {
  margin-top: 6px;
  font-size: 12px;
  color: #7a8494;
}

/* Smaller laptop height */
@media (max-height: 760px) {
  .firm-logo {
    width: 110px;
    margin-bottom: 6px;
  }

  .gold-line {
    margin-bottom: 8px;
  }

  h1 {
    font-size: clamp(28px, 3vw, 40px);
  }

  .hero p {
    font-size: 14px;
    margin-top: 6px;
  }

  .module-card {
    height: min(61vh, 480px);
  }
}

/* Tablet/mobile */
@media (max-width: 900px) {
  body {
    overflow: auto;
    height: auto;
  }

  .dashboard {
    height: auto;
    min-height: 100vh;
    padding: 28px 0 22px;
  }

  .module-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    width: 100%;
    margin: 24px auto 0;
  }

  .module-card {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}