@font-face {
  font-family: Geist;
  src: url("assets/Geist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0c1015;
  --section: #10161c;
  --panel: #121920;
  --line: #29333e;
  --mint: #9bd7d0;
  --text: #edf2f4;
  --muted: #a8b4bd;
  --dim: #8d9ba5;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font:
    1rem/1.5 Geist,
    Arial,
    sans-serif;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
::selection {
  background: var(--mint);
  color: var(--bg);
}
.wrap {
  width: min(76rem, 100% - 2.5rem);
  margin-inline: auto;
}
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: #0c1015f2;
  backdrop-filter: blur(24px);
}
.nav {
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #527a7a;
  border-radius: 0.6rem;
  background: #17282a;
  color: #a9ddd7;
  font-size: 0.75rem;
}
.brand em {
  font-style: normal;
  color: #7d8b93;
}
.nav-links {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  gap: 1.75rem;
  white-space: nowrap;
  color: #b4c0c8;
  font-size: 0.875rem;
  font-weight: 500;
  scrollbar-width: none;
}
.nav-links a {
  padding: 0.75rem 0;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links [aria-current] {
  color: var(--mint);
}
.nav-contact {
  flex: none;
}
main,
footer {
  position: relative;
  z-index: 1;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient span {
  position: absolute;
}
.grid-light {
  inset: -10%;
  background:
    repeating-linear-gradient(90deg, #9bd7d00e 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, #9bd7d00e 0 1px, transparent 1px 110px);
  mask-image: radial-gradient(ellipse at 70% 35%, black, transparent 70%);
}
.halo {
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(48px);
}
.halo-top {
  width: min(60vw, 850px);
  top: -18%;
  right: -9%;
  background: radial-gradient(
    circle,
    #4fb0a94d,
    #3474871f 45%,
    transparent 72%
  );
}
.halo-bottom {
  width: min(66vw, 920px);
  bottom: -36%;
  left: -24%;
  background: radial-gradient(
    circle,
    #296f8530,
    #2c677812 48%,
    transparent 72%
  );
}
.orbit {
  width: min(44vw, 640px);
  aspect-ratio: 1;
  border: 1px solid #9bd7d038;
  border-radius: 50%;
  top: 9%;
  right: 4%;
  box-shadow:
    0 0 90px #4fb0a909,
    inset 0 0 90px #4fb0a906;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.orbit::before {
  inset: 13%;
  border: 1px solid #9bd7d01f;
}
.orbit::after {
  top: 11%;
  left: 17%;
  width: 7px;
  height: 7px;
  background: #9bd7d0cc;
  box-shadow: 0 0 16px #9bd7d0bf;
}
.hero {
  background:
    radial-gradient(circle at 78% 22%, #5eb3ac1a, transparent 30%),
    linear-gradient(180deg, #111920d1, #0c1015cc 76%);
  border-bottom: 1px solid var(--line);
}
.hero > .wrap {
  padding-block: 5rem;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.hero-meta span:last-child {
  font-size: 0.75rem;
  color: var(--dim);
}
.eyebrow {
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 4rem;
  align-items: center;
}
.role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b4dcd8;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.display,
.page-title,
.section-title {
  color: white;
}
.display {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-weight: 650;
  line-height: 0.99;
  letter-spacing: -0.07em;
}
.accent {
  color: var(--mint);
}
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.67;
  max-width: 42rem;
}
.hero .lead {
  margin-top: 2rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
}
.button {
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #43505b;
  color: var(--text);
  background: transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.button:hover {
  border-color: var(--mint);
  background: #17232a;
  transform: translateY(-3px);
}
.button.primary {
  background: var(--mint);
  color: #081417;
  border-color: transparent;
}
.button.primary:hover {
  background: #b4e9e2;
}
.button.small {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}
.text-link {
  color: #a4dbd6;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}
.text-link:hover {
  color: white;
}
.button svg,
.text-link svg {
  width: 1em;
  height: 1em;
  flex: none;
  transition: transform 0.25s;
}
.button:hover svg,
.text-link:hover svg {
  transform: translate(2px, -2px);
}
.portrait {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  position: relative;
}
.portrait::before,
.portrait::after {
  content: "";
  position: absolute;
  width: 6rem;
  height: 6rem;
  pointer-events: none;
}
.portrait::before {
  top: -20px;
  left: -20px;
  border-top: 1px solid #5c8585;
  border-left: 1px solid #5c8585;
}
.portrait::after {
  bottom: -20px;
  right: -16px;
  border-bottom: 1px solid #5c8585;
  border-right: 1px solid #5c8585;
}
.portrait-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/4.4;
  border: 1px solid #40545a;
  border-radius: 1.25rem;
  background: #1b242a;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}
.portrait-label {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(transparent, #081014e6);
  color: white;
  padding: 4rem 1.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  margin-top: 5rem;
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat strong {
  color: white;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.stat span {
  max-width: 10rem;
  color: #95a2ac;
  font-size: 0.75rem;
  line-height: 1.6;
}
.scroll-link {
  grid-column: 1/-1;
  justify-self: start;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.band {
  padding-block: 7rem;
}
.band-dark {
  border-block: 1px solid var(--line);
  background: var(--section);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin-top: 0.75rem;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 2.25rem;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s,
    background 0.35s,
    box-shadow 0.35s;
}
.project-card.featured {
  min-height: 420px;
}
.project-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 78% 15%, #9bd7d01f, transparent 48%);
  opacity: 0;
  transition: opacity 0.35s;
}
.project-card:hover,
.project-card.revealed:hover {
  border-color: #548b8b;
  background: #172129;
  transform: translateY(-6px);
  box-shadow: 0 22px 44px #0003;
}
.project-card:hover::before {
  opacity: 1;
}
.card-top,
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.serial {
  font:
    0.75rem/1.3 ui-monospace,
    monospace;
  color: #93a3ac;
}
.card-body {
  margin-top: 2rem;
}
.featured .card-body {
  margin-top: 3rem;
}
.card-body h2,
.card-body h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: white;
}
.featured .card-body h3 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
}
.card-body .description {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 2;
}
.card-tail {
  padding-top: 2rem;
  margin-top: auto;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}
.card-number {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: #a4dbd6;
  font-weight: 600;
}
.card-note {
  color: var(--dim);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.tag {
  border: 1px solid #34414a;
  border-radius: 999px;
  color: #bfd0d5;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.4rem 0.7rem;
}
.about-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 5rem;
}
.about-layout .text-link {
  margin-top: 2rem;
}
.prose {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
}
.prose p + p {
  margin-top: 1.5rem;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tool {
  padding: 1.5rem;
}
.tool h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}
.tool .tags {
  margin-top: 1.25rem;
}
.rows {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: start;
  gap: 2rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.row h2,
.row h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: white;
}
.row p {
  color: var(--muted);
  margin-top: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.8;
}
.row .company {
  color: #a4dbd6;
}
.row time {
  color: var(--dim);
  font-size: 0.75rem;
}
.row.with-hover {
  transition:
    padding 0.3s,
    background 0.3s;
}
.row.with-hover:hover {
  padding-inline: 0.75rem;
  background: #9bd7d009;
}
.row.work {
  grid-template-columns: 4rem minmax(0, 1fr) minmax(260px, 0.7fr);
  padding-block: 2.25rem;
}
.row.work h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-top: 0.5rem;
}
.work-aside {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.site-footer {
  padding-block: 3rem;
  background: #0a0e12;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
}
.footer-grid h2 {
  color: white;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  max-width: 32rem;
  line-height: 1.1;
  margin-top: 0.75rem;
}
.footer-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 2;
  margin-top: 1rem;
  max-width: 28rem;
}
.footer-grid .text-link {
  margin-top: 1.5rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 0.75rem 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-links a:hover {
  color: white;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #8998a3;
  font-size: 0.75rem;
}
.page {
  min-height: 75vh;
  padding-block: 5rem 7rem;
}
.page-title {
  font-size: clamp(2.9rem, 6vw, 5rem);
  font-weight: 630;
  letter-spacing: -0.06em;
  line-height: 1.04;
  margin-top: 1rem;
  max-width: 52rem;
}
.page-intro .lead {
  margin-top: 1.5rem;
}
.page-intro + .card-grid,
.page-intro + .panel,
.page-intro + .rows {
  margin-top: 3rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: end;
  margin: 2.5rem 0 1.25rem;
}
.filters label {
  display: grid;
  gap: 0.35rem;
  color: #bfd0d5;
  font-size: 0.75rem;
}
.filters input,
.filters select {
  background: var(--panel);
  border: 1px solid #43505b;
  border-radius: 0.55rem;
  color: white;
  padding: 0.6rem 0.8rem;
  min-width: 0;
  max-width: 100%;
}
.results {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.resume-preview {
  padding: 0.75rem;
  margin-top: 3rem;
}
.resume-preview iframe {
  display: block;
  width: 100%;
  height: 75vh;
  min-height: 620px;
  border: 0;
  border-radius: 0.5rem;
  background: white;
}
.detail-band {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding-top: 2.75rem;
}
.detail-band .prose {
  margin-top: 1rem;
}
.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.screen {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  color: var(--muted);
  padding: 0.75rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.screen:hover {
  transform: translateY(-3px);
  border-color: var(--mint);
}
.screen img {
  height: 320px;
  width: 100%;
  object-fit: contain;
}
.screen span {
  font-size: 0.75rem;
}
.gallery {
  position: fixed;
  width: min(90vw, 970px);
  max-height: 92vh;
  padding: 1rem;
  color: var(--text);
}
.gallery::backdrop {
  background: #07090ce8;
}
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.gallery-bar h2 {
  font-size: 1rem;
  font-weight: 600;
}
.gallery-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}
.gallery-stage img {
  height: min(61vh, 620px);
  width: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.gallery-stage.zoomed {
  overflow: auto;
}
.gallery-stage.zoomed img {
  height: auto;
  max-height: none;
  cursor: zoom-out;
}
.gallery-controls {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-top: 0.75rem;
}
.gallery-controls button {
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: transparent;
  flex: none;
}
.gallery-controls [aria-current] {
  border-color: var(--mint);
}
.gallery-controls img {
  width: 35px;
  height: 48px;
  object-fit: contain;
}
.gallery button:disabled {
  cursor: default;
  opacity: 0.35;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s var(--ease),
    border-color 0.35s,
    background 0.35s,
    box-shadow 0.35s;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal.row.with-hover {
  transition:
    opacity 0.7s ease,
    transform 0.7s var(--ease),
    background 0.3s,
    padding 0.3s;
}
.enter-copy,
.enter-portrait,
.enter-stats {
  animation: arrive 0.85s var(--ease) both;
}
.enter-portrait {
  animation-duration: 1s;
  animation-delay: 0.18s;
}
.enter-stats {
  animation-duration: 0.9s;
  animation-delay: 0.42s;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1023px) {
  .nav-contact {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero .lead {
    max-width: 40rem;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .wrap {
    width: min(76rem, 100% - 2rem);
  }
  .row,
  .row.work {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .work-aside {
    padding-left: 0;
    border: 0;
  }
}
@media (max-width: 639px) {
  .nav {
    gap: 1rem;
    justify-content: flex-start;
  }
  .brand-name,
  .hero-meta span:last-child,
  .portrait::before,
  .portrait::after {
    display: none;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.75rem;
  }
  .hero > .wrap {
    padding-block: 3rem 3.5rem;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .band {
    padding-block: 5rem;
  }
  .page {
    padding-block: 3.5rem 5rem;
  }
  .project-card {
    padding: 1.75rem;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .gallery-stage {
    gap: 0.25rem;
  }
  .gallery-stage button {
    padding: 0.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.work-intro,
.resume-intro {
  display: grid;
  align-items: end;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.5rem;
}

.work-intro + .rows {
  border-top: 0;
  margin-top: 0.75rem;
}

.education-layout {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.education-layout .rows {
  margin-top: 0;
}

.training-panel {
  min-height: 270px;
  padding: 2rem;
  background:
    radial-gradient(circle at 85% 20%, #9bd7d020, transparent 62%), var(--panel);
}

.training-panel h2 {
  margin-top: 0.75rem;
  color: white;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.training-panel ul {
  padding-inline-start: 1.2rem;
  color: var(--muted);
  line-height: 2;
}

@media (min-width: 1024px) {
  .work-intro {
    grid-template-columns: 1fr 0.75fr;
  }
  .resume-intro {
    grid-template-columns: 1fr auto;
  }
  .education-layout {
    grid-template-columns: 1fr 0.8fr;
  }
}

.catalog-card {
  padding: 1.5rem;
}
.catalog-card .card-body {
  margin-top: 1.25rem;
}
.catalog-card .card-body a:hover {
  color: var(--mint);
}
.catalog-card .card-tail {
  padding-top: 1.5rem;
}
.catalog-card .card-top {
  margin-bottom: 1rem;
}
.project-art {
  --project-tint: #9bd7d0;
  aspect-ratio: 2.35;
  min-width: 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  background:
    radial-gradient(
      ellipse at 70% 20%,
      color-mix(in srgb, var(--project-tint) 18%, transparent),
      transparent 72%
    ),
    #0c1319;
}
.project-art.has-preview {
  aspect-ratio: auto;
  height: clamp(320px, 38vw, 440px);
  padding: 1rem;
}
.project-art.has-preview img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.project-art.detail-art.has-preview {
  height: clamp(400px, 52vw, 560px);
}
.project-art.work-preview {
  display: grid;
  height: 320px;
}
.tone-gold {
  --project-tint: #e3bd82;
}
.tone-blue {
  --project-tint: #94bbec;
}
.tone-lilac {
  --project-tint: #bfb0ea;
}
.tone-lime {
  --project-tint: #b7d78b;
}
.project-orbit {
  position: absolute;
  width: min(65%, 19rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--project-tint);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.project-orbit::after {
  position: absolute;
  content: "";
  inset: 13%;
  border: 1px solid currentColor;
  border-radius: inherit;
}
.project-mark {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 650;
  letter-spacing: -0.07em;
  color: var(--project-tint);
}
.art-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  color: var(--project-tint);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.detail-art {
  aspect-ratio: 1.45;
}
.detail-heading,
.feature-panel h3 {
  margin-top: 0.4rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature-panel {
  padding: 1.35rem;
}
.feature-panel p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.project-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.project-page-link {
  flex: 1 1 16rem;
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}
.project-page-link:hover {
  border-color: var(--mint);
}
@media (max-width: 767px) {
  .project-detail-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.other-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem;margin-top:2rem}
.other-project{padding:1.5rem 0;border-bottom:1px solid var(--line)}
.other-project h3{font-size:1.2rem;color:white}
.other-project p{margin-top:.6rem;color:var(--muted);font-size:.9rem;line-height:1.7}
.work-preview{display:block;width:100%;aspect-ratio:1.8;margin-bottom:1rem}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.contact-form{padding:2rem;display:grid;gap:1.25rem}
.contact-form label{display:grid;gap:.5rem;font-size:.875rem;color:var(--text)}
.contact-form input,.contact-form textarea,.chat-form input{width:100%;background:#0c1319;border:1px solid #43505b;border-radius:.5rem;padding:.75rem;color:white;font:inherit;min-width:0}
.contact-form textarea{resize:vertical}
.contact-form .form-trap{display:none}
.brand-mark{position:relative;font-size:.8rem;font-weight:750;letter-spacing:-.08em;background:linear-gradient(135deg,#204143,#0e191e);border-color:#7fbab5;border-radius:11px 11px 11px 3px;box-shadow:inset 0 0 0 3px #0c171b}
.logo-dot{color:#e3bd82;font-size:1.2rem;line-height:0;margin-top:-.15rem}
.chat-widget{position:fixed;bottom:1.2rem;right:1.2rem;z-index:20}
.chat-toggle{box-shadow:0 8px 35px #0005}
.chat-panel{position:absolute;bottom:4.2rem;right:0;width:min(370px,calc(100vw - 2rem));max-height:calc(100dvh - 7rem);display:flex;flex-direction:column;padding:1rem;box-shadow:0 16px 60px #0008}
.chat-heading{display:flex;justify-content:space-between;align-items:center;gap:.75rem}
.chat-messages{overflow-y:auto;min-height:140px;max-height:300px;padding:1rem 0;display:grid;align-content:start;gap:.75rem;overscroll-behavior:contain}
.chat-message{font-size:.875rem;line-height:1.6;white-space:pre-line;background:#1b2a30;border-radius:.75rem;padding:.75rem}
.chat-message.user{background:#27383d;margin-left:2rem}
.chat-message a{display:inline-block;color:var(--mint);text-decoration:underline;margin-top:.5rem}
.chat-suggestions{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}
.chat-suggestions button{border:1px solid var(--line);color:var(--mint);background:transparent;border-radius:1rem;padding:.3rem .6rem;font-size:.75rem}
.chat-form{display:flex;gap:.5rem}
.chat-form input{font-size:.8rem}
.chat-form .button{padding:.65rem .8rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:767px){.contact-layout,.other-projects{grid-template-columns:1fr}.contact-layout{gap:2rem}.contact-form{padding:1.25rem}.chat-widget{right:1rem;bottom:1rem}}

@media(max-width:639px){
 .nav-links{gap:.75rem;font-size:.7rem}
 .nav{gap:.75rem}
 .brand-mark{width:32px;height:32px}
}

/* The overlapping lettermark and broken ring replace the boxed monogram. */
.brand-mark.logo-new {
  width: 43px;
  height: 43px;
  border: 1px solid #497773;
  border-right-color: transparent;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}
.logo-new .logo-a,.logo-new .logo-v {
  position: absolute;
  font-size: 26px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.1em;
}
.logo-new .logo-a { left: 7px; top: 4px; color: #a4ddd5; }
.logo-new .logo-v { left: 18px; top: 13px; color: #e3bd82; }
.robot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 10px 30px #0007;
}
.robot-toggle .robot-icon { width: 32px; height: 32px; }
.robot-toggle:hover .robot-icon { transform: translateY(-2px); }
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--mint);
  color: var(--bg);
  padding: .7rem 1rem;
  border-radius: .5rem;
}
.skip-link:focus { transform: none; }

.blog-list{margin-top:3rem}
.blog-card{display:grid;grid-template-columns:.65fr 1fr;overflow:hidden}
.blog-card-art{display:grid;place-items:center;min-height:240px;background:radial-gradient(ellipse at 15% 10%,#316c7755,transparent 80%),#14242b;padding:2rem}
.blog-code{color:var(--mint);font:600 clamp(1.4rem,3vw,2.5rem)/1.2 ui-monospace,monospace;letter-spacing:-.05em}
.blog-card-content{padding:2rem}
.blog-card h2,.blog-home-card h3{font-size:clamp(1.5rem,2.5vw,2rem);color:white;line-height:1.2;letter-spacing:-.04em;margin:.8rem 0}
.blog-card h2 a:hover,.blog-home-card h3 a:hover{color:var(--mint)}
.blog-card-content>p:not(.eyebrow),.blog-home-card>p:not(.eyebrow){color:var(--muted);line-height:1.8}
.blog-card .text-link{margin-top:1.25rem}
.article-meta{font-size:.8rem;color:var(--dim);margin-top:1.25rem}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:4rem;align-items:start}
.blog-article{min-width:0;max-width:820px}
.blog-article .page-title{font-size:clamp(2.5rem,5vw,4.8rem)}
.blog-article .eyebrow{margin-top:1.5rem}
.article-prose{font-size:1.08rem;line-height:1.9;color:var(--muted);margin-top:2.75rem}
.article-prose p+p{margin-top:1.1rem}
.article-prose section{margin-top:2.75rem;scroll-margin-top:7rem}
.article-prose h2{font-size:clamp(1.4rem,2vw,1.8rem);color:white;line-height:1.3;font-weight:600;letter-spacing:-.03em;margin-bottom:1rem}
.article-source{font-size:.8rem}
.article-source a{color:var(--mint);text-decoration:underline;text-underline-offset:4px}
.article-prose code{color:#d7ebe6;background:#223139;border-radius:.3rem;padding:.1rem .3rem;font-size:.95em}
.article-author{padding:1.5rem;margin-top:3rem}
.article-author p{font-size:.9rem;color:var(--muted);margin:.6rem 0 1rem}
.article-sidebar{position:sticky;top:7rem;padding-top:1rem}
.article-sidebar nav{display:grid;gap:.85rem;margin:1.2rem 0 2rem;color:var(--muted);font-size:.9rem}
.article-sidebar nav a:hover{color:var(--mint)}
.article-sidebar .button{font-size:.75rem}
.blog-home-card{padding:2rem}
.blog-home-card .text-link{margin-top:1rem}
@media(max-width:1023px){.article-layout{grid-template-columns:minmax(0,1fr);gap:2rem}.article-sidebar{position:static;padding-top:0}.article-sidebar nav{display:flex;flex-wrap:wrap}}
@media(max-width:639px){.blog-card{grid-template-columns:1fr}.blog-card-art{min-height:160px}.blog-card-content{padding:1.5rem}.nav-links{gap:.7rem}}

.blog-card-art.blog-cover-card{padding:0;background:#101b22;overflow:hidden}
.blog-cover-card img{width:100%;height:100%;object-fit:cover;object-position:68% center}
.article-cover{margin-top:2.5rem;overflow:hidden;border:1px solid var(--line);border-radius:1rem}
.article-cover img{display:block;width:100%;height:auto}
.home-blog-cover{display:block;margin:-2rem -2rem 1.5rem;overflow:hidden;border-radius:1.25rem 1.25rem 0 0}
.home-blog-cover img{width:100%;max-height:330px;object-fit:cover;object-position:center}

/* App identity banners use dedicated WebP icons. */
.project-art.app-banner {
  height: 245px;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #9bd7d022, transparent 75%), #101b23;
}
.app-banner::before, .app-banner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #9bd7d014;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.app-banner::before { left: -90px; bottom: -75px; }
.app-banner::after { right: -90px; top: -75px; }
.app-logo-window {
  display: block;
  position: relative;
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 25px #0003;
  background: #fff;
}
.app-logo-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-banner-name {
  display: block;
  margin-top: .35rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 650;
  color: #f7fbfd;
}
.app-banner-caption {
  display: block;
  font-size: .75rem;
  line-height: 1.4;
  color: #a6b8c3;
  letter-spacing: .045em;
}
.featured .app-banner { margin-top: 1.5rem; }
.featured .card-body { margin-top: 1.8rem; }
.project-art.detail-art.app-banner { height: 340px; }
.project-art.work-preview.app-banner { height: 245px; }
@media (max-width: 600px) {
  .project-art.app-banner { height: 225px; padding: 1.25rem; }
  .project-art.detail-art.app-banner { height: 280px; }
}

.app-banner[data-app-banner="knockme"] .app-logo-window::after {
 content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: white;
}
.app-banner[data-app-banner="starpipes-fittings"] .app-logo-window::after {
 content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 23px; background: #0054d3;
}
