*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: #020617;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.logo {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.logo span {
  color: #020617;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  padding-bottom: 0.2rem;
  color: #6b7280;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #020617;
  transition: width 180ms ease;
}

.nav-link:hover {
  color: #020617;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #020617;
}

.nav-link.active::after {
  width: 100%;
}

.main {
  flex: 1;
}

.hero {
  padding-block: 5.5rem 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: #111827;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 34rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.hero-meta span {
  color: #111827;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tagline {
  font-size: 0.9rem;
  color: #111827;
  line-height: 1.6;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-footer strong {
  display: block;
  font-size: 0.95rem;
  color: #020617;
  margin-bottom: 0.15rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 0.75rem;
  color: #111827;
}

.section {
  padding-block: 3.5rem 4rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1.5rem;
}

.section-title {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.section-caption {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 24rem;
}

.section-placeholder {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  color: #6b7280;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.section-placeholder span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-summary {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: radial-gradient(circle at top left, #f9fafb, #e5e7eb);
  padding: 1.8rem 1.6rem;
}

.about-name {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.about-tagline {
  font-size: 1rem;
  line-height: 1.7;
  color: #111827;
  margin-bottom: 1.25rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  color: #111827;
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-sections-centered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-section-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f9fafb;
  padding: 1.75rem 1.75rem 1.6rem;
}

.about-card-wide {
  grid-column: 1 / -1;
}

.about-section-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.1rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.6;
  color: #111827;
}

.about-list li {
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.about-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-list li:first-child {
  padding-top: 0;
}

.about-list--cols {
  columns: 2;
  column-gap: 2.5rem;
}

.about-list li + li {
  margin-top: 0;
}

.about-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.about-chips li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  font-size: 0.8rem;
  color: #111827;
}

.projects-hero {
  padding-block: 4.5rem 2.5rem;
}

.projects-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.projects-title {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.projects-copy {
  max-width: 28rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #eef0f3;
  cursor: pointer;
}

.gallery-thumb {
  width: 100%;
  height: 0;
  padding-bottom: 72%;
  position: relative;
}

.gallery-thumb img,
.gallery-thumb video,
.gallery-embed-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease-out;
}

.gallery-item:hover .gallery-thumb img,
.gallery-item:hover .gallery-thumb video,
.gallery-item:hover .gallery-embed-card {
  transform: scale(1.04);
}

.gallery-embed-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #f9fafb;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(2, 6, 23, 0.2);
  color: #ffffff;
  pointer-events: none;
}

.gallery-play-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.gallery-play-icon::before {
  content: "";
  position: absolute;
  left: 1.18rem;
  top: 0.88rem;
  width: 0;
  height: 0;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
  border-left: 0.9rem solid #ffffff;
}

.gallery-play-label {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.74);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.1)
  );
  opacity: 0;
  transition: opacity 160ms ease-out;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-title {
  font-size: 0.9rem;
  color: #f9fafb;
}

.gallery-overlay-meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d1d5db;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  width: min(960px, 100% - 3rem);
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f9fafb;
}

.lightbox-media {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #020617;
}

.lightbox-media img,
.lightbox-media video,
.lightbox-media iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.lightbox-media iframe {
  display: block;
  border: 0;
}

.lightbox-media.external-video-media {
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.external-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 250, 252, 0.28);
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  background: #020617;
  color: #f9fafb;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.external-video-link:hover {
  color: #ffffff;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.lightbox-title {
  font-weight: 500;
}

.lightbox-count {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-button {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.lightbox-button:hover {
  border-color: rgba(248, 250, 252, 0.9);
  color: #f9fafb;
}

/* ── About page redesign ─────────────────────────────── */

.about-intro {
  padding-block: 4rem 3rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.about-page-name {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.about-page-bio {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.75;
  max-width: 42rem;
  margin-top: 1rem;
}

.about-intro-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.about-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 0;
}

.stat-item {
  padding: 1.75rem 2rem;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  letter-spacing: -0.05em;
  color: #020617;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.about-block {
  padding-block: 2.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.about-block-title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.role-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.role-item {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding-block: 0.875rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
  color: #111827;
  line-height: 1.5;
}

.role-item:first-child {
  padding-top: 0;
}

.role-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.role-num {
  font-size: 0.7rem;
  color: #d1d5db;
  flex-shrink: 0;
  width: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.about-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
}

.award-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.award-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  align-items: baseline;
}

.award-item:first-child {
  padding-top: 0;
}

.award-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.award-year {
  font-size: 0.78rem;
  color: #9ca3af;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.award-text {
  font-size: 0.925rem;
  color: #111827;
  line-height: 1.55;
}

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edu-item {
  padding-block: 0.875rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.edu-item:first-child {
  padding-top: 0;
}

.edu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.edu-degree {
  font-size: 0.925rem;
  color: #111827;
  margin-bottom: 0.2rem;
}

.edu-location {
  font-size: 0.78rem;
  color: #9ca3af;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────────────── */

.site-footer {
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: #6b7280;
}

.gallery-grid .gallery-thumb img,
.gallery-grid .gallery-thumb video {
  object-fit: contain;
}

.lightbox-media img,
.lightbox-media video {
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav {
    padding-block: 0.9rem;
  }

  .nav-links {
    gap: 1.1rem;
    font-size: 0.8rem;
  }

  .hero {
    padding-block: 3.5rem 2.75rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-subtitle {
    max-width: none;
  }

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

  .pill-row {
    justify-content: flex-start;
  }

  .section {
    padding-block: 2.75rem 3rem;
  }

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

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

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-sections-centered {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-list--cols {
    columns: 1;
  }

  .about-intro {
    padding-block: 2.5rem 2rem;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-photo {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .about-two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .about-two-col > div + div .about-block-title {
    padding-top: 2.75rem;
  }

  .projects-hero {
    padding-block: 3.5rem 1.75rem;
  }

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

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

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
