:root {
  --ink: #0b0d0c;
  --ink-soft: #161a17;
  --paper: #f1efe8;
  --paper-bright: #faf8f1;
  --lime: #d9ff43;
  --mint: #a7f3d0;
  --line: rgba(11, 13, 12, 0.18);
  --line-light: rgba(255, 255, 255, 0.17);
  --muted: #6d716d;
  --mono: "DM Mono", monospace;
  --nav-mono: "Space Mono", monospace;
  --sans: "Manrope", sans-serif;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.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; }

.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--lime); color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }
.grain { position: fixed; inset: 0; z-index: 999; opacity: .12; pointer-events: none; background-image: repeating-radial-gradient(circle at 17% 29%, rgba(11,13,12,.14) 0 .45px, transparent .7px 4px); background-size: 7px 7px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  padding: 0 max(32px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(241, 239, 232, .86);
  backdrop-filter: blur(18px);
}
.wordmark { justify-self: start; display: inline-flex; align-items: baseline; font-family: var(--nav-mono); font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.wordmark-name { color: #1687a2; }
.wordmark-dot { margin-left: 2px; color: var(--ink); }
.wordmark-underscore { margin-left: -7px; color: #7857d7; }
.desktop-nav { display: flex; align-items: center; gap: 44px; font-family: var(--nav-mono); font-size: 22px; font-weight: 400; letter-spacing: -.035em; }
.desktop-nav a, .header-cta { position: relative; }
.desktop-nav a::before, .header-cta::before, .mobile-nav a::before { content: "//"; margin-right: 9px; font-weight: 400; }
.desktop-nav a::after, .header-cta::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .header-cta:hover::after, .header-cta:focus-visible::after { right: 0; }
.header-cta { justify-self: end; font-family: var(--nav-mono); font-size: 22px; font-weight: 400; letter-spacing: -.035em; }
.menu-button, .mobile-nav { display: none; }

.hero { padding-top: 54px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.hero-meta .eyebrow, .hero-status { font-family: var(--nav-mono); font-size: 17px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.hero-status { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #49a94e; }
.status-dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid #49a94e; border-radius: inherit; opacity: .35; animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: 0; } }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(410px, .85fr); align-items: center; gap: clamp(45px, 6vw, 90px); padding: 35px 0 70px; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hero-copy h1 { max-width: 870px; margin: 22px 0 26px; font-size: clamp(54px, 6.4vw, 98px); line-height: .97; letter-spacing: -.067em; font-weight: 600; }
.hero-copy h1 em, .contact-section h2 em { position: relative; font-weight: 400; font-style: italic; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 1%; right: -2%; bottom: .02em; height: .12em; background: var(--lime); z-index: -1; transform: rotate(-1deg); }
.hero-intro { max-width: 670px; margin: 0; color: #4d514d; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 44px; margin-top: 38px; }
.hero-actions .button, .hero-actions .text-link { font-size: 16px; }
.hero-actions .button { min-height: 58px; padding-inline: 27px; }
.button { min-height: 53px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; border: 1px solid currentColor; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--lime); color: var(--ink); }
.text-link { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.text-link span { margin-left: 6px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 650px; }
.portrait-frame { position: relative; z-index: 3; width: min(465px, 96%); aspect-ratio: 4 / 5; padding: 12px; background: var(--paper-bright); border: 1px solid var(--ink); transform: rotate(2.5deg); box-shadow: 12px 14px 0 var(--ink); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: saturate(.78) contrast(1.04); }
.portrait-label { position: absolute; right: -34px; bottom: 34px; width: 98px; height: 98px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--lime); border: 1px solid var(--ink); color: var(--ink); transform: rotate(-8deg); }
.portrait-label span { font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.portrait-label strong { font-size: 25px; line-height: 1; }
.orbit { position: absolute; border: 1px solid rgba(11,13,12,.28); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 370px; height: 530px; transform: rotate(42deg); }
.visual-note { position: absolute; z-index: 4; padding: 10px 13px; background: var(--paper-bright); border: 1px solid var(--ink); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; box-shadow: 4px 4px 0 var(--ink); }
.visual-note span { color: #767b76; margin-right: 8px; }
.note-one { left: -15px; top: 28%; transform: rotate(-4deg); }
.note-two { right: -8px; top: 18%; transform: rotate(3deg); }
.note-three { left: -24px; bottom: 20%; transform: rotate(3deg); }
.note-four { right: -18px; bottom: 37%; transform: rotate(-3deg); }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); border-bottom: 0; }
.proof-strip > div { min-height: 145px; padding: 27px; display: flex; align-items: flex-end; gap: 14px; border-right: 1px solid var(--ink); }
.proof-strip > div:last-child { border: 0; }
.proof-strip strong { font-size: clamp(34px, 3.2vw, 50px); line-height: 1; letter-spacing: -.05em; }
.proof-strip span { padding-bottom: 2px; color: var(--muted); font-family: var(--mono); font-size: 12px; line-height: 1.45; text-transform: uppercase; }

@media (min-width: 761px) {
  .wordmark { font-size: 33px; }
  .proof-strip > div { align-items: center; justify-content: center; text-align: center; }
}

.marquee { overflow: hidden; padding: 20px 0; background: var(--lime); border-block: 1px solid var(--ink); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: marquee 32s linear infinite; font-family: var(--mono); font-size: 14px; letter-spacing: .09em; }
.marquee-track i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.work-section { padding-block: 125px 145px; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 70px; }
.section-heading > div { display: flex; gap: 22px; align-items: center; padding-top: 12px; }
.section-index { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--mono); font-size: 15px; }
.section-heading h2, .about-heading h2 { margin: 0; font-size: clamp(39px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
.featured-project { border: 1px solid var(--ink); }
.project-dark { color: white; background: var(--ink); }
.project-topline { padding: 18px 22px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-light); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.project-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; }
.project-copy { padding: clamp(35px, 5vw, 70px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-copy h3, .project-card h3 { margin: 0; font-size: clamp(52px, 6vw, 86px); line-height: 1; letter-spacing: -.065em; font-weight: 600; }
.project-kicker { margin: 20px 0 12px; font-size: 20px; font-weight: 600; }
.project-copy > p:not(.project-kicker) { max-width: 590px; color: #aeb4af; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 22px 0; list-style: none; }
.tag-list li { padding: 9px 14px; border: 1px solid currentColor; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .045em; }
.project-link { margin-top: auto; font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; }
.project-link span { margin-left: 6px; }
.shader-demo { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 500px; background: radial-gradient(circle at 70% 30%, #bbe535 0, transparent 26%), radial-gradient(circle at 20% 80%, #5929b8 0, transparent 35%), linear-gradient(135deg, #1a2b24, #0d0f0e 70%); border-left: 1px solid var(--line-light); }
.shader-window { position: relative; z-index: 2; width: 74%; background: rgba(8, 10, 9, .86); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 30px 90px rgba(0,0,0,.4); transform: rotate(-3deg); backdrop-filter: blur(12px); }
.window-bar { height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.13); }
.window-bar span { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.window-bar b { margin-left: auto; color: #798079; font-family: var(--mono); font-size: 9px; font-weight: 400; }
.shader-window pre { margin: 0; padding: 36px; color: #c5cbc6; font-family: var(--mono); font-size: clamp(10px, 1vw, 14px); line-height: 1.8; }
.shader-window code i { color: var(--lime); font-style: normal; }
.shader-window code b { color: #b599ff; font-weight: 400; }
.shader-glow { position: absolute; width: 250px; height: 250px; border-radius: 50%; background: var(--lime); filter: blur(85px); opacity: .18; }
.demo-chip { position: absolute; z-index: 3; right: 9%; bottom: 14%; padding: 8px 12px; background: var(--lime); color: var(--ink); font: 500 9px var(--mono); transform: rotate(5deg); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; }
.project-card { min-height: 570px; padding: clamp(30px, 4vw, 55px); display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ink); border-top: 0; }
.project-card + .project-card { border-left: 0; }
.project-lime { background: var(--lime); }
.project-paper { background: var(--paper-bright); }
.project-number { align-self: flex-end; font-family: var(--mono); font-size: 14px; }
.project-card .eyebrow { margin-bottom: 18px; }
.project-card h3 { font-size: clamp(44px, 5vw, 68px); }
.project-card p { max-width: 530px; }
.project-card .award { font-weight: 700; }

.experience-section { padding-block: 125px; color: white; background: var(--ink); }
.section-heading-light { border-bottom: 1px solid var(--line-light); padding-bottom: 65px; }
.experience-list { border-top: 1px solid var(--line-light); }
.experience-row { display: grid; grid-template-columns: .7fr 1.25fr 1.6fr; align-items: start; gap: 35px; padding: 52px 0; border-bottom: 1px solid var(--line-light); }
.experience-date { color: #abb2ac; font-family: var(--mono); font-size: 15px; line-height: 1.4; letter-spacing: .06em; }
.experience-role { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }
.company-mark { width: 165px; height: 90px; padding: 0; display: grid; place-items: center; background: transparent; transform: translate(-44px, -22px); }
.company-mark img { width: 100%; max-height: 90px; object-fit: contain; object-position: left top; }
.company-mark img[src*="Qualcommlogo"], .company-mark img[src*="barclayslogo"] { transform: scale(1.12); transform-origin: left top; }
.experience-role h3 { margin: 0 0 5px; font-size: 22px; line-height: 1.25; }
.experience-role p { margin: 0; color: #9da49e; font-size: 14px; }
.experience-detail > p { margin: 0; color: #c1c7c2; font-size: 17px; line-height: 1.7; }
.experience-detail strong { color: var(--lime); }
.experience-detail .tag-list { margin-bottom: 0; color: #aeb4af; }
.experience-detail .tag-list li { padding: 9px 14px; font-size: 14px; }

.about-section { padding-block: 140px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); }
.about-heading > .eyebrow { display: inline-block; margin-left: 18px; }
.about-heading h2 { margin-top: 38px; }
.about-copy { padding-top: 82px; }
.about-copy > p { color: #555a56; font-size: 17px; }
.about-copy .about-lead { margin-top: 0; color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.48; letter-spacing: -.02em; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.education-grid span { color: var(--muted); font-family: var(--mono); font-size: 14px; }
.education-grid strong { display: block; margin-top: 13px; font-size: 22px; }
.education-grid p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.toolkit { display: grid; grid-template-columns: .3fr 1.7fr; gap: 30px; margin-top: 105px; padding-top: 30px; border-top: 1px solid var(--ink); }
.toolkit-title { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; }
.toolkit > div { display: flex; flex-wrap: wrap; gap: 10px; }
.toolkit > div span { padding: 12px 17px; border: 1px solid var(--line); background: var(--paper-bright); font-family: var(--mono); font-size: 14px; }

.contact-section { padding: 120px 0 35px; color: var(--ink); background: var(--lime); border-top: 1px solid var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.contact-section h2 { max-width: 850px; margin: 20px 0 0; font-size: clamp(62px, 8.2vw, 125px); line-height: .88; letter-spacing: -.075em; font-weight: 600; }
.contact-side { padding-bottom: 8px; }
.contact-side p { max-width: 350px; margin: 0 0 30px; }
.button-light { width: 100%; background: var(--paper-bright); }
.button-light:hover { background: var(--ink); color: white; }
.footer-row { margin-top: 115px; padding-top: 28px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; border-top: 1px solid rgba(11,13,12,.35); font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .045em; }
.footer-row p { margin: 0; }
.footer-row div { display: flex; gap: 25px; }
.footer-row > a { justify-self: end; }

.portfolio-chat { position: fixed; right: 26px; bottom: 24px; z-index: 40; font-family: var(--body); }
.portfolio-chat[hidden], .chat-panel[hidden] { display: none; }
.chat-launcher { min-width: 148px; height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink); background: var(--ink); color: white; box-shadow: 5px 5px 0 var(--lime); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; cursor: pointer; }
.chat-launcher-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(206,255,43,.15); }
.chat-launcher-symbol { margin-left: auto; color: var(--lime); font-size: 22px; line-height: 1; }
.chat-panel { position: absolute; right: 0; bottom: 68px; width: min(390px, calc(100vw - 32px)); height: min(590px, calc(100vh - 120px)); grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 9px 9px 0 var(--ink); }
.chat-panel:not([hidden]) { display: grid; }
.chat-header { min-height: 72px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); background: var(--lime); }
.chat-header p, .chat-header span { margin: 0; font-family: var(--mono); }
.chat-header p { font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.chat-header span { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .11em; }
.chat-close { width: 36px; height: 36px; padding: 0; border: 1px solid var(--ink); background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.chat-messages { min-height: 0; padding: 17px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; overscroll-behavior: contain; }
.chat-message { max-width: 88%; }
.chat-message > span { display: block; margin-bottom: 5px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.chat-message p { margin: 0; padding: 11px 13px; border: 1px solid var(--ink); background: var(--paper-bright); font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message-user { align-self: flex-end; }
.chat-message-user > span { text-align: right; }
.chat-message-user p { background: var(--ink); color: white; }
.chat-message-error p { border-color: #b42b2b; color: #8e2020; }
.chat-response-links { display: grid; gap: 7px; margin-top: 7px; }
.chat-response-links a { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--ink); background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.chat-response-links a::after { content: "\2197"; font-size: 14px; }
.chat-response-links a:hover, .chat-response-links a:focus-visible { background: var(--ink); color: var(--lime); }
.chat-message-loading p::after { content: ""; display: inline-block; width: 16px; height: 8px; margin-left: 5px; background: radial-gradient(circle closest-side, currentColor 90%, transparent) 0 50% / 5px 5px repeat-x; animation: chat-loading .8s infinite linear; }
@keyframes chat-loading { to { background-position: 10px 50%; } }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.chat-suggestions button { padding: 7px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-family: var(--mono); font-size: 10px; text-align: left; cursor: pointer; }
.chat-suggestions button:hover, .chat-suggestions button:focus-visible { border-color: var(--ink); background: var(--lime); }
.chat-form { position: relative; padding: 14px 15px 28px; display: grid; grid-template-columns: 1fr 42px; gap: 8px; border-top: 1px solid var(--ink); background: var(--paper-bright); }
.chat-form textarea { min-height: 44px; max-height: 100px; padding: 11px 12px; resize: none; overflow-y: auto; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: 13px/1.45 var(--body); outline: none; }
.chat-form textarea:focus { box-shadow: inset 0 -3px 0 var(--lime); }
.chat-send { width: 42px; height: 44px; padding: 0; border: 1px solid var(--ink); background: var(--ink); color: var(--lime); font-size: 22px; cursor: pointer; }
.chat-send:disabled, .chat-form textarea:disabled { opacity: .5; cursor: not-allowed; }
.chat-usage { position: absolute; left: 15px; right: 15px; bottom: 8px; display: flex; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .04em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .portrait-frame { width: 390px; }
  .note-one { left: 12%; }
  .note-two { right: 12%; }
  .project-body { grid-template-columns: 1fr; }
  .shader-demo { border-left: 0; border-top: 1px solid var(--line-light); }
  .experience-row { grid-template-columns: .55fr 1fr; }
  .experience-detail { grid-column: 2; }
  .about-grid { gap: 55px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 1280px); }
  .site-header { min-height: 66px; padding-inline: 18px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { justify-self: end; width: 38px; height: 38px; padding: 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span { display: block; width: 100%; height: 1px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 66px 0 auto; height: calc(100vh - 66px); padding: 45px 24px; display: none; flex-direction: column; gap: 10px; background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--nav-mono); font-size: 30px; font-weight: 700; letter-spacing: -.055em; }
  .hero { padding-top: 30px; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-meta .eyebrow, .hero-status { font-size: 12px; }
  .hero-grid { min-height: auto; padding: 55px 0 60px; gap: 55px; }
  .hero-copy h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 26px; }
  .hero-visual { min-height: 440px; }
  .portrait-frame { width: min(300px, 82%); box-shadow: 8px 9px 0 var(--ink); }
  .portrait-label { right: -20px; width: 75px; height: 75px; }
  .visual-note { padding: 9px 12px; font-size: 10px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 260px; height: 380px; }
  .note-one { left: 0; top: 26%; }
  .note-two { right: 0; }
  .note-three { left: 0; bottom: 12%; }
  .note-four { right: 0; bottom: 34%; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > div { min-height: 165px; padding: 20px 16px; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center; gap: 12px; text-align: center; overflow: hidden; }
  .proof-strip span { display: block; width: min(125px, 100%); max-width: 100%; padding-bottom: 0; font-size: 10px; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .proof-strip strong { font-size: 35px; }
  .work-section, .experience-section, .about-section { padding-block: 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 35px; margin-bottom: 50px; }
  .section-heading h2, .about-heading h2 { font-size: 42px; }
  .project-topline { gap: 20px; }
  .project-body { min-height: 0; }
  .project-copy { min-height: 540px; padding: 35px 25px; }
  .project-copy h3 { font-size: 54px; }
  .shader-demo { min-height: 420px; }
  .shader-window { width: 86%; }
  .shader-window pre { padding: 25px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 500px; padding: 34px 25px; }
  .project-card + .project-card { border-left: 1px solid var(--ink); }
  .project-card h3 { font-size: 52px; }
  .experience-row { grid-template-columns: 1fr; padding-block: 35px; }
  .experience-role { grid-template-columns: 128px 1fr; gap: 20px; }
  .company-mark { width: 128px; height: 70px; transform: none; }
  .company-mark img { max-height: 70px; }
  .experience-detail { grid-column: 1; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .about-copy { padding-top: 10px; }
  .about-copy .about-lead { font-size: 22px; }
  .education-grid { grid-template-columns: 1fr; }
  .toolkit { grid-template-columns: 1fr; margin-top: 70px; }
  .contact-section { padding-top: 90px; }
  .contact-grid { gap: 55px; }
  .contact-section h2 { font-size: clamp(58px, 17vw, 85px); }
  .footer-row { margin-top: 90px; grid-template-columns: 1fr auto; }
  .footer-row div { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
  .portfolio-chat { right: 14px; bottom: 14px; }
  .chat-panel { position: fixed; right: 14px; bottom: 80px; width: calc(100vw - 28px); height: min(570px, calc(100dvh - 100px)); box-shadow: 6px 6px 0 var(--ink); }
  .chat-launcher { min-width: 138px; height: 48px; }
}

@media (max-width: 390px) {
  .hero-copy h1 { font-size: 44px; }
  .proof-strip > div { align-items: center; gap: 10px; }
  .visual-note { font-size: 8px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-row > a { justify-self: start; }
}
