:root {
  --bg: #050505;
  --surface: #0b0b0c;
  --surface-2: #111113;
  --text: #f3f3f0;
  --muted: #a0a09b;
  --dim: #6e6e6a;
  --line: #29292b;
  --line-strong: #454548;
  --accent: #e21b3c;
  --accent-bright: #ff3151;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.025) 100%),
    var(--bg);
  background-size: 25% 100%, auto;
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--accent);
}

a {
  color: inherit;
}

body *,
body *::before,
body *::after {
  color: #fff !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: calc(100% - clamp(32px, 6vw, 96px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.92);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
}

.wordmark,
.panel-label,
.section-tag,
.eyebrow,
.project-index,
.tools-label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.wordmark {
  display: grid;
  width: 72px;
  place-items: center;
  flex: 0 0 72px;
  border-right: 1px solid var(--line-strong);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.wordmark:hover {
  color: #fff;
  background: var(--accent);
}

.topnav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.topnav a {
  display: grid;
  min-width: 118px;
  padding: 0 22px;
  place-items: center;
  border-left: 1px solid var(--line);
  color: #d2d2cf;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.topnav a:hover {
  color: #fff;
  background: #141416;
}

.hero,
.section-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.hero {
  min-height: calc(100vh - 72px);
  grid-template-areas:
    "heading heading"
    "copy panel";
  align-items: stretch;
  border-bottom: 1px solid var(--line-strong);
}

.hero-heading {
  grid-area: heading;
  padding: clamp(70px, 9vw, 150px) 0 clamp(45px, 6vw, 86px);
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
}

.hero-heading h1 {
  max-width: none;
  margin: 14px auto 22px;
  font-size: clamp(2.2rem, 6.2vw, 7rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.06em;
  word-spacing: 0.08em;
  white-space: normal;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 auto;
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.2rem, 6.2vw, 7rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-tagline {
  max-width: 1000px;
  margin: 0 auto;
  color: #cacac6;
  font-size: clamp(1.05rem, 1.5vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.55;
  text-align: center;
}

.hero-copy {
  grid-area: copy;
  display: flex;
  min-height: 620px;
  padding: clamp(42px, 6vw, 90px) clamp(24px, 4vw, 72px) 52px 0;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--line-strong);
}

.hero-text,
.section-content > p,
.project-card > p,
.detail-list li,
.contact-card p,
.project-modal-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: #c2c2be;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.hero-actions {
  display: flex;
  margin: 38px 0 42px;
  flex-wrap: wrap;
  gap: 0;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button::after {
  content: "↗";
  margin-left: 16px;
  font-size: 0.9rem;
}

.button-primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
}

.button-secondary {
  color: #fff;
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hero-meta {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-meta li {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.hero-meta a {
  color: #bdbdb9;
  text-decoration: none;
}

.hero-panel {
  position: relative;
  grid-area: panel;
  min-height: 620px;
  overflow: hidden;
  background: #0c0d0f;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.5) 46%, rgba(5, 5, 5, 0.08) 78%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.8), transparent 48%);
}

.hero-portrait {
  margin: 0;
}

.hero-portrait-layered {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  image-rendering: auto;
}

.signal-card {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 620px;
  padding: 40px;
  flex-direction: column;
  justify-content: space-between;
}

.panel-label,
.section-tag,
.project-index,
.tools-label {
  margin: 0;
  color: var(--accent-bright);
  font-size: 0.66rem;
}

.focus-grid {
  display: grid;
  width: min(54%, 460px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.focus-grid div {
  min-height: 128px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 5, 5, 0.36);
  backdrop-filter: blur(8px);
}

.metric,
.caption {
  display: block;
}

.metric {
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.caption {
  color: #bcbcb7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  line-height: 1.55;
}

.section-grid {
  padding: clamp(56px, 6.5vw, 96px) 0;
  border-top: 1px solid var(--line-strong);
}

.section-heading {
  padding-right: clamp(30px, 5vw, 90px);
}

.section-heading h2 {
  max-width: 14ch;
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-content {
  min-width: 0;
  padding-left: clamp(24px, 5vw, 90px);
  border-left: 1px solid var(--line);
}

.section-content > p {
  max-width: 880px;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.section-content > p + p {
  margin-top: 26px;
}

.chip-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.chip-group span {
  min-height: 78px;
  padding: 19px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #d6d6d2;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.tools {
  display: grid;
  margin-top: 44px;
  padding: 24px 0;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.tools-list {
  color: #c7c7c3;
  font-size: 0.98rem;
  line-height: 1.7;
}

.experience-list {
  display: grid;
  gap: 0;
}

.timeline-card,
.education-card {
  position: relative;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line-strong);
}

.timeline-card:last-child,
.education-card {
  border-bottom: 1px solid var(--line-strong);
}

.timeline-card-current {
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.timeline-card-current::before {
  content: "ACTIVE";
  position: absolute;
  top: -1px;
  right: 0;
  padding: 8px 12px;
  color: #fff;
  background: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.timeline-topline {
  display: flex;
  margin-bottom: 28px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.timeline-card-current .timeline-topline {
  margin-bottom: 0;
}

.timeline-topline h3,
.project-card h3 {
  margin: 0 0 7px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.timeline-topline p {
  margin: 0;
  color: var(--muted);
}

.timeline-topline span {
  padding-right: 68px;
  color: var(--dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.detail-list {
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: detail;
}

.detail-list li {
  position: relative;
  padding: 12px 0 12px 42px;
  counter-increment: detail;
  border-top: 1px solid var(--line);
}

.detail-list li::before {
  content: counter(detail, decimal-leading-zero);
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--accent-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.61rem;
}

#projects {
  grid-template-columns: 1fr;
}

#projects .section-heading {
  display: flex;
  padding: 0 0 34px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

#projects .section-heading h2 {
  max-width: none;
  margin: 0;
  text-align: right;
}

#projects .section-content {
  width: 100%;
  padding-left: 0;
  border-left: 0;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.project-card {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0 0 38px;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto auto;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}

.project-launch {
  cursor: pointer;
  transition: background 180ms ease;
}

.project-launch:hover,
.project-launch:focus-visible {
  outline: 0;
  background: #0d0d0f;
}

.project-launch:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.project-visual {
  position: relative;
  height: clamp(280px, 30vw, 520px);
  grid-column: 1 / -1;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background: #101012;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.36));
}

.project-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 280ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-image-left {
  object-position: left center;
}

.project-image-right {
  object-position: right center;
}

.project-launch:hover .project-image {
  filter: contrast(1.06) brightness(0.9);
  transform: scale(1.018);
}

.project-card-featured {
  grid-column: 1 / -1;
}

.project-card-featured .project-visual {
  height: min(64vw, 720px);
}

.project-index {
  margin: 0;
  padding: 32px 0 0 24px;
  grid-column: 1;
  grid-row: 2 / span 5;
}

.project-card h3,
.project-card > p,
.project-tags {
  grid-column: 2;
  margin-right: clamp(24px, 4vw, 58px);
}

.project-card h3 {
  margin-top: 30px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.project-card > p {
  margin-top: 0;
  margin-bottom: 24px;
}

.project-tags,
.project-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.project-tags span,
.project-modal-tags span {
  padding: 8px 10px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: #adada8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-tags span:first-child,
.project-modal-tags span:first-child {
  border-left: 1px solid var(--line-strong);
}

.project-hint {
  color: #fff !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-hint::after {
  content: "  ↗";
  color: var(--accent-bright);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 28px;
  align-items: center;
  justify-content: center;
}

.project-modal.is-open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.project-modal-dialog {
  position: relative;
  width: min(1420px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #080809;
}

.project-modal-scroll {
  max-height: 92vh;
  padding: clamp(30px, 5vw, 76px);
  overflow-y: auto;
}

.project-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  min-width: 96px;
  min-height: 52px;
  border: 0;
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: #fff;
  background: #0b0b0c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-modal-close:hover {
  background: var(--accent);
}

.project-modal-kicker {
  margin-bottom: 22px;
}

.project-modal-dialog h3 {
  max-width: 980px;
  margin: 0 0 26px;
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.project-modal-layout {
  display: grid;
  margin-top: 54px;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.project-modal-copy {
  position: sticky;
  top: 0;
}

.project-modal-copy p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.project-modal-copy p:last-child {
  border-bottom: 1px solid var(--line);
}

.project-modal-gallery {
  display: grid;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.project-modal-figure {
  margin: 0;
  background: #111;
}

.project-modal-figure img {
  width: 100%;
  display: block;
}

.contact-grid {
  padding-bottom: clamp(100px, 12vw, 190px);
}

.contact-card {
  display: grid;
  max-width: none;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.contact-card a,
.contact-card p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}

.contact-card a {
  position: relative;
  padding-right: 50px;
  font-size: clamp(1.15rem, 2.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.contact-card a::after {
  content: "↗";
  position: absolute;
  right: 8px;
  color: var(--accent-bright);
}

.contact-card a:hover {
  padding-left: 12px;
  color: var(--accent-bright);
}

@media (max-width: 1120px) {
  .topnav a {
    min-width: 100px;
    padding: 0 16px;
  }

  .focus-grid {
    width: min(68%, 430px);
  }

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

@media (max-width: 900px) {
  .topbar {
    min-height: 62px;
  }

  .wordmark {
    width: 62px;
    flex-basis: 62px;
  }

  .topnav a {
    min-width: 0;
    padding: 0 13px;
    font-size: 0.61rem;
  }

  .hero,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "heading"
      "panel"
      "copy";
  }

  .hero-heading {
    padding-top: 80px;
  }

  .hero-copy {
    min-height: auto;
    padding: 60px 0;
    border-top: 1px solid var(--line-strong);
    border-right: 0;
  }

  .hero-panel,
  .signal-card {
    min-height: 620px;
  }

  .section-heading {
    padding: 0 0 48px;
  }

  .section-heading h2 {
    max-width: 18ch;
  }

  .section-content {
    padding: 48px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  #projects .section-heading {
    display: block;
  }

  #projects .section-heading h2 {
    margin-top: 18px;
    text-align: left;
  }

  #projects .section-content {
    padding-top: 0;
    border-top: 0;
  }

  .project-modal-layout {
    grid-template-columns: 1fr;
  }

  .project-modal-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: calc(100% - 36px);
    padding-bottom: 30px;
  }

  .topbar {
    position: relative;
    min-height: auto;
    flex-direction: column;
  }

  .wordmark {
    width: 100%;
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .topnav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .topnav a {
    min-height: 48px;
    padding: 0 5px;
    border-left: 0;
    border-right: 1px solid var(--line);
    text-align: center;
  }

  .topnav a:last-child {
    border-right: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-heading {
    padding: 64px 0 46px;
  }

  .hero-heading h1 {
    line-height: 0.84;
  }

  .hero-panel,
  .signal-card {
    min-height: 560px;
  }

  .signal-card {
    padding: 24px;
  }

  .hero-panel::after {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.18) 62%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.38), transparent);
  }

  .focus-grid {
    width: 100%;
  }

  .focus-grid div {
    min-height: 108px;
  }

  .hero-copy {
    padding: 46px 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-grid {
    padding: 54px 0;
  }

  .section-heading h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .chip-group,
  .cards-2 {
    grid-template-columns: 1fr;
  }

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

  .timeline-topline {
    flex-direction: column;
  }

  .timeline-topline span {
    padding-right: 0;
  }

  .timeline-card-current::before {
    display: none;
  }

  .project-card-featured {
    grid-column: span 1;
  }

  .project-card-featured .project-visual,
  .project-visual {
    height: 360px;
  }

  .project-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .project-index {
    padding-left: 15px;
  }

  .project-card h3,
  .project-card > p,
  .project-tags {
    margin-right: 20px;
  }

  .project-modal {
    padding: 8px;
  }

  .project-modal-dialog,
  .project-modal-scroll {
    max-height: 96vh;
  }

  .project-modal-scroll {
    padding: 76px 22px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Media-led hero */
.hero-panel::after {
  display: none;
}

.people-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #09090a;
}

.people-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.people-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.people-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.people-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0.78) 0%, rgba(4, 4, 5, 0.2) 48%, rgba(4, 4, 5, 0.46) 100%),
    linear-gradient(0deg, rgba(4, 4, 5, 0.82) 0%, transparent 54%);
}

.people-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  display: grid;
  grid-template-columns: 50px minmax(86px, auto) 50px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(4, 4, 5, 0.7);
  backdrop-filter: blur(10px);
}

.people-controls button,
.people-controls span {
  display: grid;
  min-height: 48px;
  padding: 0;
  place-items: center;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.people-controls button:last-child {
  border-right: 0;
}

.people-controls button {
  cursor: pointer;
}

.people-controls button:hover,
.people-controls button:focus-visible {
  outline: 0;
  background: var(--accent);
}

.hero-identity {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 4;
  display: grid;
  width: min(26%, 260px);
  gap: 14px;
}

.identity-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: #111;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.46);
}

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

.identity-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(4, 4, 5, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-headshot {
  width: 100%;
  height: 260px;
  margin: 0;
}

.identity-headshot img {
  object-position: center 23%;
}

.identity-contemplating {
  width: 100%;
  height: 145px;
  margin: 0;
}

.identity-contemplating img {
  object-position: center 30%;
}

.hero-focus {
  position: absolute;
  bottom: 28px;
  left: 30px;
  z-index: 4;
  width: min(48%, 440px);
}

.hero-focus .panel-label {
  margin-bottom: 15px;
}

.focus-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.44);
  border-left: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(4, 4, 5, 0.62);
  backdrop-filter: blur(10px);
}

.focus-strip span {
  display: grid;
  min-height: 68px;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Project slideshow */
.project-slider-shell {
  padding: 0 !important;
  border: 0 !important;
}

.project-slider {
  position: relative;
  min-height: clamp(680px, 72vw, 900px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #09090a;
  isolation: isolate;
}

.project-slider:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.project-slides,
.project-slide {
  position: absolute;
  inset: 0;
}

.project-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.project-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-slide-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-slide-image-contain {
  object-fit: contain;
  padding: clamp(20px, 4vw, 64px);
  background: #151517;
}

.project-slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 2, 3, 0.96) 0%, rgba(2, 2, 3, 0.82) 34%, rgba(2, 2, 3, 0.18) 72%),
    linear-gradient(0deg, rgba(2, 2, 3, 0.94) 0%, transparent 48%);
}

.project-slide-copy {
  position: absolute;
  bottom: 116px;
  left: clamp(28px, 6vw, 94px);
  z-index: 3;
  width: min(54%, 760px);
}

.project-kicker {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-slide-copy .project-index {
  margin: 0 0 42px;
  padding: 0;
}

.project-slide-copy h3 {
  margin: 0 0 22px;
  font-size: clamp(3.1rem, 7vw, 7.5rem);
  font-weight: 650;
  line-height: 0.87;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.project-slide-copy > p:not(.project-index):not(.project-kicker) {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: clamp(0.98rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.project-slide-copy .project-tags {
  margin: 0 0 28px;
}

.project-slide-copy .project-launch {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #fff;
  background: rgba(4, 4, 5, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-slide-copy .project-launch::after {
  content: "↗";
  margin-left: 18px;
}

.project-slide-copy .project-launch:hover,
.project-slide-copy .project-launch:focus-visible {
  outline: 0;
  border-color: var(--accent);
  background: var(--accent);
}

.project-slider-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  min-height: 72px;
  grid-template-columns: 1fr minmax(100px, auto) 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(4, 4, 5, 0.82);
  backdrop-filter: blur(12px);
}

.project-slider-controls button,
.project-slider-controls span {
  display: grid;
  padding: 0 24px;
  place-items: center;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-slider-controls button:last-child {
  border-right: 0;
}

.project-slider-controls button {
  cursor: pointer;
}

.project-slider-controls button:hover,
.project-slider-controls button:focus-visible {
  outline: 0;
  background: var(--accent);
}

.project-slider-rail {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(8, 42px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(4, 4, 5, 0.58);
  backdrop-filter: blur(10px);
}

.project-slider-rail button {
  min-height: 42px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  cursor: pointer;
}

.project-slider-rail button.is-active,
.project-slider-rail button:hover,
.project-slider-rail button:focus-visible {
  outline: 0;
  background: var(--accent);
}

@media (max-width: 900px) {
  .hero-identity {
    width: min(42%, 280px);
  }

  .hero-focus {
    width: min(54%, 420px);
  }

  .project-slide-copy {
    width: min(70%, 660px);
  }

  .project-slider-rail {
    left: 24px;
    right: auto;
  }
}

@media (max-width: 680px) {
  .hero-panel,
  .signal-card {
    min-height: 720px;
  }

  .people-slide img {
    object-position: 58% center;
  }

  .people-shade {
    background:
      linear-gradient(0deg, rgba(4, 4, 5, 0.88) 0%, rgba(4, 4, 5, 0.16) 72%),
      linear-gradient(90deg, rgba(4, 4, 5, 0.34), transparent);
  }

  .hero-identity {
    top: 22px;
    right: 18px;
    width: 52%;
  }

  .identity-headshot {
    width: 100%;
    height: 200px;
  }

  .identity-contemplating {
    width: 100%;
    height: 112px;
    margin-top: 0;
  }

  .hero-focus {
    right: 18px;
    bottom: 88px;
    left: 18px;
    width: auto;
  }

  .focus-strip span {
    min-height: 58px;
    font-size: 0.62rem;
  }

  .people-controls {
    right: 18px;
    bottom: 18px;
  }

  .project-slider {
    min-height: 740px;
  }

  .project-slider-rail {
    top: 14px;
    right: 14px;
    left: 14px;
    grid-template-columns: repeat(8, 1fr);
  }

  .project-slider-rail button {
    min-height: 36px;
  }

  .project-slide-copy {
    right: 22px;
    bottom: 96px;
    left: 22px;
    width: auto;
  }

  .project-slide-copy .project-index {
    margin-bottom: 26px;
  }

  .project-slide-copy h3 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .project-slide-shade {
    background:
      linear-gradient(0deg, rgba(2, 2, 3, 0.97) 0%, rgba(2, 2, 3, 0.77) 48%, rgba(2, 2, 3, 0.2) 88%),
      linear-gradient(90deg, rgba(2, 2, 3, 0.52), transparent);
  }

  .project-slider-controls {
    min-height: 64px;
    grid-template-columns: 1fr 76px 1fr;
  }

  .project-slider-controls button,
  .project-slider-controls span {
    padding: 0 8px;
    font-size: 0.56rem;
  }
}
