:root {
  --paper: #ded8c8;
  --paper-soft: #e9e5d9;
  --paper-card: #e6e1d4;
  --ink: #111111;
  --ink-soft: #202020;
  --blue: #5368ff;
  --blue-deep: #3848d7;
  --coral: #ff6243;
  --acid: #c7ff4a;
  --white: #f7f4eb;
  --muted: #625f59;
  --line: rgba(17, 17, 17, .14);
  --line-light: rgba(255, 255, 255, .15);
  --display: "Inter Tight", sans-serif;
  --body: "DM Sans", sans-serif;
  --rail: 218px;
  --gap: 46px;
  --radius: 9px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.45; overflow-x: clip; cursor: default; caret-color: transparent; -webkit-user-select: none; user-select: none; }
body.menu-open { overflow: hidden; }
::selection { color: var(--white); background: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
body, p, h1, h2, h3, h4, h5, h6, span, strong, small, em, li, label { cursor: default; }
a, button, select, summary, [role="button"] { cursor: pointer; }
input, textarea { cursor: text; caret-color: auto; -webkit-user-select: text; user-select: text; }

.skip-link { position: fixed; left: 12px; top: 12px; z-index: 9999; padding: 10px 14px; color: var(--white); background: var(--ink); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.intro-loader { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; color: var(--ink); background: var(--paper); transition: transform .52s cubic-bezier(.8,0,.2,1), visibility .52s; }
.intro-loader.done { transform: translateY(-105%); visibility: hidden; }
.intro-word { display: flex; justify-content: center; align-items: center; gap: .025em; color: var(--blue); font: 900 clamp(5rem, 21vw, 19rem)/.75 var(--display); letter-spacing: 0; }
.intro-word span { display: inline-block; animation: loader-letter-in .5s cubic-bezier(.16,1,.3,1) both; }.intro-word span:nth-child(2) { animation-delay: .035s; }.intro-word span:nth-child(3) { animation-delay: .07s; }.intro-word span:nth-child(4) { animation-delay: .105s; }.intro-word span:nth-child(5) { animation-delay: .14s; }
.intro-progress { position: absolute; left: 4%; right: 4%; bottom: 52px; height: 4px; overflow: hidden; background: rgba(17,17,17,.15); }
.intro-progress span { display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: left; animation: loader-bar .8s cubic-bezier(.7,0,.3,1) both; }
.intro-loader p { position: absolute; left: 4%; bottom: 16px; margin: 0; font-size: .65rem; font-weight: 700; letter-spacing: .16em; }

.scroll-progress { position: fixed; z-index: 9991; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg,var(--blue),var(--coral),var(--acid)); transform: scaleX(0); transform-origin: left; will-change: transform; }

.hero { position: relative; isolation: isolate; min-height: 100svh; height: max(720px, 100svh); overflow: hidden; background: radial-gradient(circle at 50% 65%, rgba(255,255,255,.7) 0 15%, transparent 48%), radial-gradient(circle at 10% 15%, rgba(199,255,74,.14), transparent 26%), radial-gradient(circle at 90% 82%, rgba(255,98,67,.12), transparent 28%), var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: linear-gradient(rgba(17,17,17,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.15) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent); }
.hero::after { content: ""; position: absolute; z-index: 0; width: min(68vw,980px); aspect-ratio: 1; left: 50%; top: 54%; border: 1px solid rgba(83,104,255,.2); border-radius: 50%; box-shadow: 0 0 0 80px rgba(83,104,255,.035), 0 0 0 160px rgba(255,98,67,.025); transform: translate(-50%,-50%); animation: ambient-orbit 13s ease-in-out infinite; pointer-events: none; }
.hero-nav { position: absolute; z-index: 20; top: 0; left: 0; right: 0; min-height: 70px; padding: 0 2.7vw; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.nav-group { display: flex; align-items: center; gap: 13px; }.nav-group-right { justify-content: flex-end; }.nav-group i { width: 2px; height: 13px; background: var(--ink); opacity: .45; }
.nav-group a { position: relative; }.nav-group a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--blue); transition: right .25s; }.nav-group a:hover::after { right: 0; }
.mobile-menu-button { display: none; justify-self: end; width: 42px; height: 42px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; }.mobile-menu-button span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .25s; }.mobile-menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }.mobile-menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 50; inset: 0; padding: 100px 22px 30px; color: var(--white); background: var(--blue); }.mobile-menu a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.25); font: 800 clamp(2.4rem, 12vw, 4.5rem)/1 var(--display); letter-spacing: -.055em; }.mobile-menu a span { font: 700 .66rem var(--body); letter-spacing: .1em; }

.hero-name { --name-shift-x: 0px; --name-shift-y: 0px; position: absolute; z-index: 2; top: 7.2%; left: 2.8%; right: 2.8%; display: flex; justify-content: center; align-items: center; gap: .025em; color: var(--blue); font: 900 clamp(8.5rem, 22.8vw, 24rem)/.82 var(--display); letter-spacing: 0; transform: translate3d(var(--name-shift-x),var(--name-shift-y),0); pointer-events: none; }
.hero-name span { display: inline-block; opacity: 0; animation: hero-letter-in .75s cubic-bezier(.16,1,.3,1) forwards; }.hero-name span:nth-child(1) { animation-delay: .52s; }.hero-name span:nth-child(2) { animation-delay: .57s; }.hero-name span:nth-child(3) { animation-delay: .62s; }.hero-name span:nth-child(4) { animation-delay: .67s; }.hero-name span:nth-child(5) { animation-delay: .72s; }
.hero-portrait { --portrait-shift-x: 0px; --portrait-shift-y: 0px; position: absolute; z-index: 5; left: 50%; bottom: -1px; width: min(54vw, 820px); height: 91%; transform: translate3d(calc(-50% + var(--portrait-shift-x)),var(--portrait-shift-y),0); overflow: visible; background: transparent; animation: portrait-enter .9s .58s cubic-bezier(.16,1,.3,1) both; }
.hero-portrait::before { display: none; }
.hero-portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% bottom; transform: scale(1.02); filter: drop-shadow(0 26px 32px rgba(17,17,17,.3)); animation: portrait-shift 10s ease-in-out infinite; }
.portrait-overlay { display: none; }
.portrait-halo { position: absolute; z-index: 0; width: 72%; height: 76%; left: 14%; top: 12%; border: 2px solid var(--coral); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,98,67,.06), 0 0 0 40px rgba(83,104,255,.045); animation: halo-breathe 6s ease-in-out infinite; }

