/* ==========================================================================
   SECTION 1 — HERO
   Dark executive split layout. Content left, framed portrait right.
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(76px + var(--space-7));
  padding-bottom: var(--space-8);
  overflow: hidden;
}

/* Atmosphere: faint gold glow + subtle architectural grid, low opacity */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(197, 157, 95, 0.16), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

/* ---- Content ---------------------------------------------------------- */
.hero__title {
  margin-top: var(--space-5);
  font-size: var(--fs-h1);
  letter-spacing: var(--tracking-tight);
  max-width: 16ch;
}
.hero__title .accent { color: var(--gold-500); }

.hero__subtitle {
  margin-top: var(--space-5);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--dark-fg-muted);
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

/* ---- Trust indicators ------------------------------------------------- */
.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--dark-border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.trust-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(197, 157, 95, 0.10);
  color: var(--gold-400);
  border: 1px solid rgba(197, 157, 95, 0.2);
}
.trust-item__icon svg { width: 20px; height: 20px; }
.trust-item__label {
  font-family: var(--font-alt);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm);
  line-height: 1.25;
  color: var(--light-100);
}

/* ---- Portrait --------------------------------------------------------- */
.hero__media { position: relative; justify-self: center; }
.hero__portrait {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--navy-600), var(--navy-700));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder shown until a real portrait is dropped in */
.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--slate-400);
  text-align: center;
  padding: var(--space-6);
}
.portrait-placeholder svg { width: 48px; height: 48px; opacity: 0.5; }
.portrait-placeholder span { font-size: var(--fs-body-sm); letter-spacing: 0.02em; }

/* Gold corner accent + floating credential card */
.hero__media::before {
  content: "";
  position: absolute;
  top: -14px; right: -14px;
  width: 88px; height: 88px;
  border-top: 2px solid var(--gold-500);
  border-right: 2px solid var(--gold-500);
  border-top-right-radius: var(--radius-lg);
}
.hero__cred {
  position: absolute;
  left: -24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--light-100);
  color: var(--navy-900);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  box-shadow: var(--elev-3);
}
.hero__cred-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-500);
}
.hero__cred-mark svg { width: 20px; height: 20px; }
.hero__cred strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.1; }
.hero__cred small { color: var(--slate-500); font-size: 0.75rem; }

/* ---- Scroll cue ------------------------------------------------------- */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--slate-400);
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.hero__scroll svg { width: 18px; height: 18px; animation: heroScrollBob 1.8s var(--ease-in-out) infinite; }
@keyframes heroScrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); }
  .hero__trust { grid-template-columns: repeat(4, auto); justify-content: start; }
  .hero__media { justify-self: end; }
}
@media (max-width: 879px) {
  .hero { text-align: left; }
  .hero__media { order: -1; }
  .hero__cred { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll svg { animation: none; }
}