:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-elevated: #0d1929;
  --surface: #111f32;
  --surface-soft: #0b1625;
  --text: #eef3f8;
  --text-soft: #aab8c9;
  --text-faint: #6f8298;
  --line: rgba(220, 235, 250, 0.14);
  --line-strong: rgba(220, 235, 250, 0.25);
  --cyan: #6fc3df;
  --lime: #a8d962;
  --nav-bg: rgba(8, 17, 31, 0.76);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  --max-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 1rem;
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f2;
  --bg-elevated: #ffffff;
  --surface: #e8ede8;
  --surface-soft: #eef1ee;
  --text: #0a1825;
  --text-soft: #46576a;
  --text-faint: #6a7986;
  --line: rgba(10, 24, 37, 0.13);
  --line-strong: rgba(10, 24, 37, 0.24);
  --cyan: #087eaa;
  --lime: #5c880d;
  --nav-bg: rgba(243, 245, 242, 0.82);
  --shadow: 0 30px 80px rgba(32, 52, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-150%);
  border-radius: 0.4rem;
  background: var(--lime);
  color: #07111e;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.75rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.4rem);
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.desktop-nav a,
.text-link {
  transition: color var(--transition);
}

.desktop-nav a:hover,
.text-link:hover {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.75rem;
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-link {
  display: inline-flex;
  width: auto;
  height: 2.6rem;
  padding: 0 0.7rem;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text-soft);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--cyan);
}

.icon-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.icon-link span {
  font-size: 0.76rem;
  font-weight: 700;
}

.theme-toggle {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.theme-toggle:hover {
  transform: rotate(8deg);
  border-color: var(--cyan);
}

.theme-toggle svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.moon-icon,
:root[data-theme="light"] .sun-icon {
  display: none;
}

:root[data-theme="light"] .moon-icon {
  display: block;
}

.section,
.site-footer {
  width: min(100%, calc(var(--max-width) + var(--gutter) * 2));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.section {
  padding-top: clamp(6rem, 12vw, 10rem);
}

.eyebrow,
.project-index,
.panel-label,
.visual-label,
.portrait-caption {
  margin: 0;
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 0.52rem;
  height: 0.52rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--lime) 14%, transparent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: 100vh;
  padding-top: 8rem;
}

.hero-copy {
  padding: 4rem 0 3rem;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.4rem, 6.7vw, 6.4rem);
  font-weight: 600;
}

h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero .eyebrow {
  margin-bottom: 1.1rem;
}

.hero-role {
  max-width: 39rem;
  margin: 0 0 1.2rem;
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-intro {
  max-width: 42rem;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
}

.hero-intro strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.15rem;
  gap: 1rem;
  border: 1px solid var(--lime);
  border-radius: 0.25rem;
  background: var(--lime);
  color: #07111e;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition);
}

.button svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px color-mix(in srgb, var(--lime) 22%, transparent);
}

.button-small {
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
}

.text-link {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 48%),
    var(--surface-soft);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.18), var(--shadow);
}

.hero-profile {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.profile-kicker {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 3px solid var(--lime);
  border-bottom: 1px solid var(--line);
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.focus-stack {
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-stack li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  padding: 1.45rem 1.25rem;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.focus-stack li > span {
  padding-top: 0.18rem;
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
}

.focus-stack strong,
.focus-stack small {
  display: block;
}

.focus-stack strong {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.focus-stack small {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.profile-status {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
  gap: 0.65rem;
  background: color-mix(in srgb, var(--lime) 8%, var(--bg-elevated));
}

.profile-status .status-dot {
  flex: 0 0 auto;
  margin-top: 0.45rem;
}

.profile-status p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-status strong {
  color: var(--text);
}

.visual-grid,
.portrait-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(circle, black 35%, transparent 78%);
}

.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-ring-one {
  width: 74%;
  height: 74%;
  animation: rotate 28s linear infinite;
}

.signal-ring-one::before,
.signal-ring-two::after {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
  content: "";
}

.signal-ring-one::before {
  top: 13%;
  left: 13%;
}

.signal-ring-two {
  width: 52%;
  height: 52%;
  border-style: dashed;
  animation: rotate-reverse 20s linear infinite;
}

.signal-ring-two::after {
  right: -0.28rem;
  bottom: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.signal-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 31%;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid color-mix(in srgb, var(--cyan) 65%, transparent);
  border-radius: 50%;
  background: var(--bg-elevated);
  box-shadow: 0 0 50px color-mix(in srgb, var(--cyan) 18%, transparent);
}

.core-initials {
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
}

.core-coordinate {
  margin-top: 0.75rem;
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.45rem, 0.7vw, 0.62rem);
  line-height: 1.5;
  text-align: center;
}

.signal-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--line-strong);
  stroke-dasharray: 5 9;
  stroke-width: 1;
}

.node {
  position: absolute;
  z-index: 2;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--surface-soft);
}