.hero-title-block { position: absolute; z-index: 8; left: 50%; bottom: 6.5%; width: min(520px, 42vw); transform: translateX(-50%); text-align: center; color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.hero-title-block > * { opacity: 0; animation: hero-copy-in .65s .82s cubic-bezier(.16,1,.3,1) forwards; }.hero-title-block h1 { animation-delay: .9s; }.hero-title-block .hero-actions { animation-delay: 1s; }
.hero-title-block > p { margin: 0 0 8px; color: var(--acid); font-size: .68rem; font-weight: 800; letter-spacing: .18em; }
.hero-title-block h1 { margin: 0; font: 900 clamp(3.5rem, 6vw, 6.3rem)/.86 var(--display); letter-spacing: -.025em; word-spacing: .07em; }
.hero-actions { display: flex; justify-content: center; gap: 9px; margin-top: 28px; text-shadow: none; }.hero-actions a { min-width: 140px; padding: 13px 17px; display: flex; justify-content: space-between; color: var(--ink); background: var(--acid); border: 1px solid var(--acid); border-radius: 6px; font-size: .74rem; font-weight: 800; }.hero-actions a:last-child { color: var(--white); background: rgba(17,17,17,.75); border-color: rgba(255,255,255,.4); backdrop-filter: blur(10px); }

.hero-chip { position: absolute; z-index: 7; display: flex; align-items: center; color: var(--ink); background: rgba(233,229,217,.88); border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); backdrop-filter: blur(12px); box-shadow: 0 18px 45px rgba(17,17,17,.08); animation: ui-float 5.5s ease-in-out infinite; }
.hero-chip-left { left: 4.2%; top: 58%; width: 268px; min-height: 112px; padding: 16px; gap: 18px; }.chip-symbol { display: grid; place-items: center; width: 82px; height: 78px; color: var(--white); background: var(--blue); font: 900 2.2rem var(--display); clip-path: polygon(0 12%,100% 0,87% 100%,13% 88%); }
.hero-chip-left > div:last-child { display: flex; gap: 9px; align-items: center; }.hero-chip strong { font: 900 1.8rem var(--display); letter-spacing: -.05em; }.hero-chip span { color: var(--muted); font-size: .66rem; font-weight: 700; line-height: 1.15; }
.hero-chip-bottom { left: 17%; bottom: 3%; min-width: 165px; padding: 15px 18px; flex-direction: column; align-items: flex-start; }.hero-chip-bottom strong { color: var(--coral); font-size: 2.3rem; }.hero-chip-bottom span { font-size: .75rem; }
.hero-traits { position: absolute; z-index: 7; right: 4%; top: 55%; width: 170px; padding: 18px; display: grid; gap: 8px; background: rgba(233,229,217,.85); border-radius: var(--radius); backdrop-filter: blur(12px); font: 700 .78rem var(--display); animation: ui-float 6.5s -2s ease-in-out infinite; }.hero-traits span:nth-child(odd) { color: var(--blue); }
.hero-summary { position: absolute; z-index: 7; right: 3.8%; bottom: 5%; width: 270px; }.hero-summary p { margin: 0; font-size: .82rem; line-height: 1.55; }
.hero-status { position: absolute; z-index: 9; top: 91px; right: 3%; display: flex; align-items: center; gap: 9px; padding: 8px 12px; background: rgba(233,229,217,.65); border-radius: 999px; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }.hero-status span { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(83,104,255,.13); animation: pulse 2s infinite; }

