/*
 * Hero: the team photo as a framed exhibit, the type-forward identity column,
 * and the floating "current focus" status card.
 */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(0deg, transparent 0%, #000 24%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(0deg, transparent 0%, #000 24%, #000 100%);
  mask-composite: intersect;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 44%;
  filter: saturate(1.03) contrast(1.04) brightness(1.06);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* left frame (also the copy scrim) */
    linear-gradient(
      90deg,
      var(--bg) 0%,
      color-mix(in oklab, var(--bg) 38%, transparent) 22%,
      transparent 44%
    ),
    /* matching right frame so it reads even */
      linear-gradient(270deg, var(--bg) 0%, transparent 15%),
    /* top + bottom frame */ linear-gradient(180deg, var(--bg) 0%, transparent 16%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    /* vignette: keep the centre lit so the team pops off the dark frame */
      radial-gradient(78% 82% at 64% 45%, transparent 40%, oklch(0 0 0 / 0.5) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 26%;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px clamp(32px, 5vw, 72px);
  padding-block: clamp(140px, 20vh, 230px) clamp(44px, 7vh, 82px);
}
/* extra bottom room only when the clip tray is actually pinned to the bottom */
html.motion .hero-inner {
  padding-bottom: clamp(96px, 13vh, 150px);
}

.hero-copy {
  max-width: 660px;
}
.hero-copy .kicker {
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.linkedin-line {
  max-width: 46ch;
  margin-top: 28px;
  color: var(--text-2);
  font-size: 1.075rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 38px;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  padding: 11px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.link-cta span {
  transition: transform 0.25s var(--ease);
  color: var(--accent);
}
.link-cta:hover {
  border-color: var(--line-3);
  background: var(--surface);
}
.link-cta:hover span {
  transform: translateX(4px);
}

.link-cta.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.link-cta.primary span {
  color: var(--on-accent);
}
.link-cta.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

/* ---------- "current focus" status card ---------- */
.current-panel {
  /* in-flow default (mobile + reduced-motion): an inset card aligned to the copy.
     position/z-index keep it above the hero's bottom-fade overlay (.hero::after). */
  position: relative;
  z-index: 2;
  margin-inline: var(--gutter);
  max-width: 320px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  padding: 15px 17px;
  background: color-mix(in oklab, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 16px 44px oklch(0 0 0 / 0.42);
}

.current-panel > img {
  width: 34px;
  height: 34px;
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}
.current-panel p {
  margin: 0 0 3px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.current-panel strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.current-panel span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-2);
}
