:root {
  color-scheme:dark;
  --bg:#111214;
  --surface:#1b1d21;
  --text:#f2f0eb;
  --muted:#a8adb5;
  --accent:#ffb454;
  --hover:#ffc77d;
  --border:#383c43;
  --ease:cubic-bezier(.22,1,.36,1);
  font-family:Inter,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  font-synthesis:none;
  scroll-behavior:smooth;
  scroll-padding-top:36px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a:focus-visible,button:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:6px;
  border-radius:4px;
}
::selection {
  color:var(--bg);
  background:var(--accent);
}
p,h1,h2,h3 {
  margin:0;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:wait;
}
a,button {
  touch-action:manipulation;
}
.skip-link {
  position:absolute;
  top:12px;
  left:16px;
  z-index:10;
  background:var(--accent);
  color:var(--bg);
  padding:16px;
  transform:translateY(-200%);
}
.skip-link:focus {
  transform:translateY(0);
}
.page-progress {
  position:fixed;
  top:0;
  left:0;
  height:2px;
  width:100%;
  transform:scaleX(0);
  transform-origin:left;
  background:var(--accent);
  z-index:20;
  pointer-events:none;
}
.site-header,main,.site-footer {
  width:min(1200px,calc(100% - 96px));
  margin-inline:auto;
}
.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:30px 0;
  border-bottom:1px solid var(--border);
  gap:32px;
}
.wordmark {
  display:flex;
  gap:16px;
  align-items:center;
  flex-shrink:0;
}
.monogram {
  font-size:38px;
  letter-spacing:-4px;
  font-weight:500;
  line-height:1;
}
.monogram span {
  color:var(--accent);
}
.wordmark-caption {
  font-size:11px;
  line-height:1.65;
  letter-spacing:1.1px;
}
.wordmark-caption>span {
  color:var(--muted);
  font-size:9px;
  letter-spacing:1.2px;
}
.site-header nav {
  display:flex;
  gap:30px;
  align-items:center;
  font-size:14px;
}
.site-header nav a {
  display:inline-flex;
  gap:24px;
  align-items:center;
  min-height:44px;
  color:var(--muted);
  transition:color .2s;
}
.site-header nav a:hover {
  color:var(--text);
}
.site-header nav .nav-contact {
  color:var(--text);
  border-bottom:1px solid var(--accent);
}
.nav-contact span {
  color:var(--accent);
  font-size:21px;
}
.hero {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center;
  padding:88px 0 72px;
}
.eyebrow,.micro-label,.project-meta,.system-index,.packet-label,.node-number,.hero-footnote,.skill-index,.more-number {
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
.eyebrow {
  font-size:12px;
  letter-spacing:1.5px;
  line-height:1.6;
}
.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:1px;
}
.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  box-shadow:0 0 12px #ffb45445;
}
.hero h1 {
  font-weight:500;
  font-size:clamp(70px,7.7vw,108px);
  letter-spacing:-6px;
  line-height:.98;
  margin:32px 0;
}
.hero h1>span {
  color:var(--accent);
}
.hero-description .role {
  font-size:22px;
  color:var(--text);
  margin-bottom:16px;
}
.hero-description>p:last-child {
  font-size:17px;
  line-height:1.7;
  color:var(--muted);
  max-width:465px;
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:32px;
  margin-top:32px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  min-height:54px;
  padding:16px 24px;
  gap:32px;
  border-radius:12px;
  font-size:15px;
  font-weight:500;
  transition:transform .2s var(--ease),background .2s;
}
.button-primary {
  color:var(--bg);
  background:var(--accent);
}
.button-primary:hover {
  background:var(--hover);
  transform:translateY(-3px);
}
.button>span,.text-link>span {
  font-size:21px;
  transition:transform .2s;
}
.button:hover>span,.text-link:hover>span {
  transform:translate(2px,-2px);
}
.text-link {
  font-size:15px;
  display:inline-flex;
  gap:16px;
  align-items:center;
  min-height:44px;
}
.hero-location {
  font-size:13px;
  color:var(--muted);
  margin-top:32px;
}
.hero-location span {
  padding:0 8px;
  color:var(--accent);
}
.system-card {
  min-width:0;
  position:relative;
  background:linear-gradient(135deg,#202125,#17181b 70%);
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  margin-top:28px;
  box-shadow:0 30px 60px #0002;
}
.system-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 26px;
  border-bottom:1px solid #383c4366;
  gap:16px;
}
.micro-label {
  font-size:11px;
  letter-spacing:1.2px;
  line-height:1.6;
}
.system-heading .micro-label {
  color:var(--muted);
}
.system-index {
  font-size:11px;
  color:var(--accent);
  white-space:nowrap;
}
.system-diagram {
  height:348px;
  position:relative;
  background-image:radial-gradient(#66666630 .8px,transparent .8px);
  background-size:20px 20px;
  margin:8px 12px;
}
.connections {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
.wire,.wire-active {
  fill:none;
  stroke-width:1.5;
  stroke:var(--border);
}
.wire-active {
  stroke:var(--accent);
  stroke-dasharray:30 420;
  stroke-dashoffset:450;
  opacity:0;
}
.system-node {
  position:absolute;
  width:59%;
  padding:17px 19px;
  background:#202226;
  border:1px solid #41454d;
  border-radius:12px;
  transition:border-color .3s,box-shadow .3s,transform .4s var(--ease);
}
.node-interface {
  top:16px;
  left:5%;
  z-index:3;
}
.node-api {
  top:124px;
  left:20%;
  z-index:2;
}
.node-data {
  top:232px;
  left:35%;
  z-index:1;
}
.node-title {
  display:flex;
  align-items:center;
  gap:13px;
  font-size:16px;
}
.node-title small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:6px;
  letter-spacing:.3px;
}
.node-symbol {
  color:var(--accent);
  font-family:monospace;
  font-size:22px;
  letter-spacing:-2px;
  min-width:30px;
}
.node-number {
  margin-left:auto;
  font-size:10px;
  color:var(--muted);
}
.node-rule {
  height:1px;
  background:#383c43;
  margin:12px 0 10px;
}
.node-caption {
  font-size:10px;
  color:var(--muted);
}
.packet-label {
  position:absolute;
  top:189px;
  left:4%;
  font-size:9px;
  letter-spacing:1px;
  color:#a8adb580;
  writing-mode:vertical-rl;
}
.system-node.is-active {
  border-color:var(--accent);
  box-shadow:0 0 24px #ffb45416;
  transform:translateY(-3px);
}
.system-card.is-running .wire-active {
  animation:request-flow 1.8s linear both;
}
.system-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:62px;
  padding:16px 24px;
  border-top:1px solid #383c4366;
}
.system-message {
  font-size:11px;
  color:var(--muted);
}
.replay {
  background:transparent;
  border:0;
  color:var(--accent);
  font-size:11px;
  display:flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  padding:4px;
  white-space:nowrap;
}
.replay>span {
  font-size:20px;
}
.replay:disabled {
  opacity:.55;
}
.hero-footnote {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--border);
  padding:24px 0;
  color:var(--muted);
  font-size:10px;
  letter-spacing:1px;
}
.hero-footnote .slash {
  color:var(--accent);
  padding:0 16px;
}
.hero-footnote a {
  display:flex;
  gap:20px;
  align-items:center;
  min-height:32px;
}
.hero-footnote a>span {
  color:var(--accent);
  font-size:22px;
}
.section {
  padding-top:108px;
  padding-bottom:12px;
  scroll-margin-top:24px;
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:48px;
  margin-bottom:44px;
}
.section-number {
  color:var(--accent);
  font-size:11px;
  margin-bottom:24px;
}
h2 {
  font-weight:500;
  font-size:clamp(34px,4vw,52px);
  letter-spacing:-2px;
  line-height:1.15;
}
.muted {
  color:var(--muted);
}
.accent {
  color:var(--accent);
}
.section-intro {
  max-width:320px;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  padding-bottom:4px;
}
.project {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:24px;
  padding:36px;
  display:flex;
  flex-direction:column;
  transition:transform .25s var(--ease),border-color .25s;
  min-width:0;
}
.project:hover,.project:focus-within {
  border-color:#a67a45;
  transform:translateY(-4px);
}
.project-featured {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  padding:0;
  overflow:hidden;
}
.project-copy {
  padding:40px;
}
.project-meta {
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted);
  letter-spacing:.4px;
  line-height:1.6;
}
.project-meta>span:first-child {
  color:var(--accent);
}
.project h3 {
  font-size:30px;
  font-weight:500;
  line-height:1.18;
  letter-spacing:-.7px;
  margin-top:24px;
  margin-bottom:20px;
}
.project-featured h3 {
  font-size:44px;
  letter-spacing:-1.5px;
}
.project p {
  font-size:15px;
  color:var(--muted);
  line-height:1.7;
}
.contribution {
  margin-top:24px;
}
.contribution .micro-label {
  color:var(--text);
  font-size:10px;
}
.contribution p {
  margin-top:10px;
  font-size:14px;
}
.tags {
  list-style:none;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:24px 0 32px;
}
.tags li {
  border:1px solid #4a4d54;
  border-radius:6px;
  padding:6px 10px;
  font-size:11px;
  color:var(--text);
  line-height:1.3;
}
.project-link {
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  color:var(--accent);
  padding-top:20px;
  border-top:1px solid var(--border);
  min-height:44px;
}
.project-link>span {
  font-size:25px;
  transition:transform .2s;
}
.project-link:hover>span {
  transform:translate(3px,-3px);
}
.project-flow {
  background:#151619;
  padding:40px;
  display:flex;
  flex-direction:column;
  border-left:1px solid var(--border);
}
.flow-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
}
.flow-label>span:last-child {
  font-size:26px;
  color:var(--accent);
}
.flow-steps {
  padding:0;
  list-style:none;
  position:relative;
  margin:36px 0 28px;
}
.flow-steps:before {
  content:"";
  position:absolute;
  left:19px;
  top:25px;
  bottom:25px;
  border-left:1px solid #78603e;
}
.flow-steps li {
  position:relative;
  display:flex;
  gap:20px;
  align-items:center;
  padding:0 0 30px;
}
.flow-steps li:last-child {
  padding-bottom:0;
}
.step-count {
  font-family:monospace;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#24211c;
  color:var(--accent);
  width:40px;
  height:40px;
  border:1px solid #655033;
  border-radius:50%;
  flex-shrink:0;
  font-size:12px;
}
.flow-steps strong {
  font-size:16px;
  font-weight:500;
}
.flow-steps div>span {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:6px;
}
.flow-result {
  border-top:1px solid var(--border);
  padding-top:24px;
  font-size:12px;
  color:var(--accent);
  margin-top:auto;
  display:flex;
  gap:16px;
  align-items:center;
}
.flow-result>span {
  font-size:24px;
}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:24px;
}
.project-mark {
  font-family:monospace;
  color:var(--accent);
  font-size:23px;
  letter-spacing:-1px;
  margin:34px 0 4px;
}
.project-grid .project h3 {
  margin-top:12px;
}
.more-projects {
  margin-top:48px;
}
.more-projects>.micro-label {
  color:var(--muted);
  margin-bottom:16px;
}
.more-projects>a {
  display:flex;
  align-items:center;
  gap:32px;
  padding:28px 8px;
  border-top:1px solid var(--border);
  transition:background .2s;
}
.more-projects>a:last-child {
  border-bottom:1px solid var(--border);
}
.more-projects>a:hover {
  background:var(--surface);
}
.more-number {
  font-size:12px;
  color:var(--muted);
}
.more-title {
  font-size:19px;
}
.more-title small {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
}
.more-stack {
  font-size:12px;
  color:var(--muted);
  margin-left:auto;
}
.link-arrow {
  color:var(--accent);
  font-size:26px;
  margin-left:8px;
}
.skill-row {
  display:grid;
  grid-template-columns:32px 190px 1fr 180px;
  gap:24px;
  align-items:center;
  border-top:1px solid var(--border);
  padding:30px 0;
}
.skill-row:last-child {
  border-bottom:1px solid var(--border);
}
.skill-index {
  font-size:11px;
  color:var(--muted);
}
.skill-row h3 {
  font-size:20px;
  font-weight:500;
}
.skill-row p {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}
.skill-row p>span {
  padding:0 7px;
  color:#79726a;
}
.skill-row a {
  color:var(--accent);
  font-size:11px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.skill-row a>span {
  font-size:22px;
}
.about {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  padding-bottom:112px;
  border-bottom:1px solid var(--border);
}
.about h2 {
  font-size:42px;
  line-height:1.25;
}
.about-copy {
  padding-top:44px;
}
.about-copy>p {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  margin-bottom:20px;
}
.about-copy>.about-lead {
  font-size:23px;
  color:var(--text);
  line-height:1.5;
  letter-spacing:-.4px;
}
.education {
  margin-top:36px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--surface);
}
.education .micro-label {
  color:var(--accent);
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:10px;
}
.education .micro-label>span {
  color:var(--muted);
}
.education h3 {
  font-size:28px;
  font-weight:500;
  margin:22px 0 8px;
}
.education p {
  font-size:15px;
  line-height:1.6;
}
.education .education-program {
  color:var(--muted);
  font-size:13px;
  margin-top:16px;
}
.education .education-detail {
  color:var(--muted);
  font-size:12px;
  margin-top:10px;
}
.graduated {
  display:block;
  border-top:1px solid var(--border);
  padding-top:18px;
  margin-top:20px;
  font-size:11px;
  color:var(--accent);
}
.contact {
  padding-bottom:100px;
}
.contact-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px;
}
.contact h2 {
  font-size:clamp(40px,5.4vw,72px);
  letter-spacing:-3px;
}
.contact-description {
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  margin:28px 0 44px;
}
.contact-links {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
}
.contact-links>a {
  display:flex;
  flex-direction:column;
  gap:16px;
  border-top:1px solid var(--border);
  padding-top:20px;
  min-width:0;
}
.contact-links>a>.micro-label {
  color:var(--muted);
  font-size:10px;
}
.contact-links>a>span:last-child {
  font-size:16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  overflow-wrap:anywhere;
}
.contact-links>a>span:last-child>span {
  color:var(--accent);
}
.contact-links>a:hover {
  border-color:var(--accent);
}
.site-footer {
  border-top:1px solid var(--border);
  padding:28px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  font-size:11px;
  color:var(--muted);
}
.site-footer a {
  min-height:44px;
  display:flex;
  align-items:center;
  color:var(--text);
}
@keyframes request-flow {
  0% {
    opacity:0;
    stroke-dashoffset:450;
  }
  15% {
    opacity:1;
  }
  85% {
    opacity:1;
  }
  100% {
    opacity:0;
    stroke-dashoffset:-60;
  }
}
@media(min-width:801px) {
  .hero-copy .entrance:nth-child(2) {
    animation-delay:80ms;
  }
  .hero-copy .entrance:nth-child(3) {
    animation-delay:140ms;
  }
  .hero-copy .entrance:nth-child(4) {
    animation-delay:210ms;
  }
}
@media(max-width:1100px) {
  .site-header,main,.site-footer {
    width:calc(100% - 64px);
  }
  .hero {
    gap:32px;
  }
  .hero h1 {
    font-size:88px;
  }
  .hero .eyebrow {
    font-size:9px;
  }
  .wordmark-caption {
    display:none;
  }
  .site-header nav {
    gap:24px;
  }
  .system-heading {
    padding-inline:18px;
  }
  .system-heading .micro-label {
    font-size:9px;
  }
  .system-node {
    width:65%;
    padding:14px;
  }
  .node-interface {
    left:1%;
  }
  .node-api {
    left:16%;
  }
  .node-data {
    left:31%;
  }
  .node-title {
    gap:10px;
    font-size:14px;
  }
  .node-symbol {
    min-width:25px;
  }
  .system-footer {
    padding-inline:14px;
  }
  .system-message {
    font-size:10px;
  }
  .skill-row {
    grid-template-columns:24px 150px 1fr 140px;
    gap:16px;
  }
  .project-copy,.project-flow {
    padding:32px;
  }
  .about {
    gap:48px;
  }
  .about h2 {
    font-size:36px;
  }
  .contact-links {
    gap:24px;
  }
  .contact-links>a>span:last-child {
    font-size:14px;
  }
}
@media(max-width:800px) {
  .hero {
    grid-template-columns:1fr;
    padding-top:56px;
    gap:24px;
  }
  .hero h1 {
    font-size:100px;
  }
  .hero .eyebrow {
    font-size:10px;
  }
  .hero-copy {
    max-width:600px;
  }
  .system-card {
    max-width:560px;
    width:100%;
    justify-self:center;
    margin-top:24px;
  }
  .system-node {
    width:59%;
  }
  .node-interface {
    left:5%;
  }
  .node-api {
    left:20%;
  }
  .node-data {
    left:35%;
  }
  .node-title {
    font-size:16px;
  }
  .system-heading .micro-label {
    font-size:11px;
  }
  .system-message {
    font-size:11px;
  }
  .section {
    padding-top:80px;
  }
  .section-heading {
    align-items:flex-start;
    gap:24px;
  }
  .section-intro {
    max-width:240px;
    font-size:14px;
  }
  .project-featured {
    grid-template-columns:1fr;
  }
  .project-flow {
    border-left:0;
    border-top:1px solid var(--border);
  }
  .flow-steps {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .flow-steps:before {
    display:none;
  }
  .flow-steps li {
    padding:0;
    gap:12px;
  }
  .flow-steps strong {
    font-size:14px;
  }
  .flow-steps div>span {
    font-size:11px;
  }
  .project {
    padding:28px;
  }
  .project-featured {
    padding:0;
  }
  .project h3 {
    font-size:26px;
  }
  .project-featured h3 {
    font-size:40px;
  }
  .project-meta {
    font-size:9px;
  }
  .project p {
    font-size:14px;
  }
  .project-mark {
    font-size:19px;
  }
  .skill-row {
    grid-template-columns:24px 140px 1fr;
  }
  .skill-row a {
    grid-column:3;
    min-height:32px;
    justify-content:flex-start;
  }
  .about {
    grid-template-columns:1fr;
    gap:28px;
  }
  .about-copy {
    padding:0;
    max-width:600px;
  }
  .about h2 {
    font-size:42px;
  }
  .contact-links {
    grid-template-columns:1fr;
    gap:26px;
  }
  .contact-links>a {
    gap:10px;
  }
  .contact-links>a>span:last-child {
    font-size:18px;
  }
  .site-footer>span:nth-child(2) {
    display:none;
  }
}
@media(max-width:520px) {
  .site-header,main,.site-footer {
    width:calc(100% - 40px);
  }
  .site-header {
    padding:16px 0;
    gap:16px;
    align-items:flex-start;
  }
  .monogram {
    font-size:32px;
    margin-top:4px;
  }
  .site-header nav {
    gap:4px 20px;
    flex-wrap:wrap;
    justify-content:flex-end;
    max-width:260px;
    font-size:12px;
  }
  .site-header nav a {
    min-height:34px;
    gap:6px;
  }
  .site-header nav .nav-contact {
    border:0;
    color:var(--accent);
  }
  .nav-contact span {
    font-size:16px;
  }
  .hero {
    padding:48px 0 40px;
    gap:8px;
  }
  .hero .eyebrow {
    font-size:8px;
    letter-spacing:.65px;
    gap:8px;
  }
  .hero h1 {
    font-size:clamp(64px,20vw,96px);
    letter-spacing:-4px;
    line-height:1.02;
    margin:24px 0;
  }
  .hero-description .role {
    font-size:21px;
    margin-bottom:16px;
  }
  .hero-description>p:last-child {
    font-size:15px;
    line-height:1.7;
  }
  .hero-actions {
    gap:24px;
    margin-top:24px;
  }
  .button {
    font-size:13px;
    gap:24px;
    padding:15px 18px;
    min-height:52px;
  }
  .text-link {
    font-size:13px;
    gap:8px;
  }
  .hero-location {
    font-size:11px;
    margin-top:24px;
  }
  .system-card {
    border-radius:18px;
    margin-top:32px;
  }
  .system-heading {
    padding:16px;
  }
  .system-heading .micro-label {
    font-size:9px;
    letter-spacing:.8px;
  }
  .system-index {
    font-size:9px;
  }
  .system-diagram {
    margin:4px 8px;
    height:328px;
  }
  .system-node {
    width:74%;
    padding:12px 14px;
  }
  .node-interface {
    left:1%;
    top:14px;
  }
  .node-api {
    left:12%;
    top:120px;
  }
  .node-data {
    left:23%;
    top:226px;
  }
  .node-title {
    font-size:14px;
  }
  .node-title small {
    font-size:9px;
  }
  .node-caption {
    font-size:9px;
  }
  .node-rule {
    margin:9px 0 7px;
  }
  .node-number {
    font-size:9px;
  }
  .packet-label {
    display:none;
  }
  .system-footer {
    padding:12px;
    min-height:58px;
    gap:8px;
  }
  .system-message {
    font-size:9px;
  }
  .replay {
    font-size:10px;
  }
  .hero-footnote {
    font-size:8px;
    letter-spacing:.4px;
    padding:16px 0;
  }
  .hero-footnote .slash {
    padding:0 5px;
  }
  .hero-footnote a {
    gap:8px;
    font-size:0;
  }
  .hero-footnote a>span {
    font-size:21px;
  }
  .section {
    padding-top:64px;
  }
  .section-number {
    font-size:10px;
    margin-bottom:20px;
  }
  .section-heading {
    display:block;
    margin-bottom:28px;
  }
  h2 {
    font-size:36px;
    letter-spacing:-1.3px;
  }
  .section-intro {
    max-width:100%;
    font-size:14px;
    margin-top:20px;
  }
  .project {
    padding:24px;
    border-radius:18px;
  }
  .project-featured {
    padding:0;
  }
  .project-copy,.project-flow {
    padding:24px;
  }
  .project-featured h3 {
    font-size:36px;
    letter-spacing:-1px;
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:16px;
    margin-top:16px;
  }
  .project h3 {
    font-size:29px;
  }
  .project-meta {
    font-size:9px;
    gap:8px;
  }
  .project p {
    font-size:14px;
  }
  .contribution p {
    font-size:13px;
  }
  .tags {
    gap:6px;
    margin:20px 0 24px;
  }
  .tags li {
    font-size:10px;
    padding:6px 8px;
  }
  .flow-steps {
    display:flex;
    flex-direction:column;
    gap:22px;
    margin:26px 0;
  }
  .flow-steps:before {
    display:block;
  }
  .flow-steps li {
    gap:16px;
  }
  .flow-steps strong {
    font-size:14px;
  }
  .flow-steps div>span {
    font-size:11px;
  }
  .flow-label .micro-label {
    font-size:9px;
  }
  .flow-result {
    font-size:11px;
    gap:10px;
    padding-top:18px;
  }
  .project-mark {
    font-size:23px;
    margin-top:28px;
  }
  .more-projects {
    margin-top:36px;
  }
  .more-projects>.micro-label {
    font-size:9px;
  }
  .more-projects>a {
    gap:16px;
    padding:22px 0;
  }
  .more-title {
    font-size:17px;
  }
  .more-title small {
    font-size:11px;
    line-height:1.5;
  }
  .more-stack {
    display:none;
  }
  .link-arrow {
    margin-left:auto;
    font-size:22px;
  }
  .more-number {
    font-size:10px;
  }
  .skill-row {
    grid-template-columns:20px 1fr;
    gap:10px 16px;
    padding:24px 0;
  }
  .skill-row h3 {
    font-size:20px;
  }
  .skill-row p {
    grid-column:2;
    font-size:14px;
  }
  .skill-row p>span {
    padding:0 3px;
  }
  .skill-row a {
    grid-column:2;
    font-size:11px;
  }
  .about {
    gap:28px;
    padding-bottom:64px;
  }
  .about h2 {
    font-size:32px;
    letter-spacing:-1px;
  }
  .about-copy>.about-lead {
    font-size:21px;
  }
  .about-copy>p {
    font-size:14px;
  }
  .education {
    padding:22px;
  }
  .education p {
    font-size:14px;
  }
  .education .micro-label {
    font-size:9px;
  }
  .contact {
    padding-bottom:64px;
  }
  .contact h2 {
    font-size:36px;
    letter-spacing:-1.6px;
  }
  .contact-description {
    font-size:14px;
    margin:24px 0 32px;
  }
  .contact-links>a>span:last-child {
    font-size:16px;
  }
  .site-footer {
    font-size:10px;
    padding:18px 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
  .project:hover,.project:focus-within,.button-primary:hover,.system-node.is-active {
    transform:none;
  }
  .page-progress {
    display:none;
  }
}
/* Comfortable touch targets and room for wrapped diagram labels. */
@media(max-width:520px) {
  .site-header nav a {
    min-height:44px;
  }
  .system-diagram {
    height:392px;
  }
  .system-node {
    min-height:112px;
  }
  .node-interface {
    top:14px;
  }
  .node-api {
    top:142px;
  }
  .node-data {
    top:270px;
  }
  .hero-description>p:last-child,.project p,.about-copy>p {
    font-size:16px;
  }
  .contribution p {
    font-size:14px;
  }
  .replay {
    min-height:44px;
  }
  .hero-actions {
    gap:18px;
  }
  .button {
    gap:16px;
  }
}
/* Portrait-led hero: crop the supplied screenshot in the layout, preserving the photo. */
.hero {
  position:relative;
  isolation:isolate;
}
.hero-copy {
  position:relative;
  z-index:2;
}
.portrait-scene {
  position:relative;
  min-width:0;
  padding:42px 34px 74px;
  perspective:1000px;
  isolation:isolate;
}
.portrait-aura {
  position:absolute;
  inset:0;
  z-index:-2;
  background:radial-gradient(ellipse at 55% 45%,#ffb45432,transparent 64%);
  filter:blur(22px);
  animation:aura-breathe 8s ease-in-out infinite alternate;
  pointer-events:none;
}
.portrait-frame {
  margin:0;
  position:relative;
  transform:rotate(-4deg) rotateX(var(--portrait-rx,0deg)) rotateY(var(--portrait-ry,0deg));
  border:1px solid #ae85524d;
  border-radius:160px 160px 24px 24px;
  padding:10px;
  background:#26221c;
  box-shadow:0 32px 65px #0006;
  transition:transform .5s var(--ease);
  overflow:hidden;
}
.portrait-crop {
  position:relative;
  aspect-ratio:828/790;
  overflow:hidden;
  border-radius:150px 150px 16px 16px;
  background:#202226;
}
.portrait-crop img {
  position:absolute;
  width:100%;
  height:auto;
  max-width:none;
  top:50%;
  left:0;
  transform:translateY(-50%);
  display:block;
}
.portrait-frame figcaption {
  text-align:center;
  text-wrap:balance;
  padding:20px 16px 10px;
  color:var(--text);
  font-size:15px;
}
.portrait-orbit {
  position:absolute;
  border:1px solid #ffb45430;
  border-radius:50%;
  z-index:-1;
  pointer-events:none;
}
.portrait-orbit:before {
  content:"";
  position:absolute;
  top:14%;
  left:14%;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 18px #ffb45488;
}
.orbit-two:before {
  height:4px;
  width:4px;
}
.floating-token {
  position:absolute;
  z-index:3;
  border:1px solid #675135;
  background:#201f1ded;
  box-shadow:0 10px 28px #0004;
  border-radius:12px;
  padding:14px 18px;
  font:14px "SFMono-Regular",Consolas,monospace;
  color:var(--accent);
  animation:token-float 6s ease-in-out infinite;
  pointer-events:none;
}
.token-python {
  top:19%;
  left:18px;
  transform:rotate(-8deg);
}
.token-js {
  right:18px;
  top:48%;
  animation-delay:-2s;
}
.token-code {
  top:4%;
  right:8%;
  font-size:24px;
  animation-delay:-4s;
  padding:10px 16px;
}
.portrait-spark {
  position:absolute;
  color:var(--accent);
  pointer-events:none;
  animation:spark-turn 18s linear infinite;
}
.spark-one {
  left:1%;
  bottom:17%;
  font-size:52px;
}
.spark-two {
  right:3%;
  top:35%;
  font-size:30px;
  animation-direction:reverse;
}
.motion-toggle {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  position:absolute;
  bottom:9px;
  right:26px;
  min-height:44px;
  padding:8px 12px;
  font-size:12px;
  color:var(--muted);
  background:transparent;
  border:0;
}
.motion-toggle:hover {
  color:var(--accent);
}
.motion-toggle:disabled {
  cursor:default;
}
.about-title .system-card {
  margin-top:36px;
  width:100%;
  max-width:500px;
}
.about-title .system-heading {
  padding-inline:18px;
}
.about-title .system-footer {
  padding-inline:16px;
}
body.motion-paused .portrait-scene *,body.motion-paused .portrait-scene *:before,body.motion-offscreen .portrait-scene *,body.motion-offscreen .portrait-scene *:before {
  animation-play-state:paused!important;
}
body.motion-paused .portrait-frame {
  transform:rotate(-4deg);
}
@keyframes token-float {
  0%,100% {
    translate:0 0;
  }
  50% {
    translate:0 -13px;
  }
}
@keyframes spark-turn {
  to {
    rotate:360deg;
  }
}
@keyframes aura-breathe {
  0% {
    opacity:.55;
    transform:scale(.92);
  }
  100% {
    opacity:1;
    transform:scale(1.08);
  }
}
@media(max-width:1100px) {
  .portrait-scene {
    padding:36px 24px 68px;
  }
  .floating-token {
    padding:12px;
    font-size:12px;
  }
  .token-python {
    left:16px;
  }
  .token-js {
    right:16px;
  }
  .token-code {
    font-size:20px;
  }
}
@media(max-width:800px) {
  .portrait-scene {
    width:min(500px,100%);
    justify-self:center;
    margin-top:8px;
  }
  .hero {
    gap:12px;
  }
  .about-title .system-card {
    max-width:560px;
  }
}
@media(max-width:520px) {
  .portrait-scene {
    padding:32px 24px 60px;
    margin:16px 0 0;
  }
  .portrait-frame {
    border-radius:120px 120px 20px 20px;
    padding:7px;
  }
  .portrait-crop {
    border-radius:110px 110px 14px 14px;
  }
  .portrait-frame figcaption {
    font-size:12px;
    padding:14px 10px 6px;
  }
  .floating-token {
    font-size:10px;
    padding:10px 12px;
  }
  .token-python {
    left:14px;
    top:22%;
  }
  .token-js {
    right:14px;
    top:46%;
  }
  .token-code {
    font-size:18px;
    top:2%;
    right:14%;
  }
  .spark-one {
    font-size:36px;
    bottom:14%;
    left:0;
  }
  .spark-two {
    font-size:24px;
    right:0;
  }
  .motion-toggle {
    font-size:11px;
    bottom:0;
    right:18px;
  }
  .about-title .system-card {
    margin-top:28px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .portrait-scene *,.portrait-scene *:before {
    animation:none!important;
  }
  .portrait-frame {
    transform:rotate(-4deg)!important;
    transition:none!important;
  }
}
.portrait-scene {
  overflow:clip;
}
/* A quiet animated backdrop behind the content. */
body {
  isolation:isolate;
}
.ambient-background {
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  overflow:hidden;
}
.ambient-glow {
  position:absolute;
  width:620px;
  height:620px;
  border-radius:50%;
  background:radial-gradient(circle,#ffb4540c 0%,#ffb45404 40%,transparent 68%);
  animation:background-drift 24s ease-in-out infinite alternate;
  will-change:transform;
}
.glow-a {
  top:4%;
  left:-370px;
}
.glow-b {
  right:-350px;
  bottom:-180px;
  animation-delay:-12s;
  animation-duration:32s;
}
.ambient-dot {
  position:absolute;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#ffcb8490;
  box-shadow:0 0 12px #ffb45440;
  animation:background-speck 18s ease-in-out infinite alternate;
}
.dot-a {
  left:3%;
  top:22%;
}
.dot-b {
  right:4%;
  top:42%;
  animation-delay:-6s;
}
.dot-c {
  left:7%;
  top:78%;
  animation-delay:-12s;
}
.dot-d {
  right:8%;
  top:12%;
  animation-delay:-4s;
  width:2px;
  height:2px;
}
.dot-e {
  right:2%;
  top:86%;
  animation-delay:-14s;
  width:2px;
  height:2px;
}
.dot-f {
  left:2%;
  top:55%;
  animation-delay:-9s;
  width:2px;
  height:2px;
}
@keyframes background-drift {
  from {
    transform:translate3d(0,-35px,0) scale(.95);
  }
  to {
    transform:translate3d(80px,75px,0) scale(1.12);
  }
}
@keyframes background-speck {
  0% {
    transform:translate3d(0,0,0);
    opacity:.25;
  }
  50% {
    opacity:.7;
  }
  100% {
    transform:translate3d(12px,-65px,0);
    opacity:.35;
  }
}
body.motion-paused .ambient-background *,body.motion-hidden .ambient-background *,body.motion-hidden .portrait-scene *,body.motion-hidden .portrait-scene *:before {
  animation-play-state:paused!important;
}
@media(max-width:520px) {
  .ambient-glow {
    width:400px;
    height:400px;
  }
  .glow-a {
    left:-300px;
  }
  .glow-b {
    right:-300px;
  }
  .dot-c,.dot-d {
    display:none;
  }
}
@media(prefers-reduced-motion:reduce) {
  .ambient-background * {
    animation:none!important;
  }
}
/* Soft comet trails are rendered only when scroll position changes. */
.comet-canvas {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
@media(prefers-reduced-motion:reduce) {
  .comet-canvas {
    display:none;
  }
}
/* Keep the orbit contours inside the scene;
move only their satellites. */


.portrait-orbit:before {
  top:0;
  left:0;
  offset-path:ellipse(50% 50% at 50% 50%);
  animation:orbit-travel 28s linear infinite;
}
.orbit-two:before {
  animation-direction:reverse;
  animation-duration:36s;
}
.portrait-frame figcaption {
  line-height:1.5;
}
@keyframes orbit-travel {
  to {
    offset-distance:100%;
  }
}
@media(prefers-reduced-motion:reduce) {
  .portrait-orbit:before {
    animation:none!important;
  }
}
/* Leave a visible ring of space between the portrait and its orbits. */
.portrait-scene {
  padding:48px 54px 82px;
}
.portrait-orbit {
  inset:10px 8px 34px;
  border-color:#ffb45442;
  animation:none;
}
.orbit-two {
  inset:28px 20px 12px;
  border-color:#ffb45426;
  transform:none;
  animation:none;
}
@media(max-width:1100px) {
  .portrait-scene {
    padding:44px 46px 78px;
  }
}
@media(max-width:520px) {
  .portrait-scene {
    padding:40px 38px 72px;
  }
}
/* Selected custom orbit monogram. */
.monogram-logo {
  display:block;
  width:52px;
  height:48px;
  object-fit:contain;
  flex-shrink:0;
}
@media(max-width:520px) {
  .monogram-logo {
    width:44px;
    height:40px;
  }
}

/* Letter visibility preserves the complete caption's line wrapping and height. */
.caption-accessible {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.caption-letter { visibility:hidden; position:relative; }
.caption-visible { visibility:visible; }
.caption-cursor::after {
  content:"";
  position:absolute;
  right:-2px;
  top:0;
  height:1em;
  border-right:1px solid var(--accent);
  animation:caption-blink .6s steps(1) infinite;
}
@keyframes caption-blink { 50% { opacity:0; } }

/* Vector icons render consistently without platform emoji substitution. */
.inline-icon {
  display:inline-block;
  width:1em;
  height:1em;
  vertical-align:-0.12em;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