.portfolio-body { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: var(--gap); padding: 18px; align-items: start; }
.profile-rail { position: sticky; z-index: 15; top: 18px; height: calc(100svh - 36px); padding: 14px; display: flex; flex-direction: column; background: rgba(230,225,212,.92); border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); box-shadow: 0 16px 45px rgba(17,17,17,.07); backdrop-filter: blur(18px); }
.rail-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 0 14px; border-bottom: 1px solid var(--line); }.rail-brand strong { display: inline-block; padding: 7px 10px; color: var(--white); background: var(--blue); border-radius: 5px; font: 900 1rem var(--display); }.rail-brand sup { font-size: .35rem; }.rail-socials { display: flex; gap: 5px; }.rail-socials a { display: grid; place-items: center; width: 25px; height: 25px; color: var(--white); background: var(--ink); border-radius: 4px; font-size: .55rem; font-weight: 800; }
.rail-intro { margin: 16px 0; font-size: .68rem; line-height: 1.55; }
.rail-stats { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 6px; }.rail-stats div { padding: 12px 8px; text-align: center; }.rail-stats div + div { border-left: 1px solid var(--line); }.rail-stats strong, .rail-stats span { display: block; }.rail-stats strong { color: var(--blue); font: 900 1.6rem var(--display); }.rail-stats span { font-size: .55rem; font-weight: 700; }
.rail-nav { display: grid; gap: 5px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.rail-nav a { width: max-content; max-width: 100%; padding: 6px 9px; display: flex; gap: 8px; align-items: center; border-radius: 4px; font: 800 .75rem var(--display); text-transform: uppercase; transition: background .2s, color .2s; }.rail-nav a span { font-size: .6rem; }.rail-nav a:hover, .rail-nav a.active { background: var(--blue); color: var(--white); }
.rail-links { margin-top: auto; }.rail-links a { display: block; padding: 10px 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.rail-cta { margin-top: 8px; padding: 12px; display: flex; justify-content: space-between; color: var(--white); background: var(--ink); border-radius: 5px; font-size: .68rem; font-weight: 800; }

.content-column { min-width: 0; border-radius: var(--radius); overflow: hidden; }
.section { position: relative; isolation: isolate; min-height: 100svh; padding: 66px 46px 78px; scroll-margin-top: 18px; background: var(--paper); }
.section::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -180px; bottom: -180px; border: 1px solid rgba(83,104,255,.12); border-radius: 50%; box-shadow: 0 0 0 60px rgba(83,104,255,.025), 0 0 0 120px rgba(255,98,67,.02); pointer-events: none; }
#about { background: radial-gradient(circle at 82% 12%,rgba(83,104,255,.1),transparent 28%), radial-gradient(circle at 12% 78%,rgba(199,255,74,.09),transparent 25%), var(--paper); }
.section-kicker { display: inline-block; padding: 4px 7px; border: 1px solid var(--ink); border-radius: 999px; font: 800 .61rem var(--display); text-transform: uppercase; letter-spacing: .05em; }
.section-intro { display: grid; grid-template-columns: 1.15fr .75fr; gap: 70px; align-items: end; margin-top: 18px; }
.section-intro h2 { margin: 0; font: 800 clamp(3.5rem, 6.2vw, 7.2rem)/.92 var(--display); letter-spacing: -.03em; word-spacing: .06em; }.section-intro h2 span { font-weight: 500; }.section-intro > p { max-width: 470px; margin: 0 0 4px; font-size: .9rem; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin: 82px 0 0 22%; }.story-card { position: relative; min-height: 280px; padding: 28px; display: flex; flex-direction: column; background: var(--paper-card); border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(17,17,17,.06); transition: transform .35s, box-shadow .35s; }.story-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 28px 70px rgba(17,17,17,.1); }.story-card-main { grid-row: span 2; min-height: 574px; background: var(--blue); color: var(--white); }.story-card-accent { background: var(--coral); color: var(--ink); }.story-year { color: var(--blue); font: 900 clamp(3.8rem, 6vw, 6.2rem)/.8 var(--display); letter-spacing: -.06em; }.story-card-main .story-year { color: var(--acid); }.story-card-accent .story-year { color: var(--ink); }.story-card h3 { margin: auto 0 12px; font: 800 clamp(1.5rem, 2.6vw, 2.6rem)/.95 var(--display); letter-spacing: -.04em; }.story-card p { margin: 0 0 26px; color: var(--muted); font-size: .82rem; }.story-card-main p { color: rgba(255,255,255,.72); }.story-meta { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid currentColor; font-size: .62rem; font-weight: 700; opacity: .7; }.story-line { position: absolute; left: 7%; bottom: 95px; width: 23%; height: 100px; border-bottom: 2px solid var(--ink); transform: rotate(-12deg); transform-origin: right; }.story-line i { position: absolute; left: 0; bottom: -7px; width: 13px; height: 13px; background: var(--blue); border: 2px solid var(--ink); border-radius: 50%; }.story-line span { position: absolute; right: 0; bottom: -5px; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; }
.about-snapshot { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: stretch; margin-top: 52px; padding: 20px; overflow: hidden; background: rgba(247,244,235,.6); border: 1px solid rgba(17,17,17,.14); border-radius: var(--radius); box-shadow: 0 18px 45px rgba(17,17,17,.05); }
.about-snapshot::after { content: ""; position: absolute; width: 150px; height: 150px; right: -80px; top: -90px; border: 1px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 24px rgba(83,104,255,.06), 0 0 0 48px rgba(255,98,67,.035); animation: about-orbit 7s ease-in-out infinite; pointer-events: none; }
.snapshot-copy { position: relative; z-index: 1; padding: 7px 10px; }
.snapshot-copy > span { display: flex; align-items: center; gap: 9px; color: var(--blue); font: 800 .58rem var(--display); letter-spacing: .12em; }
.snapshot-copy > span::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,98,67,.12); animation: about-pulse 2.2s ease-in-out infinite; }
.snapshot-copy p { max-width: 720px; margin: 18px 0 0; font-size: .86rem; line-height: 1.7; }
.about-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: rgba(233,229,217,.75); }
.about-facts div { min-width: 0; padding: 16px 12px; display: flex; flex-direction: column; justify-content: center; transition: color .3s, background .3s, transform .3s; }
.about-facts div + div { border-left: 1px solid var(--line); }
.about-facts div:hover { color: var(--white); background: var(--blue); transform: translateY(-3px); }
.about-facts strong { font: 900 1rem var(--display); letter-spacing: -.015em; }
.about-facts span { margin-top: 4px; color: var(--muted); font-size: .54rem; font-weight: 700; }.about-facts div:hover span { color: rgba(255,255,255,.75); }
.about-grid { margin: 14px 0 0; grid-template-columns: 1.12fr .88fr; }
.about-focus { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 22px; }
.about-focus span { padding: 6px 9px; color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .56rem; font-weight: 700; transition: color .25s, background .25s, transform .25s; }
.about-focus span:hover { color: var(--ink); background: var(--acid); transform: translateY(-3px); }

