:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", Courier, monospace;
  --ink: #05080d;
  --ink-soft: #07131c;
  --paper: #f4f7f8;
  --muted: #9ca8ae;
  --line: #20303a;
  --lime: #b8ff3d;
  --cyan: #35eaf2;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

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

::selection {
  background: var(--lime);
  color: var(--ink);
}

.site-header {
  align-items: stretch;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 13, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 88px;
  justify-content: space-between;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.signal-mark {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  justify-content: center;
  position: relative;
  width: 96px;
}

.signal-mark::after {
  border-left: 1px solid var(--cyan);
  border-top: 1px solid var(--lime);
  content: "";
  height: 38px;
  position: absolute;
  transform: skewX(-34deg);
  width: 38px;
}

.signal-mark span {
  background: var(--paper);
  height: 1px;
  position: absolute;
  transform: rotate(-38deg);
  width: 48px;
}

.signal-mark span:last-child {
  transform: rotate(38deg) translate(8px, -9px);
  width: 29px;
}

.site-header nav {
  display: flex;
  height: 100%;
}

.site-header nav a {
  align-items: center;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  display: flex;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0 2vw;
  position: relative;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.site-header nav a::after {
  background: var(--lime);
  bottom: 0;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  right: 50%;
  transition: left 180ms ease, right 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: rgba(53, 234, 242, 0.06);
  border-color: var(--line);
  color: var(--cyan);
  outline: none;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  left: 1.8vw;
  right: 1.8vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  min-height: 100svh;
  overflow: hidden;
  padding: 88px 4vw 0;
  position: relative;
}

.hero-grid {
  background-image: linear-gradient(rgba(32, 48, 58, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 48, 58, 0.42) 1px, transparent 1px);
  background-size: 10.5vw 86px;
  inset: 88px 0 0 54%;
  mask-image: linear-gradient(90deg, transparent, black 18%);
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 3.4vw 3rem 0;
  position: relative;
  z-index: 2;
}

.hero-copy::after {
  background: linear-gradient(135deg, transparent 0 44%, var(--lime) 44% 56%, transparent 56%);
  content: "";
  height: 48%;
  opacity: 0.94;
  pointer-events: none;
  position: absolute;
  right: -2.5vw;
  top: 19%;
  width: 13vw;
  z-index: -1;
}

.hero h1 {
  font-family: "Arial Narrow", Impact, var(--font-geist-sans), sans-serif;
  font-size: clamp(4.6rem, 8.45vw, 9.4rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.76;
  margin: 0;
  max-width: 9ch;
  text-transform: uppercase;
}

.hero h1 span {
  animation: rise 650ms cubic-bezier(0.2, 0.85, 0.3, 1) both;
  display: block;
  text-shadow: 1px 0 0 rgba(255, 255, 255, 0.36);
}

.hero h1 span:nth-child(2) {
  animation-delay: 80ms;
}

.hero h1 span:nth-child(3) {
  animation-delay: 160ms;
}

.hero-role {
  color: var(--cyan);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  margin: 2.1rem 0 2.2rem;
}

.hero-facts {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
}

.hero-facts p {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 0.89rem;
  line-height: 1.45;
  margin: 0;
  min-height: 76px;
  padding: 1.05rem 1.2rem 1rem 2rem;
  position: relative;
}

.hero-facts p:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.hero-facts p:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-facts p::before {
  background: var(--lime);
  content: "";
  height: 18px;
  left: 0.7rem;
  position: absolute;
  top: 1.2rem;
  width: 3px;
}

.hero-visual {
  border-left: 1px solid var(--line);
  min-height: 620px;
  position: relative;
  z-index: 3;
}

.vector-lines {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.vector-lines span {
  background: var(--cyan);
  height: 1px;
  left: -12%;
  position: absolute;
  top: 48%;
  transform: rotate(-47deg);
  transform-origin: center;
  width: 132%;
}

.vector-lines span:nth-child(2) {
  background: var(--lime);
  left: -1%;
  top: 51%;
}

.vector-lines span:nth-child(3) {
  background: var(--line);
  left: -19%;
  top: 57%;
}

.portrait-frame {
  background: var(--ink-soft);
  border-left: 1px solid var(--cyan);
  border-top: 1px solid var(--lime);
  box-shadow: 18px 18px 0 rgba(53, 234, 242, 0.08);
  clip-path: polygon(12% 0, 100% 0, 100% 90%, 88% 100%, 0 100%, 0 12%);
  height: min(42vw, 500px);
  max-height: 500px;
  max-width: 500px;
  min-height: 380px;
  overflow: hidden;
  position: absolute;
  right: 4vw;
  top: 12%;
  width: min(34vw, 500px);
}

.portrait-frame::after {
  background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 13, 0.5));
  content: "";
  inset: 0;
  position: absolute;
}

.portrait-frame img {
  filter: saturate(0.72) contrast(1.08);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.metric-card {
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 13, 0.86);
  border: 1px solid var(--cyan);
  bottom: 10%;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  padding: 1.35rem 1.7rem 1.45rem;
  position: absolute;
  right: 1vw;
  z-index: 3;
}

.metric-card::before,
.metric-card::after {
  background: repeating-linear-gradient(90deg, var(--lime) 0 1px, transparent 1px 9px);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: -8px;
}

.metric-card::after {
  background: repeating-linear-gradient(0deg, var(--lime) 0 1px, transparent 1px 9px);
  bottom: 0;
  height: auto;
  left: auto;
  right: -8px;
  top: 0;
  width: 7px;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.metric-card strong {
  color: var(--cyan);
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  font-weight: 540;
}

.content-section {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1680px;
  padding: 8rem 4vw;
  scroll-margin-top: 88px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: auto auto 1fr;
  margin-bottom: 4.5rem;
}

.section-heading > span {
  color: var(--lime);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding-bottom: 0.55rem;
}

.section-heading h2 {
  font-family: "Arial Narrow", Impact, var(--font-geist-sans), sans-serif;
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.8;
  margin: 0;
  text-transform: uppercase;
}

.section-heading i {
  background: linear-gradient(90deg, var(--cyan), var(--line) 42%, transparent);
  height: 1px;
  margin-bottom: 0.65rem;
}

.about-layout {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.about-positions,
.about-metrics {
  border-top: 1px solid var(--line);
}

.about-positions p {
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.34;
  margin: 0;
  min-height: 105px;
  padding: 1.7rem 1.7rem 1.7rem 2.3rem;
  position: relative;
}

.about-positions p::before {
  background: var(--lime);
  content: "";
  height: 28px;
  left: 0.45rem;
  position: absolute;
  top: 2rem;
  width: 4px;
}

.about-metrics > p {
  background: var(--cyan);
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  margin: 0;
  padding: 2rem;
}

.about-metrics a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.88rem;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  overflow-wrap: anywhere;
  padding: 1.55rem 1.2rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.about-metrics a:hover,
.about-metrics a:focus-visible {
  background: var(--lime);
  color: var(--ink);
  outline: none;
}

.about-metrics a b {
  color: var(--cyan);
  font-size: 1.4rem;
}

.about-metrics a:hover b,
.about-metrics a:focus-visible b {
  color: var(--ink);
}

.project-list {
  border-bottom: 1px solid var(--line);
}

.project-list > a {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  padding: 2rem 1rem;
  transition: background-color 180ms ease, color 180ms ease, padding 180ms ease;
}

.project-list > a:hover,
.project-list > a:focus-visible {
  background: var(--cyan);
  color: var(--ink);
  outline: none;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.item-index {
  color: var(--lime);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.project-list > a:hover .item-index,
.project-list > a:focus-visible .item-index {
  color: var(--ink);
}

.project-copy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-copy strong {
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 550;
  line-height: 1.25;
}

.project-copy small,
.interview-grid small {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.project-list > a:hover small,
.project-list > a:focus-visible small {
  color: rgba(5, 8, 13, 0.7);
}

.external-arrow {
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.project-list > a:hover .external-arrow,
.project-list > a:focus-visible .external-arrow {
  color: var(--ink);
}

.article-list {
  border-bottom: 1px solid var(--line);
  columns: 2;
  column-gap: 3.5rem;
}

.article-list article {
  break-inside: avoid;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 1.55rem 0;
}

.article-list article > span {
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  padding-top: 0.22rem;
}

.article-list p {
  color: #d8dee1;
  font-size: 0.96rem;
  line-height: 1.62;
  margin: 0;
}

.interview-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
}

.interview-grid > a {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.1rem 1.5rem;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  margin: -1px 0 0 -1px;
  min-height: 220px;
  padding: 2rem;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.interview-grid > a strong {
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 530;
  line-height: 1.35;
}

.interview-grid > a small {
  grid-column: 2 / -1;
}

.interview-grid > a:hover,
.interview-grid > a:focus-visible {
  background: rgba(53, 234, 242, 0.08);
  border-color: var(--cyan);
  outline: none;
}

.source-note {
  border-left: 4px solid var(--lime);
  color: var(--muted);
  font-size: 0.88rem;
  margin: 2.5rem 0 0;
  padding: 0.4rem 0 0.4rem 1rem;
}

.contact-section {
  min-height: 75svh;
  padding-bottom: 10rem;
}

.email-link {
  align-items: flex-end;
  border-bottom: 1px solid var(--cyan);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 3rem 1rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.email-link > span {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.84rem;
  padding-bottom: 0.8rem;
}

.email-link strong {
  font-family: "Arial Narrow", Impact, var(--font-geist-sans), sans-serif;
  font-size: clamp(2.3rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.email-link b {
  color: var(--lime);
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.8;
}

.email-link:hover,
.email-link:focus-visible {
  background: var(--lime);
  color: var(--ink);
  outline: none;
}

.email-link:hover > span,
.email-link:focus-visible > span,
.email-link:hover b,
.email-link:focus-visible b {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 8.3vw, 7.5rem);
  }

  .portrait-frame {
    right: 1.5vw;
    width: min(36vw, 440px);
  }

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

@media (max-width: 820px) {
  .site-header {
    height: 72px;
  }

  .signal-mark {
    flex: 0 0 72px;
    width: 72px;
  }

  .site-header nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    font-size: 0.75rem;
    padding: 0 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 5vw 0;
  }

  .hero-grid {
    inset: 53% 0 0;
    mask-image: linear-gradient(180deg, transparent, black 18%);
  }

  .hero-copy {
    min-height: 690px;
    padding: 5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 15vw, 7.2rem);
  }

  .hero-copy::after {
    height: 42%;
    right: 7vw;
    top: 12%;
    width: 18vw;
  }

  .hero-visual {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 600px;
  }

  .portrait-frame {
    height: 440px;
    left: 50%;
    max-width: 440px;
    min-height: 0;
    right: auto;
    top: 3.5rem;
    transform: translateX(-50%);
    width: min(82vw, 440px);
  }

  .metric-card {
    bottom: 3.5rem;
    right: 0;
  }

  .content-section {
    padding: 6rem 5vw;
    scroll-margin-top: 72px;
  }

  .section-heading {
    margin-bottom: 3.2rem;
  }

  .article-list {
    columns: 1;
  }

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

@media (max-width: 560px) {
  .signal-mark {
    display: none;
  }

  .site-header {
    justify-content: flex-start;
  }

  .site-header nav {
    width: 100%;
  }

  .hero-copy {
    min-height: 650px;
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17.8vw, 6rem);
    line-height: 0.8;
  }

  .hero-role {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 1.7rem 0;
  }

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

  .hero-facts p,
  .hero-facts p:nth-child(odd) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 62px;
  }

  .hero-facts p:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-frame {
    height: 350px;
    width: min(88vw, 350px);
  }

  .metric-card {
    bottom: 2.4rem;
    left: 7vw;
    min-width: 0;
    right: 0;
  }

  .section-heading {
    gap: 0.85rem;
    grid-template-columns: auto 1fr;
  }

  .section-heading h2 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .section-heading i {
    display: none;
  }

  .about-positions p {
    font-size: 1.08rem;
    min-height: 0;
    padding: 1.4rem 1rem 1.4rem 1.8rem;
  }

  .about-positions p::before {
    left: 0.25rem;
    top: 1.55rem;
  }

  .about-metrics a {
    font-size: 0.74rem;
  }

  .project-list > a {
    align-items: start;
    gap: 0.9rem;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    padding: 1.5rem 0.4rem;
  }

  .project-copy strong {
    font-size: 1.08rem;
  }

  .external-arrow {
    font-size: 1.4rem;
  }

  .article-list article {
    gap: 0.75rem;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .article-list p {
    font-size: 0.88rem;
  }

  .interview-grid > a {
    gap: 0.8rem;
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    min-height: 0;
    padding: 1.5rem 1rem;
  }

  .email-link {
    align-items: start;
    grid-template-columns: 1fr auto;
    padding: 2rem 0.2rem;
  }

  .email-link > span {
    grid-column: 1 / -1;
  }

  .email-link strong {
    font-size: clamp(2rem, 11.7vw, 3.4rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