.node-a { top: 18%; left: 27%; }
.node-b { top: 28%; right: 19%; }
.node-c { right: 22%; bottom: 23%; }
.node-d { bottom: 20%; left: 24%; }

.visual-label {
  position: absolute;
  z-index: 4;
  color: var(--text-faint);
  font-size: clamp(0.48rem, 0.72vw, 0.65rem);
}

.visual-label span {
  margin-right: 0.5rem;
  color: var(--lime);
}

.visual-label-top {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.visual-label-bottom {
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  display: flex;
  min-height: 8.4rem;
  align-items: center;
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  gap: 1rem;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  padding-left: 0;
}

.metric-last {
  border-right: 0;
}

.metric-value {
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.07em;
}

.metric-label {
  color: var(--text-faint);
  font-size: 0.75rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  gap: 3rem;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  max-width: 12ch;
  margin: 0.8rem 0 0;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  font-weight: 600;
}

.section-heading > p {
  max-width: 34rem;
  margin: 0;
  color: var(--text-soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-featured {
  grid-column: span 2;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.project-art {
  position: relative;
  height: 21rem;
  overflow: hidden;
  background-color: var(--surface-soft);
}

.project-featured .project-art {
  height: 21rem;
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.7rem;
  gap: 2rem;
}

.project-info > div {
  width: 100%;
}

.project-index {
  margin-bottom: 0.8rem;
  color: var(--text-faint);
  font-size: 0.65rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.project-info p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.project-info > div > p:not(.project-index) {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.project-arrow {
  color: var(--cyan);
  font-size: 1.5rem;
}

.project-art-vision {
  background: linear-gradient(145deg, color-mix(in srgb, var(--cyan) 18%, var(--surface-soft)), var(--surface-soft) 70%);
}

.project-art-vision::after {
  display: none;
}

.scan-frame {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 65%;
  transform: translate(-50%, -50%);
}

.scan-frame span {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-color: var(--lime);
  border-style: solid;
}

.scan-frame span:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.scan-frame span:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.scan-frame span:nth-child(3) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.scan-frame span:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }

.scan-line {
  position: absolute;
  z-index: 3;
  top: 15%;
  right: 15%;
  left: 15%;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
  animation: scan 5s ease-in-out infinite;
}

.detection {
  position: absolute;
  z-index: 4;
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
}

.detection-one { top: 38%; left: 52%; }
.detection-two { right: 17%; bottom: 19%; border-color: var(--lime); color: var(--lime); }

.project-art > p {
  position: absolute;
  right: 1.2rem;
  bottom: 0.4rem;
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.project-art-embedded {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--lime) 15%, var(--surface-soft)), var(--surface-soft) 70%);
}

.board {
  position: relative;
  display: grid;
  width: 9rem;
  height: 9rem;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 0.5rem;
  background: rgba(186, 245, 106, 0.04);
  box-shadow: 0 0 45px rgba(186, 245, 106, 0.1);
}

.chip {
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
}

.pin {
  position: absolute;
  width: 2.2rem;
  height: 1px;
  background: var(--cyan);
}

.pin-one { top: 22%; left: -2.2rem; }
.pin-two { top: 50%; left: -2.2rem; }
.pin-three { bottom: 22%; left: -2.2rem; }
.pin-four { top: 22%; right: -2.2rem; }
.pin-five { top: 50%; right: -2.2rem; }
.pin-six { right: -2.2rem; bottom: 22%; }

.pulse {
  position: absolute;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(186, 245, 106, 0.25);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}

.project-art-software {
  display: grid;
  padding: 0;
  place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--text-soft) 15%, var(--surface-soft)), var(--surface-soft) 70%);
}

