:root {
  --ink-900: #0b0305;
  --ink-850: #12060a;
  --ink-800: #1b0a10;
  --ink-700: #2d121a;
  --brand-red: #d31618;
  --bone: #f8f2ed;
  --bone-muted: rgba(248, 242, 237, 0.72);
  --bone-soft: rgba(248, 242, 237, 0.12);
  --panel: linear-gradient(145deg, rgba(45, 18, 26, 0.84), rgba(18, 6, 10, 0.92));
  --panel-border: rgba(248, 242, 237, 0.16);
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.46);
  --max-page: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink-900);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--bone);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(211, 22, 24, 0.18), transparent 28rem),
    linear-gradient(135deg, var(--ink-900), var(--ink-850) 42%, var(--ink-900));
}

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

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

.app-shell {
  min-height: 100vh;
}

.people-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 28px clamp(18px, 4vw, 64px) 36px;
  background: linear-gradient(145deg, var(--ink-900), var(--ink-850) 48%, var(--ink-900));
}

.people-hero::before {
  position: absolute;
  inset: -16%;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 28%, rgba(211, 22, 24, 0.58), transparent 25rem),
    radial-gradient(circle at 78% 20%, rgba(255, 225, 214, 0.28), transparent 22rem),
    radial-gradient(circle at 70% 82%, rgba(211, 22, 24, 0.42), transparent 32rem);
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0.95;
}

.hero-media,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  overflow: hidden;
  background: var(--ink-900);
}

.hero-media__video,
.hero-media__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.24) contrast(1.12) brightness(0.96);
  transform: scaleX(-1) scale(1.035);
}

.hero-media__video {
  display: none;
  z-index: 2;
}

.hero-media__image {
  z-index: 1;
}

.people-hero.has-hero-video .hero-media__video {
  display: block;
}

.people-hero.has-hero-video .hero-media__image {
  display: none;
}

.hero-vignette {
  z-index: 2;
  background:
    radial-gradient(circle at 72% 34%, rgba(211, 22, 24, 0.1), transparent 24rem),
    linear-gradient(90deg, rgba(11, 3, 5, 0.74) 0%, rgba(18, 6, 10, 0.42) 38%, rgba(11, 3, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 3, 5, 0.88) 0%, rgba(11, 3, 5, 0.14) 45%, rgba(11, 3, 5, 0.46) 100%);
}

.people-hero::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

.topbar,
.hero-layout,
.people-strip {
  position: relative;
  z-index: 4;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max-page));
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(248, 242, 237, 0.12);
  background: linear-gradient(90deg, rgba(27, 10, 16, 0.7), rgba(11, 3, 5, 0.38));
  backdrop-filter: blur(18px);
}

.brand-mark,
.main-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  min-width: 0;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-symbol {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(248, 242, 237, 0.24);
  background: linear-gradient(145deg, var(--brand-red), #5d1018 62%, var(--ink-850));
  font-size: 0.72rem;
  box-shadow: 0 18px 38px rgba(211, 22, 24, 0.28);
}

.main-nav {
  gap: clamp(14px, 2vw, 34px);
  color: var(--bone-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--bone);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  align-items: end;
  gap: clamp(28px, 5vw, 78px);
  width: min(100%, var(--max-page));
  margin: clamp(44px, 9vh, 96px) auto 0;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: clamp(12px, 4vh, 56px);
}

.eyebrow,
.profile-kicker,
.strip-heading p,
.profile-meta,
.card-overlay span {
  margin: 0;
  color: rgba(248, 242, 237, 0.74);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--brand-red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8.4vw, 8.9rem);
  line-height: 0.9;
  font-weight: 800;
}

.hero-title {
  animation: heroTitlePulse 9s ease-in-out infinite;
  will-change: opacity, filter, transform;
}

@keyframes heroTitlePulse {
  0%,
  18% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  26%,
  78% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px);
  }

  88%,
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title {
    animation: none;
  }
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--bone-muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid rgba(248, 242, 237, 0.14);
  background: rgba(248, 242, 237, 0.08);
}

.time-widget {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "label zone"
    "time time";
  align-items: end;
  min-width: 132px;
  min-height: 54px;
  overflow: hidden;
  padding: 9px 13px 10px;
  border: 1px solid rgba(248, 242, 237, 0.2);
  background:
    radial-gradient(circle at 86% 18%, rgba(211, 22, 24, 0.36), transparent 34px),
    linear-gradient(145deg, rgba(248, 242, 237, 0.16), rgba(45, 18, 26, 0.42) 48%, rgba(11, 3, 5, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(211, 22, 24, 0.08);
  backdrop-filter: blur(18px);
}

.time-widget::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 34%);
  opacity: 0.3;
}

.time-widget__label,
.time-widget__zone {
  position: relative;
  z-index: 1;
  color: rgba(248, 242, 237, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.time-widget__label {
  grid-area: label;
}

.time-widget__zone {
  grid-area: zone;
  justify-self: end;
  color: rgba(248, 242, 237, 0.42);
}

.time-widget__value {
  position: relative;
  z-index: 1;
  grid-area: time;
  margin-top: 7px;
  font-size: 1.32rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}

.featured-profile {
  position: relative;
  min-height: clamp(520px, 62vh, 740px);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.featured-profile::before,
.person-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 28%, rgba(11, 3, 5, 0.2) 56%, rgba(11, 3, 5, 0.94)),
    radial-gradient(circle at 78% 18%, rgba(211, 22, 24, 0.2), transparent 24rem);
}

.featured-content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  padding: 22px;
  border: 1px solid rgba(248, 242, 237, 0.14);
  background: linear-gradient(145deg, rgba(18, 6, 10, 0.76), rgba(45, 18, 26, 0.58));
  backdrop-filter: blur(16px);
}