.section-dark { color: var(--white); background: radial-gradient(circle at 78% 12%,rgba(83,104,255,.22),transparent 27%), radial-gradient(circle at 12% 92%,rgba(199,255,74,.07),transparent 22%), #090909; }.section-dark .section-kicker, .section-ink .section-kicker { border-color: var(--white); }.section-dark .section-intro > p, .section-ink .section-intro > p { color: #aaa; }
.project-deck { margin: 70px -46px 0 23%; padding: 0 46px 22px 0; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }.project-deck::-webkit-scrollbar { display: none; }.project-deck.dragging { cursor: grabbing; scroll-snap-type: none; }.work-card { position: relative; flex: 0 0 min(390px, 76vw); height: 560px; padding: 16px; display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; color: var(--white); background: #171717; border: 1px solid #333; border-radius: 12px; }.work-top { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: .62rem; }.work-top > span { display: grid; place-items: center; min-width: 29px; height: 24px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }.work-top > div { display: flex; gap: 5px; }.work-top > div span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.work-copy { position: relative; z-index: 3; margin-top: auto; }.work-copy h3 { margin: 0 0 7px; font: 800 2.25rem/1 var(--display); letter-spacing: -.022em; word-spacing: .04em; }.work-copy p { margin: 0; color: #aaa; font-size: .77rem; }.work-links { position: relative; z-index: 3; display: flex; gap: 16px; margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }.work-links a { font-size: .68rem; font-weight: 800; }.work-links a:hover { color: var(--acid); }
.work-card-weburate { color: var(--ink); background: #9fb7ff; border-color: #bbc9ff; }
.work-card-weburate .work-top > span, .work-card-weburate .work-top > div span { border-color: rgba(17,17,17,.28); }
.work-card-weburate .work-copy p { color: #29335e; }
.work-card-weburate .work-links { border-color: rgba(17,17,17,.18); }
.weburate-visual { position: absolute; inset: 63px 18px 190px; overflow: hidden; background: var(--blue); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 10px 10px 0 var(--ink); }
.weburate-visual strong { position: absolute; left: 14px; top: -24px; color: var(--acid); font: 900 13rem/.9 var(--display); letter-spacing: -.08em; }
.weburate-visual > div { position: absolute; left: 18px; right: 18px; bottom: 17px; display: flex; justify-content: space-between; color: var(--white); font: 800 .54rem var(--display); letter-spacing: .1em; }
.weburate-visual i { position: absolute; width: 95px; height: 95px; right: 22px; top: 26px; border: 1px solid var(--acid); border-radius: 50%; box-shadow: 0 0 0 18px rgba(199,255,74,.08), 0 0 0 36px rgba(199,255,74,.05); animation: pulse 2.4s infinite; }
.co-builder { position: relative; z-index: 3; margin-top: 12px; color: #29335e; font-size: .61rem; }
.co-builder a { color: var(--ink); font-weight: 800; border-bottom: 1px solid currentColor; }
.work-card-city { background: #0d1735; }
.work-card-bakery { color: #3a1d29; background: #f1dce0; border-color: #e9c2ca; }.work-card-bakery .work-top > span, .work-card-bakery .work-top > div span { border-color: rgba(58,29,41,.3); }.work-card-bakery .work-copy p { color: #785463; }.work-card-bakery .work-links { border-color: rgba(58,29,41,.16); }.work-image { margin: 30px -2px 20px; height: 255px; overflow: hidden; border-radius: 8px; box-shadow: 0 18px 40px rgba(58,29,41,.12); }.project-thumbnail { background: #e9e9e9; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 42px rgba(0,0,0,.25); }.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }.work-card:hover .work-image img { transform: scale(1.05); }
.work-card-skill { background: #1b102b; }.terminal-visual { position: absolute; inset: 70px 20px 175px; padding: 18px; color: #c8b2ff; background: rgba(7,4,12,.75); border: 1px solid #6a49aa; border-radius: 8px; box-shadow: 0 25px 60px rgba(0,0,0,.4); transform: rotate(-2deg); }.terminal-visual > span { display: block; padding-bottom: 12px; border-bottom: 1px solid rgba(200,178,255,.2); font: 700 .7rem var(--display); }.terminal-visual code { display: block; margin-top: 38px; font-size: .78rem; line-height: 2; }.terminal-visual code b { color: var(--acid); }.terminal-visual i { position: absolute; right: 20px; top: 17px; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; box-shadow: -14px 0 #ffd463, -28px 0 var(--acid); }
.work-card-anomaly { background: #e9e5d9; color: var(--ink); }.work-card-anomaly .work-top > span, .work-card-anomaly .work-top > div span { border-color: var(--line); }.work-card-anomaly .work-copy p { color: var(--muted); }.work-card-anomaly .work-links { border-color: var(--line); }.chart-visual { position: absolute; inset: 75px 25px 175px; display: flex; align-items: flex-end; gap: 10px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0 42px, rgba(17,17,17,.08) 43px); }.chart-visual span { flex: 1; height: var(--h); background: var(--blue); border-radius: 3px 3px 0 0; }.chart-visual .anomaly { background: var(--coral); box-shadow: 0 0 0 5px rgba(255,98,67,.1); }.chart-visual i { position: absolute; right: 0; top: 11%; padding: 5px 7px; color: var(--white); background: var(--coral); font: 800 .52rem var(--display); }
.work-card-waste { color: var(--ink); background: var(--acid); border-color: var(--acid); }.work-card-waste .work-top > span, .work-card-waste .work-top > div span { border-color: rgba(17,17,17,.3); }.work-card-waste .work-copy p { color: #485a18; }.work-card-waste .work-links { border-color: rgba(17,17,17,.18); }.eco-visual { position: absolute; inset: 68px 20px 172px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; }.eco-visual span { font-size: 7rem; animation: slow-spin 9s linear infinite; }.eco-visual i { position: absolute; inset: 17%; border: 1px dashed var(--ink); border-radius: 50%; animation: slow-spin 14s linear infinite reverse; }.eco-visual b { position: absolute; bottom: -28px; font: 800 .58rem var(--display); letter-spacing: .15em; }
.work-links > span { font-size: .63rem; font-weight: 800; letter-spacing: .04em; }
.product-visual { position: absolute; inset: 68px 20px 188px; padding: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; background: rgba(0,0,0,.22); box-shadow: 0 22px 50px rgba(0,0,0,.2); }
.product-visual > span { display: block; font: 800 .6rem var(--display); letter-spacing: .15em; opacity: .72; }
.product-visual > strong { position: absolute; left: 18px; top: 52px; font: 900 5.4rem/.8 var(--display); letter-spacing: -.07em; }
.product-visual > div { position: absolute; left: 18px; right: 18px; bottom: 42px; display: flex; gap: 8px; align-items: flex-end; }
.product-visual > b { position: absolute; left: 18px; bottom: 16px; font: 800 .52rem var(--display); letter-spacing: .13em; }
.work-card-dabbadoc { color: #172418; background: #c7efbe; border-color: #dff8d9; }.work-card-dabbadoc .work-top > span, .work-card-dabbadoc .work-top > div span { border-color: rgba(23,36,24,.28); }.work-card-dabbadoc .work-copy p { color: #4a654e; }.work-card-dabbadoc .work-links { border-color: rgba(23,36,24,.18); }.product-visual-label { color: #efffe9; background: #173c28; }.product-visual-label > strong { color: #d6ff5e; }.product-visual-label > div i { flex: 1; height: 18px; background: #e4f4df; border-radius: 2px; }.product-visual-label > div i:nth-child(2) { height: 38px; background: #d6ff5e; }.product-visual-label > div i:nth-child(3) { height: 62px; background: #ff8269; }.product-visual-label > div i:nth-child(4) { height: 29px; }
.work-card-learnlens { background: #4431a8; }.product-visual-learn { color: #e9e4ff; background: #21165e; border-color: #7b68e2; }.product-visual-learn > strong { color: #c7ff4a; }.product-visual-learn > div i { flex: 1; padding: 9px 5px; color: #21165e; background: #e9e4ff; border-radius: 4px; font: 900 .54rem var(--display); text-align: center; }
.work-card-sealpay { color: #10232f; background: #75d7ec; border-color: #a8e8f5; }.work-card-sealpay .work-top > span, .work-card-sealpay .work-top > div span { border-color: rgba(16,35,47,.28); }.work-card-sealpay .work-copy p { color: #315663; }.work-card-sealpay .work-links { border-color: rgba(16,35,47,.18); }.product-visual-seal { color: #e8fbff; background: #0b2737; }.product-visual-seal > strong { color: #75d7ec; font-size: 4rem; }.product-visual-seal > div { align-items: center; }.product-visual-seal > div i { position: relative; flex: 1; height: 2px; background: #75d7ec; }.product-visual-seal > div i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; background: #c7ff4a; border-radius: 50%; }
.work-card-chunav { color: #19151a; background: #f1e5d4; border-color: #fff3e2; }.work-card-chunav .work-top > span, .work-card-chunav .work-top > div span { border-color: rgba(25,21,26,.28); }.work-card-chunav .work-copy p { color: #6b5b53; }.work-card-chunav .work-links { border-color: rgba(25,21,26,.18); }.product-visual-chunav { color: #fff; background: linear-gradient(135deg,#ff7a35 0 33%,#f3f1e8 33% 66%,#238451 66%); }.product-visual-chunav > span { color: #19151a; }.product-visual-chunav > strong { display: grid; place-items: center; width: 92px; height: 92px; color: #253f93; background: #fff; border: 4px solid #253f93; border-radius: 50%; font-size: 3.6rem; }.product-visual-chunav > div i { flex: 1; padding: 7px 0; color: #fff; background: #253f93; border-radius: 999px; font: 800 .5rem var(--display); text-align: center; }
.work-card-earniq { color: #171220; background: #d6b6ff; border-color: #e9d7ff; }.work-card-earniq .work-top > span, .work-card-earniq .work-top > div span { border-color: rgba(23,18,32,.28); }.work-card-earniq .work-copy p { color: #594b6d; }.work-card-earniq .work-links { border-color: rgba(23,18,32,.18); }.product-visual-earn { color: #fff; background: #231338; }.product-visual-earn > strong { color: #c7ff4a; }.product-visual-earn > div i { flex: 1; padding: 12px 8px; color: #171220; background: #c7ff4a; border-radius: 4px; font: 900 .62rem var(--display); text-align: center; }.product-visual-earn > div i:last-child { color: #fff; background: #7658ff; }
.work-card-medtriage { background: #6b1d31; }.product-visual-med { color: #ffdde5; background: #300913; border-color: #a74660; }.product-visual-med > strong { color: #ff6e8e; }.product-visual-med > div i { flex: 1; padding: 10px; color: #300913; background: #ffdde5; border-radius: 4px; font: 900 .58rem var(--display); text-align: center; }.product-visual-med > div i:first-child { background: #ff6e8e; }.product-visual-med > div i:last-child { background: #c7ff4a; }
.deck-instruction { margin: 20px 0 0 23%; display: flex; align-items: center; gap: 12px; color: #888; font-size: .56rem; font-weight: 800; letter-spacing: .12em; }.deck-instruction i { width: 50px; height: 1px; background: #555; position: relative; }.deck-instruction i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; background: var(--acid); border-radius: 50%; animation: drag-dot 2.2s infinite; }.deck-instruction a { margin-left: auto; color: var(--white); font-size: .68rem; letter-spacing: normal; }

.capabilities { background: var(--paper-soft); }.capability-statement { margin: 50px 0 70px; }.capability-statement h2 { margin: 0; font: 600 clamp(2.7rem, 5.6vw, 6.2rem)/1.12 var(--display); letter-spacing: -.025em; word-spacing: .04em; }.word-chip { display: inline-block; padding: .02em .16em .08em; color: var(--white); background: var(--blue); border-radius: 8px; transform: rotate(-1.5deg); }.word-chip-dark { background: var(--ink); transform: rotate(1deg); }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.capability-grid article { min-height: 340px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.capability-grid article > span { color: var(--muted); font-size: .6rem; font-weight: 700; }.cap-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 38px 0 30px; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.5rem; transition: color .25s, background .25s, transform .25s; }.capability-grid article:hover .cap-icon { color: var(--white); background: var(--blue); transform: rotate(10deg); }.capability-grid h3 { margin: 0 0 10px; font: 800 1.7rem var(--display); letter-spacing: -.04em; }.capability-grid p { max-width: 430px; margin: 0; color: var(--muted); font-size: .8rem; }.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }.mini-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .56rem; }
.stack-ticker { margin: 80px -46px -78px; padding: 17px 0; overflow: hidden; color: var(--white); background: var(--blue); }.stack-ticker > div { width: max-content; display: flex; align-items: center; animation: ticker 24s linear infinite; }.stack-ticker span { padding: 0 19px; font: 800 .7rem var(--display); letter-spacing: .12em; }.stack-ticker i { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; }

.section-ink { color: var(--white); background: #151515; }.achievement-board { margin-top: 58px; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }.achievement-board article { min-width: 0; min-height: 175px; padding: 20px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); background: rgba(255,255,255,.025); transition: color .3s, background .3s, transform .3s; }.achievement-board article:hover { z-index: 1; color: var(--ink); background: var(--acid); transform: translateY(-7px); }.achievement-board strong { margin-top: auto; font: 900 clamp(2rem,3vw,3.4rem)/.9 var(--display); letter-spacing: -.04em; }.achievement-board span { margin-top: 10px; color: var(--blue); font-size: .56rem; font-weight: 800; letter-spacing: .13em; }.achievement-board article:hover span { color: var(--blue-deep); }.achievement-board p { margin: 5px 0 0; color: #858585; font-size: .62rem; }.achievement-board article:hover p { color: #3c3c3c; }.journey-list { margin-top: 70px; }.journey-list article { display: grid; grid-template-columns: 150px 1fr 50px; gap: 25px; padding: 28px 0; align-items: center; border-top: 1px solid var(--line-light); transition: padding .3s, color .3s; }.journey-list article:last-child { border-bottom: 1px solid var(--line-light); }.journey-list article:hover { padding-left: 16px; color: var(--acid); }.journey-year { font: 800 1.1rem var(--display); }.journey-list article > div:nth-child(2) span { color: var(--blue); font-size: .57rem; font-weight: 800; letter-spacing: .13em; }.journey-list h3 { margin: 6px 0; font: 800 clamp(1.5rem, 2.7vw, 2.8rem)/1.06 var(--display); letter-spacing: -.018em; word-spacing: .04em; }.journey-list p { max-width: 760px; margin: 0; color: #9b9b9b; font-size: .75rem; }.journey-list i { justify-self: end; color: #555; font-style: normal; font-size: .65rem; }
.journey-inline-link { display: inline-block; margin: 10px 12px 0 0; color: var(--acid); border-bottom: 1px solid currentColor; font-size: .62rem; font-weight: 800; }

.contact { min-height: calc(100svh - 36px); display: flex; flex-direction: column; color: var(--ink); background: var(--coral); }
.contact::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -180px; border: 1px solid rgba(17,17,17,.18); border-radius: 50%; box-shadow: 0 0 0 90px rgba(17,17,17,.04), 0 0 0 180px rgba(17,17,17,.035); pointer-events: none; }
.contact-top { position: relative; display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(17,17,17,.25); font-size: .6rem; font-weight: 800; letter-spacing: .1em; }
.contact-layout { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 42px; align-items: start; margin: 60px 0 54px; }
.contact-copy h2 { margin: 0 0 26px; font: 900 clamp(4.4rem, 8vw, 8.7rem)/.86 var(--display); letter-spacing: -.025em; word-spacing: .07em; }
.contact-copy h2 em { color: var(--acid); font-style: normal; }
.contact-copy > p { max-width: 560px; margin: 0 0 30px; font-size: .88rem; }
.contact-direct { display: grid; gap: 8px; }
.contact-direct > a { padding: 11px; display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; align-items: center; border: 1px solid rgba(17,17,17,.24); border-radius: 7px; background: rgba(255,255,255,.13); transition: background .25s, transform .25s; }
.contact-direct > a:hover { background: var(--acid); transform: translateX(5px); }
.contact-direct > a > span { display: grid; place-items: center; width: 36px; height: 36px; color: var(--white); background: var(--ink); border-radius: 50%; font: 800 .58rem var(--display); }
.contact-direct small, .contact-direct strong, .contact-direct em { display: block; }
.contact-direct small { font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.contact-direct strong { font: 800 .85rem var(--display); }
.contact-direct em { overflow: hidden; max-width: 250px; font-size: .6rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.contact-direct b { font-weight: 800; }
.contact-form { padding: 25px; background: var(--paper-soft); border: 1px solid rgba(255,255,255,.5); border-radius: 10px; box-shadow: 14px 14px 0 var(--ink); }
.form-trap { position: absolute; left: -9999px; }
.form-heading { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-heading > span { color: var(--blue); font-size: .56rem; font-weight: 800; letter-spacing: .14em; }
.form-heading strong { display: block; margin: 4px 0; font: 800 2rem var(--display); letter-spacing: -.015em; }
.form-heading p { margin: 0; color: var(--muted); font-size: .68rem; }
.contact-form label { display: grid; gap: 6px; margin-bottom: 15px; }
.contact-form label > span { font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(17,17,17,.28); border-radius: 0; outline: none; font: 500 .76rem var(--body); transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.contact-form button { width: 100%; padding: 14px 16px; display: flex; justify-content: space-between; color: var(--white); background: var(--ink); border: 0; border-radius: 6px; font-weight: 800; cursor: pointer; transition: color .25s, background .25s; }
.contact-form button:hover { color: var(--ink); background: var(--acid); }
.contact-form button:disabled { cursor: wait; opacity: .6; }
.form-status { min-height: 20px; margin: 10px 0 0; font-size: .65rem; font-weight: 700; }
.form-status.success { color: #235c28; }.form-status.error { color: #8f1b16; }
.contact-footer { position: relative; margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(17,17,17,.25); font-size: .58rem; font-weight: 700; }
.contact-footer > div { display: flex; gap: 20px; }.contact-footer a:hover { text-decoration: underline; }

/* Motion and atmosphere pass */
.hero-nav { animation: nav-enter .65s .55s cubic-bezier(.16,1,.3,1) both; }
.hero-actions a { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s; }
.hero-actions a:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(17,17,17,.22); }
.work-card { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.work-card:hover { transform: translateY(-12px) rotate(.35deg); border-color: rgba(199,255,74,.55); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.work-card::after { content: ""; position: absolute; z-index: 1; inset: -55% auto -55% -75%; width: 45%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent); transform: rotate(18deg); transition: left .8s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.work-card:hover::after { left: 135%; }
.capabilities { background: radial-gradient(circle at 10% 15%,rgba(83,104,255,.13),transparent 26%), radial-gradient(circle at 90% 70%,rgba(255,98,67,.1),transparent 28%), var(--paper-soft); }
.word-chip { animation: chip-tilt 4s ease-in-out infinite; }.word-chip-dark { animation-delay: -2s; }
.capability-grid article { position: relative; overflow: hidden; transition: transform .35s, background .35s, box-shadow .35s; }
.capability-grid article::before { content: ""; position: absolute; width: 150px; height: 150px; right: -90px; top: -90px; border-radius: 50%; background: rgba(83,104,255,.1); transform: scale(.6); transition: transform .45s; }
.capability-grid article:hover { z-index: 1; transform: translateY(-7px); background: rgba(255,255,255,.28); box-shadow: 0 22px 55px rgba(17,17,17,.1); }
.capability-grid article:hover::before { transform: scale(1.4); }
.section-ink { background: radial-gradient(circle at 15% 15%,rgba(255,98,67,.16),transparent 25%), radial-gradient(circle at 85% 85%,rgba(83,104,255,.18),transparent 28%), #151515; }
.contact { background: radial-gradient(circle at 15% 82%,rgba(199,255,74,.34),transparent 24%), radial-gradient(circle at 88% 18%,rgba(83,104,255,.18),transparent 28%), var(--coral); }
.contact-form { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.contact-form:hover { transform: translateY(-7px) rotate(.25deg); box-shadow: 19px 21px 0 var(--ink); }
.profile-rail { background: linear-gradient(160deg,rgba(247,244,235,.96),rgba(222,216,200,.9)); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }.reveal.visible { opacity: 1; transform: none; }

@keyframes loader-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-letter-in { from { opacity: 0; transform: translateY(55%) rotate(5deg); filter: blur(8px); } to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
@keyframes hero-letter-in { from { opacity: 0; transform: translateY(-35%) scaleY(.65); filter: blur(10px); } to { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); } }
@keyframes nav-enter { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes portrait-enter { from { opacity: 0; transform: translate3d(calc(-50% + var(--portrait-shift-x)),calc(70px + var(--portrait-shift-y)),0) scale(.92); } to { opacity: 1; transform: translate3d(calc(-50% + var(--portrait-shift-x)),var(--portrait-shift-y),0) scale(1); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes ambient-orbit { 0%,100% { transform: translate(-50%,-50%) scale(.94) rotate(0); opacity: .6; } 50% { transform: translate(-50%,-50%) scale(1.06) rotate(5deg); opacity: 1; } }
@keyframes ui-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(.4deg); } }
@keyframes chip-tilt { 0%,100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-3px); } }
@keyframes about-orbit { 0%,100% { transform: scale(.9) translate(0,0); opacity: .55; } 50% { transform: scale(1.08) translate(-12px,10px); opacity: 1; } }
@keyframes about-pulse { 0%,100% { transform: scale(.75); opacity: .65; } 50% { transform: scale(1); opacity: 1; } }
@keyframes portrait-shift { 0%,100% { transform: scale(1.02) translateY(0); } 50% { transform: scale(1.055) translateY(-8px); } }
@keyframes halo-breathe { 0%,100% { transform: scale(.96) rotate(-2deg); opacity: .7; } 50% { transform: scale(1.04) rotate(2deg); opacity: 1; } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }
@keyframes radar { from { transform: translate(-50%,-50%) scale(.4); opacity: 1; } to { transform: translate(-50%,-50%) scale(1.25); opacity: 0; } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes drag-dot { 0% { transform: translateX(-45px); } 100% { transform: translateX(0); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  :root { --rail: 200px; --gap: 28px; }
  .hero-name { top: 9%; }
  .hero-chip-left { left: 2%; width: 220px; }.hero-chip-bottom { left: 8%; }.hero-traits { right: 2%; }.hero-summary { right: 2%; width: 220px; }
  .section { padding-inline: 32px; }.section-intro { gap: 40px; }.about-grid { margin-left: 0; }.project-deck { margin-left: 10%; margin-right: -32px; }.deck-instruction { margin-left: 10%; }.stack-ticker { margin-left: -32px; margin-right: -32px; }
}

@media (max-width: 840px) {
  .nav-group, .nav-monogram { display: none; }.hero-nav { grid-template-columns: 1fr; padding-inline: 18px; }.mobile-menu-button { display: block; }
  .hero { height: 920px; min-height: 100svh; }.hero-name { top: 8%; font-size: 25vw; }.hero-portrait { width: min(92vw, 680px); height: 78%; }.hero-title-block { width: 75vw; bottom: 7%; }.hero-chip-left { top: 37%; left: 14px; width: 180px; min-height: 85px; }.chip-symbol { width: 58px; height: 55px; font-size: 1.5rem; }.hero-chip-left > div:last-child { gap: 5px; }.hero-chip strong { font-size: 1.25rem; }.hero-chip-bottom { left: 15px; bottom: 2%; display: none; }.hero-traits { top: 33%; right: 13px; width: 135px; padding: 12px; font-size: .65rem; }.hero-summary { display: none; }.hero-status { top: 85px; }
  .portfolio-body { grid-template-columns: 1fr; padding: 0; }.profile-rail { display: none; }.content-column { border-radius: 0; }.section { min-height: auto; padding: 90px 24px; scroll-margin-top: 0; }
  .section-intro { grid-template-columns: 1fr; gap: 26px; }.section-intro h2 { font-size: clamp(3.8rem, 12vw, 6.2rem); }
  .about-grid { margin: 60px 0 0; }.story-line { display: none; }
  .project-deck { margin: 55px -24px 0; padding-inline: 24px; }.deck-instruction { margin-left: 0; }.stack-ticker { margin: 70px -24px -90px; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }.contact-copy h2 { font-size: clamp(4.6rem, 14vw, 7rem); }
}

@media (max-width: 560px) {
  .intro-progress { bottom: 45px; }.intro-loader p { bottom: 12px; }
  .hero { height: 820px; }.hero-name { top: 12%; font-size: 25.8vw; }.hero-portrait { width: 112vw; height: 72%; }.hero-title-block { width: 94vw; bottom: 5%; }.hero-title-block h1 { font-size: clamp(3.8rem, 18vw, 5rem); }.hero-actions { margin-top: 20px; }.hero-actions a { min-width: 130px; }
  .hero-chip-left { top: 27%; left: 8px; width: 142px; min-height: 70px; padding: 9px; gap: 8px; }.chip-symbol { width: 45px; height: 45px; font-size: 1.1rem; }.hero-chip span { font-size: .52rem; }.hero-traits { top: 26%; right: 7px; width: 113px; padding: 9px; font-size: .55rem; gap: 5px; }.hero-status { right: 15px; }
  .section { padding-inline: 16px; }.section-intro h2 { font-size: clamp(3.1rem, 16vw, 4.8rem); }.section-intro > p { font-size: .82rem; }
  .about-grid { grid-template-columns: 1fr; }.story-card-main { grid-row: auto; min-height: 390px; }.story-card { min-height: 310px; }
  .project-deck { margin-inline: -16px; padding-inline: 16px; }.work-card { flex-basis: 86vw; height: 540px; }.deck-instruction { margin-left: 0; }
  .capability-statement h2 { font-size: clamp(2.4rem, 11vw, 4rem); }.capability-grid { grid-template-columns: 1fr; }.capability-grid article { min-height: 300px; }.stack-ticker { margin-left: -16px; margin-right: -16px; }
  .journey-list article { grid-template-columns: 1fr auto; gap: 10px; }.journey-year { grid-column: 1; }.journey-list article > div:nth-child(2) { grid-column: 1; }.journey-list i { grid-column: 2; grid-row: 1; }.journey-list h3 { font-size: 1.7rem; }
  .contact { min-height: auto; }.contact-top { gap: 16px; }.contact-top span:last-child { text-align: right; }.contact-layout { margin-top: 44px; }.contact-copy h2 { font-size: clamp(4.5rem, 21vw, 6.8rem); }.form-row { grid-template-columns: 1fr; gap: 0; }.contact-form { padding: 20px 17px; box-shadow: 8px 8px 0 var(--ink); }.contact-footer { flex-direction: column; gap: 18px; }.contact-footer > div { flex-wrap: wrap; gap: 12px; }
}

/* Purpose-built touch and mobile layout */
@media (max-width: 840px) {
  html { scroll-padding-top: 64px; }
  .intro-word { gap: .03em; font-size: 20vw; }
  .intro-progress { left: 20px; right: 20px; }
  .intro-loader p { left: 20px; }
  .hero { height: 880px; min-height: 100svh; }
  .hero::before { background-size: 48px 48px; }
  .hero::after { width: 116vw; top: 51%; box-shadow: 0 0 0 42px rgba(83,104,255,.035), 0 0 0 84px rgba(255,98,67,.025); }
  .hero-nav { position: absolute; min-height: 64px; padding: 0 16px; background: rgba(222,216,200,.76); backdrop-filter: blur(16px); }
  .mobile-menu-button { width: 46px; height: 46px; border-width: 2px; }
  .mobile-menu { padding: 92px 20px 28px; background: radial-gradient(circle at 85% 15%,rgba(199,255,74,.2),transparent 25%), var(--blue); }
  .mobile-menu a { min-height: 68px; align-items: center; padding: 14px 0; font-size: clamp(2.25rem,11vw,4rem); letter-spacing: -.025em; }
  .hero-status { top: 76px; left: 50%; right: auto; max-width: calc(100vw - 28px); transform: translateX(-50%); white-space: nowrap; font-size: .58rem; }
  .hero-name { top: 14%; left: 0; right: 0; gap: .018em; font-size: 22.8vw; opacity: .84; }
  .hero-portrait { width: min(116vw,760px); height: 72%; bottom: 4%; }
  .portrait-halo { width: 68%; height: 72%; left: 16%; top: 14%; }
  .hero-chip-left, .hero-chip-bottom, .hero-traits, .hero-summary { display: none; }
  .hero-title-block { width: calc(100% - 28px); bottom: 3.5%; }
  .hero-title-block > p { margin-bottom: 6px; font-size: .6rem; letter-spacing: .14em; }
  .hero-title-block h1 { max-width: 570px; margin-inline: auto; font-size: clamp(3.4rem,14vw,5.25rem); line-height: .88; }
  .hero-actions { width: min(100%,340px); margin: 19px auto 0; gap: 8px; }
  .hero-actions a { flex: 1; min-width: 0; min-height: 48px; align-items: center; padding: 12px 13px; }
  .portfolio-body { display: block; }
  .content-column { width: 100%; }
  .section { padding: 78px 20px 84px; overflow: hidden; }
  .section::after { width: 290px; height: 290px; right: -160px; bottom: -150px; }
  .section-kicker { padding: 5px 9px; font-size: .6rem; }
  .section-intro { gap: 20px; }
  .section-intro h2 { font-size: clamp(3.25rem,13vw,5.7rem); line-height: .94; letter-spacing: -.018em; }
  .section-intro > p { max-width: 620px; font-size: .87rem; line-height: 1.65; }
  .about-snapshot { grid-template-columns: 1fr; gap: 14px; margin-top: 38px; padding: 16px; }
  .snapshot-copy { padding: 4px; }
  .snapshot-copy p { margin-top: 14px; font-size: .83rem; line-height: 1.65; }
  .about-facts { min-height: 96px; }
  .about-facts div { padding: 13px 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .story-card, .story-card-main { grid-row: auto; min-height: 310px; padding: 24px; }
  .story-card-main { min-height: 420px; }
  .story-card h3 { font-size: clamp(1.8rem,7vw,2.7rem); letter-spacing: -.02em; }
  .story-card p { font-size: .82rem; line-height: 1.6; }
  .project-deck { gap: 14px; margin-top: 44px; padding-bottom: 18px; scroll-padding-inline: 20px; }
  .work-card { flex-basis: min(86vw,390px); height: 530px; padding: 14px; }
  .work-top { gap: 10px; }
  .work-top > div { flex-wrap: wrap; justify-content: flex-end; }
  .work-top > div span { padding: 4px 7px; font-size: .56rem; }
  .work-image { height: 230px; margin-top: 24px; }
  .work-copy h3 { font-size: 2rem; }
  .work-links a { min-height: 42px; display: inline-flex; align-items: center; }
  .deck-instruction { margin-top: 10px; font-size: .52rem; }
  .capability-statement { margin: 38px 0 50px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 280px; padding: 24px; }
  .cap-icon { margin: 28px 0 24px; }
  .capability-grid h3 { font-size: 1.65rem; letter-spacing: -.02em; }
  .mini-tags span { padding: 6px 9px; }
  .stack-ticker { margin-top: 56px; }
  .achievement-board { grid-template-columns: repeat(2,1fr); margin-top: 42px; }
  .achievement-board article { min-height: 150px; }
  .achievement-board article:last-child { grid-column: 1 / -1; min-height: 130px; }
  .journey-list { margin-top: 48px; }
  .journey-list article { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 24px 0; }
  .journey-list article > div:nth-child(2) { grid-column: 1 / -1; }
  .journey-list h3 { margin-top: 8px; font-size: clamp(1.65rem,7vw,2.35rem); }
  .journey-list p { font-size: .78rem; line-height: 1.6; }
  .contact { padding-bottom: 34px; }
  .contact-layout { margin: 42px 0; }
  .contact-copy h2 { margin-bottom: 20px; font-size: clamp(4rem,17vw,6.6rem); }
  .contact-copy > p { font-size: .86rem; line-height: 1.65; }
  .contact-direct > a { min-height: 66px; padding: 10px; grid-template-columns: 36px minmax(0,1fr) auto; }
  .contact-direct em { max-width: 46vw; }
  .contact-form { padding: 22px 18px; box-shadow: 8px 8px 0 var(--ink); }
  .contact-form input, .contact-form select, .contact-form textarea { min-height: 48px; font-size: .82rem; }
  .contact-form textarea { min-height: 120px; }
  .contact-form button { min-height: 50px; }
  .contact-footer { gap: 18px; }
}

@media (max-width: 560px) {
  .hero { height: 790px; }
  .hero-status { top: 73px; padding: 7px 10px; font-size: .52rem; }
  .hero-name { top: 15%; font-size: 22.5vw; }
  .hero-portrait { width: 125vw; height: 68%; bottom: 7%; }
  .hero-title-block { bottom: 3%; }
  .hero-title-block h1 { font-size: clamp(3.2rem,16vw,4.65rem); }
  .hero-actions { max-width: 310px; }
  .hero-actions a { padding-inline: 11px; font-size: .68rem; }
  .section { padding: 68px 16px 74px; }
  .section-intro h2 { font-size: clamp(3rem,15.5vw,4.65rem); }
  .about-snapshot { margin-top: 30px; padding: 14px; }
  .about-facts strong { font-size: .86rem; }
  .about-facts span { font-size: .48rem; }
  .story-card, .story-card-main { min-height: 290px; padding: 21px; }
  .story-card-main { min-height: 380px; }
  .project-deck { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .work-card { flex-basis: calc(100vw - 38px); height: 515px; }
  .work-image { height: 215px; }
  .product-visual { inset: 64px 16px 185px; }
  .deck-instruction a { display: none; }
  .capability-grid article { min-height: 260px; padding: 21px; }
  .achievement-board article { min-height: 140px; padding: 17px 13px; }
  .achievement-board strong { font-size: 2.15rem; }
  .achievement-board p { font-size: .57rem; }
  .journey-year { font-size: 1rem; }
  .contact-direct > a { grid-template-columns: 34px minmax(0,1fr) auto; gap: 9px; }
  .contact-direct > a > span { width: 34px; height: 34px; }
  .contact-direct strong { font-size: .78rem; }
  .contact-direct em { max-width: 44vw; font-size: .56rem; }
  .contact-form:hover, .work-card:hover, .capability-grid article:hover { transform: none; }
}

@media (hover: none) {
  .work-card:hover, .story-card:hover, .capability-grid article:hover, .contact-form:hover { transform: none; }
  .work-card:hover::after { left: -75%; }
}

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