.identity-section {
  position: relative;
  height: 86vh;
  min-height: 620px;
  overflow: hidden;
  background: #332d26;
  color: white;
}

.identity-section__background {
  position: absolute;
  inset: -4%;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  transform: scale(1.04);

  animation:
    ambientDrift 18s ease-in-out infinite alternate;

  transition:
    filter 1000ms ease,
    opacity 1000ms ease;
}

.identity-section__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 13, 11, calc(var(--hero-overlay) + 0.18)),
      rgba(15, 13, 11, calc(var(--hero-overlay) - 0.08)) 50%,
      rgba(15, 13, 11, calc(var(--hero-overlay) + 0.12))
    ),
    linear-gradient(0deg, rgba(16, 14, 12, 0.48), transparent 38%);
}

.identity-section__content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.35fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: stretch;
  padding: 90px 0 72px;
}

.identity-card {
  position: relative;
  align-self: end;
  max-width: 560px;
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.identity-card--top-left {
  align-self: start;
}

.identity-card--center-left {
  align-self: center;
}

.identity-card__portrait {
  width: 170px;
  aspect-ratio: 1;
  margin: 34px 0 24px;

  border-radius: 50%;
  overflow: hidden;

  border: 3px solid rgba(255, 255, 255, 0.55);

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.22);
}

.identity-card__portrait img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

.identity-card__eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
}

.identity-card h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.4rem, 5vw, 6.6rem);
  line-height: 0.88;
  font-weight: 600;
}

.identity-card blockquote {
  margin: 22px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.2;
  color: rgba(255,255,255,0.9);
}

.identity-card__dates {
  margin: 0;
  display: flex;
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
}

.photo-wall {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  align-self: stretch;
  min-height: 620px;
}

.photo-wall::before,
.photo-wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}

.photo-wall::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(27,23,19,0.9), transparent);
}

.photo-wall::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(27,23,19,0.92), transparent);
}

.photo-wall__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  animation: photoWallDrift 20s linear infinite alternate;
}

.photo-wall:hover .photo-wall__track {
  animation-play-state: paused;
}

.photo-tile {
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #b1a082, #635949);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.photo-tile:nth-child(3n + 1) {
  min-height: 240px;
}

.photo-tile:nth-child(4n + 2) {
  min-height: 210px;
}

.photo-tile__label {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 16px;
  background: linear-gradient(to top, rgba(8,8,7,0.88), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: 180ms ease;
  font-size: 0.85rem;
}

.photo-tile:hover .photo-tile__label {
  opacity: 1;
  transform: none;
}

.photo-tile__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 500ms ease,
    filter 300ms ease;
}

.photo-tile:hover .photo-tile__image {
  transform: scale(1.035);
  filter: brightness(0.62);
}

.identity-section__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.68);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-section__scroll-line {
  width: 54px;
  height: 1px;
  background: currentColor;
}

@media (max-width: 980px) {
  .identity-section,
  .identity-section__content {
    min-height: 100vh;
  }

  .identity-section__content {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .photo-wall {
    min-height: 520px;
  }

  .identity-card {
  position: relative;
    max-width: 100%;
  }
}

.identity-card__constellation{position:absolute;top:18px;left:20px;border:0;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.68);cursor:pointer;display:inline-flex;align-items:center;gap:7px;font-size:.72rem;transition:background .18s ease,color .18s ease,transform .18s ease}.identity-card__constellation:hover{color:white;background:rgba(255,255,255,.11);transform:translateY(-1px)}.identity-card__portrait{margin-top:34px}@media(max-width:980px){.identity-section{height:100vh;min-height:680px}}