.featured-content h2 {
  margin: 8px 0 8px;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 0.95;
}

.featured-content p:last-child {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--bone-muted);
  line-height: 1.5;
}

.people-strip {
  width: min(100%, var(--max-page));
  margin: clamp(28px, 5vh, 56px) auto 0;
}

.strip-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.strip-heading span {
  color: rgba(248, 242, 237, 0.5);
  font-size: 0.88rem;
  font-weight: 700;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-color: rgba(211, 22, 24, 0.8) rgba(248, 242, 237, 0.1);
}

.person-card {
  position: relative;
  min-width: 190px;
  aspect-ratio: 1.24 / 1;
  overflow: hidden;
  border: 1px solid rgba(248, 242, 237, 0.14);
  background: var(--panel);
}

.person-card img {
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.person-card:hover img,
.person-card:focus-within img {
  filter: saturate(1.06) contrast(1.06);
  transform: scale(1.045);
}

.card-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(11, 3, 5, 0.9) 36%, rgba(11, 3, 5, 0.98));
}

.card-overlay h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.15rem, 1.45vw, 1.7rem);
  line-height: 1;
}

.card-overlay p {
  margin-bottom: 0;
  color: var(--bone-muted);
  font-size: 0.84rem;
}

.scene-gallery {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 88px) clamp(18px, 4vw, 64px) clamp(48px, 7vw, 78px);
  background:
    radial-gradient(circle at 24% 14%, rgba(211, 22, 24, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 84%, rgba(92, 15, 28, 0.28), transparent 32rem),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-850) 46%, var(--ink-900) 100%);
}

.scene-gallery::before,
.scene-gallery::after {
  position: absolute;
  right: 0;
  left: 0;
  pointer-events: none;
  content: "";
}

.scene-gallery::before {
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 22, 24, 0.42), transparent);
}

.scene-gallery::after {
  top: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 242, 237, 0.08), transparent);
}

.scene-gallery__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-page));
  margin: 0 auto;
}

.section-kicker,
.gallery-panel__header span,
.gallery-panel__header strong {
  margin: 0;
  color: rgba(248, 242, 237, 0.66);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1.1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  margin: 0 0 28px;
}

.section-kicker {
  color: var(--brand-red);
  margin-bottom: 8px;
}

.gallery-intro h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.gallery-intro > p {
  margin: 0;
  color: var(--bone-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 160px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(248, 242, 237, 0.2);
  background: linear-gradient(145deg, rgba(248, 242, 237, 0.06), rgba(45, 18, 26, 0.2));
  color: var(--bone);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.gallery-link:hover,
.gallery-link:focus-visible {
  border-color: rgba(211, 22, 24, 0.7);
  background: rgba(211, 22, 24, 0.14);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 12px;
}

.gallery-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(248, 242, 237, 0.13);
  background:
    linear-gradient(145deg, rgba(45, 18, 26, 0.3), rgba(11, 3, 5, 0.6)),
    rgba(18, 6, 10, 0.48);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.gallery-panel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gallery-panel__header span {
  color: var(--brand-red);
}

.gallery-panel__header h3 {
  margin: 8px 0 2px;
  font-size: clamp(1.2rem, 1.7vw, 1.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.gallery-panel__header p {
  margin: 0;
  color: var(--bone-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.gallery-panel__header strong {
  flex: 0 0 auto;
  color: rgba(248, 242, 237, 0.58);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(230px, 32vw) minmax(82px, 8vw);
  gap: 6px;
}

.photo-mosaic img {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(248, 242, 237, 0.1);
  filter: saturate(0.95) contrast(1.08) brightness(0.82);
}

.photo-mosaic .photo-main {
  grid-column: 1 / -1;
}

.photo-mosaic--portrait {
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(2, minmax(110px, 1fr)) minmax(100px, 0.9fr);
}

.photo-mosaic--portrait .photo-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.gallery-footer {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: rgba(248, 242, 237, 0.42);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.gallery-footer::before,
.gallery-footer::after {
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(248, 242, 237, 0.14));
}

.gallery-footer::after {
  background: linear-gradient(90deg, rgba(248, 242, 237, 0.14), transparent);
}

.gallery-footer b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(211, 22, 24, 0.7);
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 0.68rem;
}

@media (max-width: 980px) {
  .people-hero {
    padding-inline: clamp(14px, 4vw, 32px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    max-width: 12ch;
  }

  .featured-profile {
    min-height: 520px;
  }

  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-link {
    width: max-content;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .people-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-block: 16px 24px;
  }

  .topbar {
    padding: 12px;
  }

  .brand-mark {
    font-size: 0.84rem;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.72rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 17vw, 5.6rem);
  }

  .meta-pill,
  .time-widget {
    flex: 1 1 auto;
    text-align: center;
  }

  .time-widget {
    justify-content: stretch;
  }

  .featured-profile {
    min-height: 480px;
  }

  .featured-content {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 16px;
  }

  .strip-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .people-grid {
    grid-template-columns: repeat(6, minmax(210px, 72vw));
  }

  .scene-gallery {
    padding-inline: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .photo-mosaic,
  .photo-mosaic--portrait {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(220px, 62vw) minmax(82px, 22vw);
  }

  .photo-mosaic--portrait .photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-footer {
    grid-template-columns: 1fr;
  }

  .gallery-footer::before,
  .gallery-footer::after {
    display: none;
  }
}