.project-art-data {
  background: linear-gradient(145deg, color-mix(in srgb, #e8a05b 18%, var(--surface-soft)), var(--surface-soft) 70%);
}

.project-art-report {
  background: linear-gradient(145deg, color-mix(in srgb, #a982e8 17%, var(--surface-soft)), var(--surface-soft) 70%);
}

.media-gallery,
.project-media-single {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #050c16;
}

.gallery-slide {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.gallery-slide[hidden] {
  display: none;
}

.gallery-slide img,
.project-media-single img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-slide figcaption,
.project-media-single figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.2rem;
  background: rgba(5, 12, 22, 0.88);
  color: #f2f6f8;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.gallery-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 12, 22, 0.84);
  color: #f2f6f8;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.gallery-button:hover,
.gallery-button:focus-visible {
  border-color: var(--lime);
  background: #07111e;
  color: var(--lime);
}

.gallery-previous {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-counter {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 12, 22, 0.84);
  color: #f2f6f8;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
}

.project-placeholder {
  display: flex;
  width: 100%;
  height: 21rem;
  padding: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
}

.project-placeholder span {
  align-self: flex-end;
  color: transparent;
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px var(--line-strong);
}

.project-placeholder p {
  position: static;
  margin: 0;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-placeholder {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.play-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.62rem;
  font-style: normal;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 1.25rem 0 0;
  padding: 0;
  gap: 0.4rem;
  list-style: none;
}

.project-tags li {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
}

.project-note {
  margin-top: 1rem !important;
  padding-left: 0.9rem;
  border-left: 2px solid var(--cyan);
  color: var(--text-faint) !important;
  font-size: 0.82rem !important;
  line-height: 1.65;
}

.project-note strong {
  color: var(--text-soft);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  gap: 0.55rem;
}

.project-button {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--lime);
  border-radius: 0.22rem;
  background: var(--lime);
  color: #07111e;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-button:hover,
.project-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--lime) 18%, transparent);
}

.project-button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text-soft);
}

.document-links {
  display: grid;
  margin-top: 1.25rem;
  gap: 0.8rem;
}

.document-link-group {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.document-link-group > span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.document-link-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-outcome {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.project-outcome span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-outcome p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.project-details {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.project-details li + li {
  margin-top: 0.55rem;
}

.code-window {
  display: flex;
  width: min(100%, 31rem);
  padding: 1rem 1.2rem 1.5rem;
  flex-wrap: wrap;
  gap: 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.65rem;
  background: #07111e;
  box-shadow: var(--shadow);
}

.code-window > span {
  width: 0.55rem;
  height: 0.55rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--text-faint);
}

.code-window > span:nth-child(1) { background: #ff766f; }
.code-window > span:nth-child(2) { background: #ffd05c; }
.code-window > span:nth-child(3) { background: var(--lime); }

.code-window code {
  flex: 0 0 100%;
  color: #d7e3ef;
  font-family: "DM Mono", monospace;
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  line-height: 2;
}

.code-window b {
  margin-right: 1rem;
  color: #54687d;
  font-weight: 400;
}

.experience-card {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  gap: 2rem;
}

.experience-meta p {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.experience-meta span,
.experience-title-row span {
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.experience-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.experience-title-row h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
}

.experience-body > p {
  max-width: 48rem;
  margin: 0;
  color: var(--text-soft);
}

.tag-list,
.credential-list {
  padding: 0;
  list-style: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  margin: 1.6rem 0 0;
  gap: 0.55rem;
}

.tag-list li,
.focus-list span {
  padding: 0.4rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  margin-top: 1.25rem;
  gap: 1.25rem;
}

.credentials-panel {
  min-height: 27rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.panel-label {
  margin-bottom: 2.5rem;
}

.credential-list {
  margin: 0;
}

.credential-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  gap: 1rem;
}

.credential-year {
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
}

.credential-list strong,
.credential-list div span {
  display: block;
}

.credential-list strong {
  font-weight: 600;
}

.credential-list div span {
  margin-top: 0.2rem;
  color: var(--text-faint);
  font-size: 0.78rem;
}

.honours-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 85% 10%, rgba(186, 245, 106, 0.16), transparent 45%),
    var(--surface-soft);
}

.honours-number {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.09em;
  text-align: right;
}

.honours-panel h3 {
  max-width: 10ch;
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 600;
}

.honours-panel > p:last-child {
  margin: 0;
  color: var(--text-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: stretch;
  gap: clamp(2rem, 7vw, 7rem);
}

.about-identity {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(103, 212, 255, 0.13), transparent 35%),
    var(--surface-soft);
}

.about-notes {
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--lime);
  border-radius: 0.4rem;
  background: var(--bg-elevated);
}

.about-notes .panel-label {
  margin: 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.about-notes dl {
  margin: 0;
}

.about-notes dl > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  padding: 1rem 1.25rem;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.about-notes dl > div:last-child {
  border-bottom: 0;
}

.about-notes dt {
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.about-notes dd {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.portrait-initials {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: transparent;
  font-size: clamp(8rem, 22vw, 17rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px var(--line-strong);
}

.portrait-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.about-copy {
  align-self: center;
}

.about-copy .eyebrow {
  margin-bottom: 1rem;
}

.about-copy h2 {
  margin-top: 0;
}

.about-lead {
  margin: 2.3rem 0 1.2rem;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.about-copy > p:not(.eyebrow, .about-lead) {
  color: var(--text-soft);
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 0.55rem;
}

.skills-panel {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.skills-panel > .eyebrow {
  margin-bottom: 1.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skills-grid > div {
  min-height: 9rem;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.skills-grid > div:last-child {
  border-right: 0;
}

.skills-grid span {
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skills-grid p {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.testimonial-draft {
  display: grid;
  grid-template-columns: minmax(9rem, 0.3fr) 1fr;
  min-height: 22rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.quote-mark {
  display: flex;
  align-items: flex-start;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: clamp(7rem, 14vw, 12rem);
  font-weight: 400;
  line-height: 0.85;
}

.testimonial-copy {
  align-self: center;
  max-width: 48rem;
  margin: 0;
  padding: clamp(2rem, 6vw, 5rem);
}

.testimonial-copy > p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
}

.testimonial-copy footer {
  display: grid;
  margin-top: 2rem;
  gap: 0.35rem;
}

.testimonial-copy footer strong {
  color: var(--lime);
  font-size: 1rem;
}

.testimonial-copy footer span {
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.video-dialog {
  width: min(92vw, 70rem);
  max-width: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.video-dialog::backdrop {
  background: rgba(1, 5, 10, 0.82);
  backdrop-filter: blur(8px);
}

.video-dialog-panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.video-dialog-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  font-size: 1.45rem;
}

.video-dialog-heading {
  padding-right: 3.5rem;
}

.video-dialog-heading h2 {
  max-width: 22ch;
  margin: 0.75rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
}

.video-dialog-heading > p:last-child {
  max-width: 52rem;
  margin: 1rem 0 1.5rem;
  color: var(--text-soft);
}

.video-dialog video {
  display: block;
  width: 100%;
  max-height: 65vh;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #000;
}

body.modal-open {
  overflow: hidden;
}

.contact {
  padding-bottom: 6rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  min-height: 31rem;
  padding: clamp(2rem, 6vw, 5rem);
  gap: clamp(2rem, 7vw, 7rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--lime);
  background: var(--bg-elevated);
  color: var(--text);
}

.contact-copy h2 {
  max-width: 9ch;
  margin-top: 1rem;
}

.contact-copy .eyebrow {
  color: var(--cyan);
}

.contact-copy > p:last-child {
  max-width: 36rem;
  margin-top: 1.8rem;
  color: var(--text-soft);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.button-light {
  width: 100%;
  border-color: var(--lime);
  background: var(--lime);
  color: #07111e;
}

.email-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.email-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
}

.email-list span {
  color: var(--text-faint);
  text-transform: uppercase;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-row a {
  display: flex;
  min-height: 7rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem;
  border-right: 1px solid var(--line);
  transition: background var(--transition), color var(--transition);
}

.social-row a:last-child {
  border-right: 0;
}

.social-row a:hover {
  background: var(--bg-elevated);
  color: var(--cyan);
}

.social-row span:first-child {
  font-weight: 700;
}

.social-row span:last-child {
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 6rem;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  justify-self: center;
}

.site-footer a {
  justify-self: end;
  color: var(--text-soft);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes scan {
  0%, 100% { top: 18%; opacity: 0.25; }
  50% { top: 80%; opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 1180px) {
  .icon-link {
    width: 2.6rem;
    padding: 0;
  }

  .icon-link span {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .brand-name,
  .button-small {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .hero-visual,
  .hero-profile {
    width: min(100%, 37rem);
    margin: 1rem auto 0;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid > div:nth-child(2) {
    border-right: 0;
  }

  .skills-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(3) {
    padding-left: 0;
  }

  .section-heading,
  .about-grid,
  .testimonial-draft,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .quote-mark {
    min-height: 9rem;
    padding-bottom: 0;
    border-right: 0;
  }

  .section-heading {
    align-items: start;
    gap: 1.5rem;
  }

  .about-identity {
    min-height: 29rem;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .social-row {
    grid-template-columns: 1fr;
  }

  .social-row a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .social-row a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 4.4rem;
  }

  .section {
    padding-top: 5.8rem;
  }

  .hero {
    padding-top: 5.5rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero-actions,
  .experience-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 4rem;
  }

  .metric {
    min-height: 7.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.6rem;
  }

  .metric-label br {
    display: none;
  }

  .project-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: auto;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid > div,
  .skills-grid > div:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .skills-grid > div:last-child {
    border-bottom: 0;
  }

  .project-art,
  .project-featured .project-art {
    height: 18rem;
  }

  .project-art-software {
    padding: 1.5rem;
  }

  .experience-card {
    grid-template-columns: 1fr;
  }

  .document-link-group > div,
  .project-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .project-button {
    width: 100%;
  }

  .credentials-panel {
    min-height: 24rem;
  }

  .email-list a {
    flex-direction: column;
    gap: 0.1rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }

  .site-footer p:first-child {
    display: none;
  }

  .site-footer p:nth-child(2) {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
