:root {
  color-scheme: light;
  --paper: #edf5fa;
  --paper-deep: #e2edf4;
  --ink: #1d2935;
  --muted: #526575;
  --line: #cad8e2;
  --accent: #285e7a;
  --sky: #8cc8e8;
  --contact-background: #285e7a;
  --contact-ink: #ffffff;
  --project-card: #f8fbfd;
  --project-ink: #1d2935;
  --project-muted: #526575;
  --project-line: #cad8e2;
  --project-art: #dceaf3;
  --featured-card: #d8eaf4;
  --featured-art: #c2dcec;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Space Grotesk", "DM Sans", sans-serif;
  --mono: "DM Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { min-height: 100vh; position: relative; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before, body::after { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; }
body::before {
  background:
    radial-gradient(ellipse at center, #5aa9d638 0, #5aa9d60d 48%, transparent 72%),
    radial-gradient(ellipse at center, #8cc8e840 0, #8cc8e80c 50%, transparent 73%),
    radial-gradient(ellipse at center, #285e7a1c 0, #285e7a08 47%, transparent 72%);
  background-repeat: no-repeat;
  background-size: 52vmax 52vmax, 44vmax 44vmax, 56vmax 56vmax;
  background-position: -18% -18%, 112% 8%, 48% 112%;
  animation: ambient-drift 18s ease-in-out infinite;
  will-change: transform, background-position;
}
body::after {
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 12%, transparent) .65px, transparent .65px);
  background-size: 5px 5px;
  opacity: .15;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
  animation: particle-drift 26s linear infinite;
}
body.dark-theme::before {
  background:
    radial-gradient(ellipse at center, #8cc8e83d 0, #8cc8e80c 48%, transparent 72%),
    radial-gradient(ellipse at center, #4a91b738 0, #4a91b70c 50%, transparent 73%),
    radial-gradient(ellipse at center, #285e7a30 0, #285e7a0a 47%, transparent 72%);
}
body.dark-theme::after { opacity: .1; }
.topbar, main, .footer { position: relative; z-index: 1; }
body.dark-theme {
  color-scheme: dark;
  --paper: #17232d;
  --paper-deep: #1e303d;
  --ink: #eaf3f8;
  --muted: #b7c8d3;
  --line: #3a4f5c;
  --accent: #8cc8e8;
  --contact-background: #8cc8e8;
  --contact-ink: #17232d;
  --project-card: #233541;
  --project-ink: #f1f7fa;
  --project-muted: #c2d1da;
  --project-line: #49606e;
  --project-art: #2e4554;
  --featured-card: #263e4d;
  --featured-art: #345a70;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.section-wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; transform: translateY(-150%); padding: 12px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.topbar { width: min(1280px, calc(100% - 40px)); height: 68px; position: sticky; top: 12px; z-index: 10; display: flex; align-items: center; justify-content: space-between; margin: 12px auto 0; padding: 0 clamp(20px, 4vw, 48px); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--paper) 80%, transparent); box-shadow: 0 12px 36px color-mix(in srgb, var(--ink) 8%, transparent); backdrop-filter: blur(22px) saturate(150%); transition: box-shadow .25s, border-color .25s, background .25s; }
.topbar.has-scrolled { border-color: color-mix(in srgb, var(--line) 65%, var(--accent)); box-shadow: 0 14px 40px color-mix(in srgb, var(--ink) 12%, transparent); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark-mark { font: 700 23px/1 var(--display); letter-spacing: -2px; }
.wordmark-mark span, .accent-dot { color: var(--accent); }
.wordmark-label { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); letter-spacing: .12em; }
.main-nav { display: flex; gap: clamp(18px, 3vw, 42px); }
.main-nav a { position: relative; color: var(--muted); font-size: 12px; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover, .main-nav a.is-current { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; padding: 8px; border: 2px solid color-mix(in srgb, var(--accent) 36%, var(--line)); border-radius: 50%; background: color-mix(in srgb, var(--paper) 76%, transparent); cursor: pointer; }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.moon-icon { display: none; }
.dark-theme .sun-icon { display: none; }
.dark-theme .moon-icon { display: block; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 18px; border: 2px solid currentColor; border-radius: 999px; font-weight: 600; font-size: 12px; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-accent { box-shadow: 0 7px 18px color-mix(in srgb, var(--accent) 18%, transparent); }
.button-accent:hover { box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 30%, transparent); }
.button svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-accent { border-color: color-mix(in srgb, var(--accent) 78%, var(--ink)); background: var(--accent); color: #fff; }
.button-light { border-color: #285e7a; background: #fff; color: #1d2935; }

.hero { min-height: 635px; position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; column-gap: clamp(28px, 4vw, 64px); padding-top: 24px; padding-bottom: 82px; }
.hero-copy { position: relative; z-index: 1; max-width: 620px; padding: 30px 0 20px; }
.eyebrow { margin: 0 0 20px; font: 10px var(--mono); letter-spacing: .09em; color: var(--muted); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #7cb75b; box-shadow: 0 0 0 3px color-mix(in srgb, #7cb75b 17%, transparent); }
.eyebrow-slash { padding: 0 8px; color: var(--accent); }
.hero h1 { margin: 0; font: 500 clamp(60px, 7vw, 104px)/.9 var(--display); letter-spacing: -.09em; }
.hero h1 > span { display: inline-block; margin-top: 9px; }
.hero-lede { max-width: 470px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.hero-lede em { color: var(--ink); font-family: var(--serif); font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.text-link { min-height: 42px; display: inline-flex; align-items: center; padding: 0 4px; border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 58%, transparent); font-size: 12px; font-weight: 600; }
.text-link span { padding-left: 5px; color: var(--accent); }
.hero-footnote { margin-top: 54px; color: var(--muted); font: 9px var(--mono); letter-spacing: .06em; }
.hero-footnote .mono { margin-right: 12px; color: var(--accent); }
.hero-art { min-height: 410px; position: relative; isolation: isolate; overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 65%, transparent); border-radius: 44% 56% 55% 45% / 42% 38% 62% 58%; background: #dceaf3; box-shadow: 0 34px 90px color-mix(in srgb, var(--accent) 15%, transparent); animation: art-enter .9s cubic-bezier(.2,.7,.2,1) .12s both, hero-morph 18s ease-in-out 1s infinite alternate; }
.dark-theme .hero-art { background: #263b49; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.hero-art::before { width: 68%; aspect-ratio: 1; top: 15%; left: 16%; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); animation: art-orbit 28s linear infinite; }
.hero-art::after { width: 46%; aspect-ratio: 1; top: 27%; left: 27%; border: 1px dashed color-mix(in srgb, var(--ink) 14%, transparent); animation: art-orbit 38s linear infinite reverse; }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px); background-size: 28px 28px; }
.hero-portrait { width: min(55%, 300px); height: 84%; position: absolute; z-index: 1; right: 4%; bottom: 0; border: 1px solid #ffffffb3; border-bottom: 0; border-radius: 48% 48% 0 0 / 34% 34% 0 0; background: #fff; box-shadow: 0 18px 50px #20201d24; object-fit: cover; object-position: center 22%; animation: art-child-enter .7s cubic-bezier(.2,.7,.2,1) .34s both; }
.art-stamp { position: absolute; z-index: 2; top: 52%; left: 9%; transform: translateY(-54%) rotate(-9deg); color: var(--accent); font: 700 clamp(76px, 9vw, 118px)/.8 var(--display); letter-spacing: -.12em; }
.art-stamp { animation: stamp-float 7s ease-in-out infinite, art-child-fade .6s ease .46s both; }
.art-stamp span { position: absolute; top: 4px; right: -20px; font: 12px var(--mono); letter-spacing: 0; }
.art-circle { position: absolute; border: 1px solid #25251f56; border-radius: 50%; }
.art-circle-one { width: 78%; aspect-ratio: 1; top: 10%; left: 11%; animation: art-child-enter .6s cubic-bezier(.2,.7,.2,1) .26s both; }
.art-circle-two { width: 58%; aspect-ratio: 1; top: 20%; left: 22%; border-style: dashed; animation: circle-pulse 6s ease-in-out infinite, art-child-enter .6s cubic-bezier(.2,.7,.2,1) .32s both; }
.art-float-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #ffffff88; background: color-mix(in srgb, var(--paper) 80%, transparent); box-shadow: 0 8px 25px #20201d13; color: var(--ink); font-size: 8px; letter-spacing: .04em; backdrop-filter: blur(12px); animation: tag-float 6s ease-in-out infinite, art-child-enter .6s cubic-bezier(.2,.7,.2,1) .56s both; }
.art-float-tag i { width: 6px; height: 6px; border-radius: 50%; background: #75aa58; box-shadow: 0 0 0 3px #75aa582b; }
.art-tag-top { top: 5%; left: 6%; }.art-tag-bottom { bottom: 17%; left: 6%; animation-delay: -2.5s, .68s; }
.art-tag-bottom i { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.art-cross { position: absolute; top: 20%; left: 39%; color: var(--accent); font: 36px var(--sans); animation: art-child-enter .6s cubic-bezier(.2,.7,.2,1) .5s both; }
.art-caption { position: absolute; right: 20px; bottom: 22px; color: var(--ink); font-size: 9px; line-height: 1.6; letter-spacing: .08em; animation: art-child-enter .6s cubic-bezier(.2,.7,.2,1) .64s both; }
.art-index { position: absolute; top: 19px; right: 20px; color: var(--muted); font-size: 9px; animation: art-child-enter .5s cubic-bezier(.2,.7,.2,1) .2s both; }
.scroll-cue { position: absolute; bottom: 25px; left: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.scroll-cue span { height: 25px; width: 1px; background: var(--accent); }

.metrics-band { width: min(1180px, calc(100% - 72px)); position: relative; z-index: 1; overflow: hidden; margin: 0 auto; border: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); border-radius: 30px; background: var(--ink); color: var(--paper); box-shadow: 0 20px 60px color-mix(in srgb, var(--ink) 16%, transparent); --metric-label: #c2d1da; --metric-accent: #8cc8e8; }
.dark-theme .metrics-band { --metric-label: #526575; --metric-accent: #285e7a; }
.metrics-inner { width: 100%; min-height: 142px; display: grid; grid-template-columns: 1fr 1fr 1.3fr .8fr; align-items: center; gap: 24px; margin: auto; padding-inline: clamp(24px, 4vw, 52px); }
.metric { display: flex; align-items: center; gap: 15px; }
.metric-number { font: 500 38px/.95 var(--display); letter-spacing: -.06em; }
.metrics-band .accent-plus { color: var(--metric-accent); }
.metric-label { color: var(--metric-label); font-size: 10px; line-height: 1.6; }

.content-section { padding-top: 105px; padding-bottom: 110px; }
.section-index { width: fit-content; display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--paper) 72%, transparent); color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.section-index span { padding: 0 8px; color: var(--accent); }
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 90px); padding-top: 54px; }
.section-heading .eyebrow, .trajectory-top .eyebrow, .projects-heading .eyebrow, .skills-layout > div:first-child .eyebrow { margin-bottom: 22px; }
.content-section h2, .projects-heading h2, .contact-inner h2 { margin: 0; font: 500 clamp(46px, 5vw, 74px)/.98 var(--display); letter-spacing: -.075em; }
.serif-italic { color: var(--accent); font: italic 500 1.02em/.95 var(--serif); letter-spacing: -.07em; }
.profile-content { max-width: 510px; padding-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.profile-content p { margin: 0 0 18px; }
.profile-content .profile-intro { color: var(--ink); font-size: 18px; line-height: 1.65; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.profile-tags span, .project-stack span { padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); letter-spacing: .04em; }

.trajectory-section { padding-top: 18px; }
.trajectory-top { display: flex; align-items: end; justify-content: space-between; padding: 50px 0 42px; }
.trajectory-note { max-width: 262px; margin: 0 5% 6px 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.timeline { border-top: 1px solid var(--line); }
.timeline-group-label { margin: 0; padding: 16px 0 12px 90px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.timeline-group-label-spaced { margin-top: 20px; border-top: 1px solid var(--line); }
.timeline-item { min-height: 132px; display: grid; grid-template-columns: 68px 200px 1fr 34px; align-items: center; gap: 22px; padding-inline: 14px; border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 18px; transition: background .25s, border-color .25s, transform .25s; }
.timeline-item:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent) 18%, var(--line)); background: color-mix(in srgb, var(--paper) 65%, transparent); }
.timeline-marker { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 42% 58% 52% 48%; background: color-mix(in srgb, var(--accent) 8%, var(--paper)); color: var(--accent); font: 10px var(--mono); }
.timeline-meta { color: var(--muted); font-size: 10px; letter-spacing: .04em; line-height: 1.55; }
.timeline-copy h3 { margin: 0 0 9px; font: 600 17px var(--display); letter-spacing: -.03em; }
.timeline-copy h3 span { color: var(--muted); font-weight: 400; }
.timeline-copy p { max-width: 560px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.timeline-arrow { justify-self: end; color: var(--accent); font: 9px var(--mono); }

.projects-section { padding: 100px 0 112px; border-radius: clamp(44px, 8vw, 112px) clamp(18px, 3vw, 40px) 0 0; background: var(--paper-deep); }
.projects-heading { display: flex; align-items: end; justify-content: space-between; padding: 48px 0 38px; }
.projects-intro { max-width: 310px; margin: 0 4% 7px 30px; }
.projects-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.project-external-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.project-external-links a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 2px solid color-mix(in srgb, var(--accent) 32%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--paper) 55%, transparent); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.8; transition: border-color .2s, background .2s, transform .2s; }
.project-external-links a:hover { transform: translateY(-2px); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--paper)); }
.project-external-links a span { color: var(--accent); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.filter-button { min-height: 40px; display: inline-flex; align-items: center; gap: 11px; padding: 0 15px; border: 2px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 30px; background: color-mix(in srgb, var(--paper) 46%, transparent); color: var(--muted); font-size: 10px; cursor: pointer; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.filter-button span { color: inherit; font: 8px var(--mono); opacity: .7; }
.filter-button:hover, .filter-button.is-active { border-color: var(--accent); background: var(--ink); color: var(--paper); box-shadow: 0 5px 15px color-mix(in srgb, var(--accent) 16%, transparent); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(20px, 3vw, 42px); padding: 24px 26px 26px; border-radius: 34px 34px 34px 12px; }
.project-card-featured .project-card-top { grid-column: 1 / -1; }
.project-card-featured .project-visual { grid-column: 1; grid-row: 2 / span 2; height: 100%; min-height: 285px; margin: 18px 0 0; }
.project-card-featured .project-card-bottom { grid-column: 2; grid-row: 2; align-self: end; display: block; }
.project-card-featured .project-card-bottom > div { max-width: 440px; }
.project-card-featured .project-card-bottom h3 { font-size: clamp(34px, 4vw, 50px); }
.project-card-featured .project-card-bottom p { max-width: 390px; font-size: 14px; line-height: 1.75; }
.project-card-featured .project-more { margin-top: 20px; font-size: 11px; }
.project-card-featured .project-detail { grid-column: 2; grid-row: 3; align-self: start; }
.project-card-featured .project-detail p { max-width: 500px; font-size: 12px; }
.project-card { min-width: 0; position: relative; overflow: hidden; padding: 20px 22px 22px; border-radius: 24px 24px 24px 9px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.project-card:hover { z-index: 1; transform: translateY(-6px); box-shadow: 0 18px 45px #20201d1a; }
.project-card[hidden] { display: none; }
.project-card-dark, .project-card-blue, .project-card-lime, .project-card-violet { --card: var(--project-card); --card-ink: var(--project-ink); --card-muted: var(--project-muted); --card-line: var(--project-line); --art: var(--project-art); background: var(--card); color: var(--card-ink); }
.project-card-sand { --card: var(--featured-card); --card-ink: var(--project-ink); --card-muted: var(--project-muted); --card-line: var(--project-line); --art: var(--featured-art); background: var(--card); color: var(--card-ink); }
.project-card-top { display: flex; align-items: center; justify-content: space-between; }
.project-number { color: var(--card-muted); font-size: 10px; letter-spacing: .04em; }
.project-symbol { color: var(--card-muted); font-size: 16px; }
.project-visual { height: 205px; position: relative; overflow: hidden; display: grid; place-items: center; margin: 18px 0 20px; border-radius: 20px 20px 20px 8px; background: var(--art); }
.project-image-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; border-radius: inherit; background: transparent; color: inherit; cursor: zoom-in; }
.project-image-open:focus-visible { z-index: 1; outline: 3px solid var(--accent); outline-offset: -4px; }
.project-screenshot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.visual-dusona .project-screenshot { object-position: left top; }
.project-screenshot-catalog { object-position: center 85%; }
.project-screenshot-inventory { object-position: center 70%; }
.project-visual::after { content: ""; position: absolute; inset: -70% auto -70% -30%; width: 32%; background: linear-gradient(90deg, transparent, #ffffff35, transparent); opacity: 0; transform: rotate(20deg); transition: opacity .3s; }
.project-visual::after { pointer-events: none; }
.project-card:hover .project-visual::after { opacity: 1; animation: visual-shine 1.1s ease-out both; }
.project-image-dialog { box-sizing: border-box; display: flex; flex-direction: column; width: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: clamp(12px, 2vw, 22px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #0005; }
.project-image-dialog::backdrop { background: #0b1720c9; backdrop-filter: blur(7px); }
.project-image-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; }
.project-image-dialog-header p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.project-image-close { min-height: 38px; display: inline-flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.project-image-close:hover { border-color: var(--accent); }
.project-image-close span { font-size: 20px; line-height: 1; }
.project-image-dialog-preview { display: block; flex: none; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 120px); align-self: center; object-fit: contain; object-position: center; border-radius: 12px; background: var(--paper-deep); }
.visual-pos { background-image: linear-gradient(#b8bdb10d 1px, transparent 1px), linear-gradient(90deg, #b8bdb10d 1px, transparent 1px); background-size: 18px 18px; }
.pos-window { position: relative; z-index: 1; width: 205px; padding: 13px; border: 1px solid #838b7b55; background: #202621; box-shadow: 10px 12px 0 #151a1544; transform: rotate(-4deg); color: #f3f1e8; animation: mockup-float 6s ease-in-out infinite; }
.window-dots { display: flex; gap: 4px; margin-bottom: 12px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #eb603e; }
.window-dots i:nth-child(2) { background: #d0ef55; }.window-dots i:nth-child(3) { background: #7480d1; }
.pos-window > .mono { color: #abb1a7; font-size: 7px; }
.pos-lines { display: grid; gap: 7px; margin-top: 12px; }
.pos-lines i { height: 4px; background: #41483f; }.pos-lines i:nth-child(2) { width: 76%; }.pos-lines i:nth-child(3) { width: 55%; }
.pos-total { margin-top: 13px; font: 600 25px var(--display); }.pos-total span { color: #9ea69b; font-size: 11px; }
.pos-pill { display: inline-block; margin-top: 10px; padding: 5px 7px; background: #d0ef55; color: #252b20; font: 7px var(--mono); }
.visual-orbit { position: absolute; right: 18%; width: 220px; height: 220px; border: 1px solid #d0ef5540; border-radius: 50%; animation: art-orbit 24s linear infinite; }
.visual-dusona { background: #dda783; }
.calendar-card { position: relative; z-index: 1; width: 180px; padding: 15px 16px 13px; background: #f9f3e8; box-shadow: 10px 10px 0 #a7534055; transform: rotate(4deg); color: #332b24; animation: mockup-float 6.5s ease-in-out infinite reverse; }
.calendar-head { display: flex; justify-content: space-between; color: #827669; font-size: 8px; }
.calendar-date { margin: 13px 0 9px; color: #635a4d; font: 9px var(--mono); }.calendar-date span { margin-left: 7px; color: #332b24; font: 600 28px var(--display); }
.calendar-slot { height: 20px; display: flex; align-items: center; gap: 6px; border-top: 1px solid #e7dfd3; color: #756a5d; font: 7px var(--mono); }
.calendar-slot i { width: 4px; height: 11px; background: #d5cabc; }.calendar-slot b { height: 3px; flex: 1; background: #e6dfd3; }
.calendar-slot-active { color: #a74735; }.calendar-slot-active i, .calendar-slot-active b { background: #e88d72; }
.visual-sun { position: absolute; right: 16%; top: 18%; width: 65px; aspect-ratio: 1; border-radius: 50%; background: #f4cb65; animation: sun-breathe 5s ease-in-out infinite; }
.visual-obra { background-image: linear-gradient(#c4ceff17 1px, transparent 1px), linear-gradient(90deg, #c4ceff17 1px, transparent 1px); background-size: 16px 16px; }
.blueprint-label { position: absolute; top: 17px; left: 18px; color: #bbc6ff; font-size: 7px; }
.blueprint-building { width: 160px; height: 116px; position: relative; display: flex; align-items: end; gap: 6px; padding: 0 10px; border-bottom: 1px solid #b9c5ff; transform: skewY(-5deg); }
.blueprint-building span { width: 38px; height: 80px; border: 1px solid #b9c5ff; background: repeating-linear-gradient(0deg, transparent, transparent 15px, #b9c5ff55 16px), repeating-linear-gradient(90deg, transparent, transparent 10px, #b9c5ff55 11px); }
.blueprint-building span:nth-child(2) { height: 108px; }.blueprint-building span:nth-child(3) { height: 62px; }
.blueprint-building i { position: absolute; right: -18px; bottom: 34px; width: 20px; border-top: 1px dashed #d0ef55; }
.blueprint-ruler { position: absolute; bottom: 24px; width: 210px; border-top: 1px solid #b9c5ff; }
.blueprint-ruler::after { content: "0       5       10       15 m"; position: absolute; top: 5px; color: #bbc6ff; font: 6px var(--mono); }
.blueprint-coordinate { position: absolute; right: 17px; bottom: 15px; color: #bbc6ff; font-size: 6px; line-height: 1.7; text-align: right; }
.visual-bodega { background-image: radial-gradient(#7183332c 1px, transparent 1px); background-size: 14px 14px; }
.shelf { position: absolute; left: 15%; width: 70%; height: 34px; display: flex; align-items: end; justify-content: space-around; border-bottom: 4px solid #525f2d; }
.shelf-one { top: 22%; }.shelf-two { top: 47%; }.shelf-three { top: 72%; }
.shelf i { width: 29px; height: 24px; background: #ee865f; box-shadow: inset 0 -5px #d16f4e; animation: stock-float 3.7s ease-in-out infinite; }.shelf i:nth-child(2) { height: 18px; background: #7881d4; box-shadow: inset 0 -4px #5c65b1; animation-delay: -.8s; }.shelf i:nth-child(3) { width: 22px; background: #f3d06b; box-shadow: inset 0 -4px #d2b458; animation-delay: -1.5s; }
.box-stamp { position: absolute; top: 17%; right: 13%; padding: 5px 7px; border: 1px solid #596735; background: #d0ef55; color: #36411a; font-size: 7px; line-height: 1.5; transform: rotate(8deg); }
.stock-count { position: absolute; right: 16px; bottom: 12px; color: #53602e; font-size: 7px; }
.visual-sport { background-image: linear-gradient(#f5f0fc12 1px, transparent 1px), linear-gradient(90deg, #f5f0fc12 1px, transparent 1px); background-size: 17px 17px; }
.sport-court { position: absolute; inset: 12% 16%; border: 1px solid #6c608b88; background: #a6bd8880; }
.sport-midline { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid #6c608b88; }
.sport-circle { position: absolute; top: 50%; left: 50%; width: 46px; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #6c608b88; border-radius: 50%; }
.court-box { position: absolute; top: 24%; bottom: 24%; width: 20%; border: 1px solid #6c608b88; }
.court-box-one { left: 0; border-left: 0; }.court-box-two { right: 0; border-right: 0; }
.sport-card { position: absolute; z-index: 1; top: 21px; right: 20px; width: 154px; padding: 12px; background: #f4effb; box-shadow: 7px 8px 0 #594a7744; color: #373047; transform: rotate(4deg); animation: mockup-float 6s ease-in-out infinite; }
.sport-card > .mono { display: block; color: #817795; font-size: 6px; }
.sport-card > b { display: block; margin-top: 10px; font: 600 12px var(--display); }
.sport-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.sport-slots i { height: 14px; background: #ddd5ec; }.sport-slots i:nth-child(3), .sport-slots i:nth-child(7) { background: #aea0c9; }.sport-slots i:nth-child(6) { background: #ee755b; }
.sport-active { display: block; margin-top: 8px; color: #89513f; font: 6px var(--mono); }
.project-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.project-sector { color: var(--card-muted); font-size: 9px; letter-spacing: .05em; }
.project-card h3 { margin: 8px 0 6px; font: 600 25px var(--display); letter-spacing: -.06em; }
.project-card-bottom p { max-width: 280px; margin: 0; color: var(--card-muted); font-size: 12px; line-height: 1.65; }
.project-more { min-height: 40px; flex: 0 0 auto; padding: 0 14px; border: 2px solid color-mix(in srgb, var(--accent) 46%, var(--card-line)); border-radius: 999px; background: transparent; color: var(--card-ink); font-size: 11px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.project-more:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.project-more span { padding-left: 6px; color: var(--accent); font-size: 14px; }
.project-more[aria-expanded="true"] span { color: var(--accent); }
.project-detail { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--card-line); }
.project-detail[hidden] { display: none; }
.project-detail p { max-width: 430px; margin: 0 0 13px; color: var(--card-muted); font-size: 12px; line-height: 1.7; }
.project-detail .project-contribution { padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 14px; background: color-mix(in srgb, var(--card-ink) 4%, transparent); }
.project-contribution strong { color: var(--card-ink); }
.project-resources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; color: var(--card-muted); font-size: 10px; line-height: 1.6; }
.project-resources a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 2px solid color-mix(in srgb, var(--accent) 32%, var(--card-line)); border-radius: 999px; color: var(--card-ink); font-size: 10px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.project-resources a:hover { transform: translateY(-2px); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.project-resources a span { color: var(--accent); }
.project-stack { display: flex; flex-wrap: wrap; gap: 6px; }.project-stack span { border-color: var(--card-line); color: var(--card-muted); font-size: 9px; padding: 7px 9px; }
.project-detail:not([hidden]) { animation: detail-enter .32s ease both; }

.skills-section { padding-bottom: 125px; }
.skills-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 85px; padding-top: 62px; }
.skills-layout > * { min-width: 0; }
.skills-description { max-width: 315px; margin-top: 25px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.skills-content { padding-top: 8px; }
.skill-filters { margin-bottom: 22px; }
.skill-chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 15px; border: 2px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 40px; background: color-mix(in srgb, var(--paper) 65%, transparent); color: var(--muted); font-size: 12px; transition: opacity .2s, transform .2s, color .2s, border-color .2s, box-shadow .2s; }
.skill-applied { border-color: color-mix(in srgb, var(--accent) 58%, var(--line)); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent); }
.skill-applied::after { content: "✓"; color: var(--accent); font: 600 12px/1 var(--sans); }
.skills-legend { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.skills-legend span { margin-right: 5px; color: var(--accent); font-weight: 700; }
.skill-chip:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.skill-chip[hidden] { display: none; }
.skill-chip small { color: var(--accent); font: 8px var(--mono); }
.skill-featured { border-color: color-mix(in srgb, var(--accent) 56%, var(--ink)); color: var(--ink); font-size: 14px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.skills-footnote { margin-top: 28px; color: var(--muted); font-size: 8px; letter-spacing: .04em; }
.personal-details { display: grid; gap: 14px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.personal-details > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.detail-label { color: var(--accent); font-size: 8px; letter-spacing: .06em; }

.contact-section { overflow: hidden; position: relative; border-radius: clamp(44px, 8vw, 112px) clamp(18px, 3vw, 40px) 0 0; background: var(--contact-background); color: var(--contact-ink); }
.contact-section::after { content: "DC"; position: absolute; right: -20px; bottom: -145px; color: #ffffff13; font: 700 420px/.8 var(--display); letter-spacing: -.13em; pointer-events: none; }
.contact-inner { min-height: 470px; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 55px; padding-bottom: 55px; }
.contact-inner .eyebrow { color: var(--contact-ink); }
.contact-inner h2 { font-size: clamp(56px, 8vw, 96px); }
.contact-inner .serif-italic { color: var(--contact-ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact-inner .button { margin-top: 0; }
.contact-inner .button-light { border-color: #1d2935; background: #fff; color: #1d2935; }
.button-outline-light { border: 2px solid color-mix(in srgb, var(--contact-ink) 82%, transparent); background: transparent; color: var(--contact-ink); }
.dark-theme .button-accent { color: #17232d; }
.contact-stamp { position: absolute; top: 65px; right: 6%; padding: 13px 17px; border: 1px solid color-mix(in srgb, var(--contact-ink) 70%, transparent); border-radius: 44% 56% 52% 48%; color: var(--contact-ink); font-size: 9px; line-height: 1.7; transform: rotate(6deg); }
.contact-stamp span { padding-left: 9px; color: var(--contact-ink); font-size: 14px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.contact-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 2px solid color-mix(in srgb, var(--contact-ink) 54%, transparent); border-radius: 999px; color: var(--contact-ink); font-size: 11px; transition: border-color .2s, background .2s; }
.contact-links a:hover { border-color: var(--contact-ink); background: color-mix(in srgb, var(--contact-ink) 12%, transparent); }
.contact-links a span { padding-left: 4px; color: var(--contact-ink); }
.contact-location { margin-top: 30px; color: var(--contact-ink); font-size: 9px; letter-spacing: .04em; }

.footer { min-height: 88px; display: flex; align-items: center; justify-content: space-between; }
.footer-note, .back-top { color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.footer-note span { margin-left: 12px; }
.back-top:hover { color: var(--accent); }
.toast { position: fixed; z-index: 20; right: 20px; bottom: 20px; padding: 12px 16px; background: var(--ink); color: var(--paper); font-size: 12px; opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.scroll-progress { height: 3px; position: fixed; z-index: 15; top: 0; left: 0; width: 100%; background: linear-gradient(90deg, var(--accent), var(--sky), #b7dcec); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.hero-copy > * { animation: hero-enter .75s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > .eyebrow { animation-delay: .04s; }
.hero-copy > h1 { animation-delay: .14s; }
.hero-copy > .hero-lede { animation-delay: .3s; }
.hero-copy > .hero-actions { animation-delay: .44s; }
.hero-copy > .hero-footnote { animation-delay: .56s; }
.hero-art { animation-name: art-enter, hero-morph; animation-duration: .9s, 18s; animation-timing-function: cubic-bezier(.2,.7,.2,1), ease-in-out; animation-delay: .12s, 1s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; }
.hero .eyebrow .status-dot { animation: status-pulse 2s ease-in-out infinite; }
.icon-button { transition: color .2s, border-color .2s, transform .2s, background .2s; }
.icon-button:hover { transform: rotate(12deg); border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.filter-button { transition: color .2s, background .2s, border-color .2s, transform .2s; }
.filter-button:active { transform: scale(.96); }
.project-more:hover, .text-link:hover { color: var(--accent); }
.back-top { transition: color .2s; }

@keyframes ambient-drift {
  0%, 100% { background-position: -18% -18%, 112% 8%, 48% 112%; transform: scale(1); }
  35% { background-position: 14% 24%, 68% 44%, 6% 58%; transform: scale(1.08); }
  68% { background-position: -4% 62%, 92% 86%, 76% 18%; transform: scale(1.04); }
}
@keyframes particle-drift { to { background-position: 31px 47px; } }
@keyframes hero-morph {
  0%, 100% { border-radius: 44% 56% 55% 45% / 42% 38% 62% 58%; }
  50% { border-radius: 58% 42% 40% 60% / 48% 56% 44% 52%; }
}
@keyframes hero-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-enter { from { opacity: 0; transform: translateX(18px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes art-child-enter { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes art-child-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes art-orbit { to { rotate: 360deg; } }
@keyframes stamp-float { 0%, 100% { transform: translateY(-54%) rotate(-9deg); } 50% { transform: translateY(calc(-54% - 7px)) rotate(-7deg); } }
@keyframes tag-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes circle-pulse { 0%, 100% { scale: .98; opacity: .6; } 50% { scale: 1.02; opacity: 1; } }
@keyframes mockup-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes sun-breathe { 0%, 100% { scale: .94; box-shadow: 0 0 0 0 #f4cb6540; } 50% { scale: 1; box-shadow: 0 0 0 13px #f4cb6500; } }
@keyframes stock-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes visual-shine { from { left: -35%; } to { left: 125%; } }
@keyframes detail-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 3px #7cb75b2b; } 50% { box-shadow: 0 0 0 6px #7cb75b12; } }

@media (max-width: 850px) {
  .section-wrap, .metrics-inner { width: min(100% - 48px, 680px); }
  .topbar { width: calc(100% - 32px); height: 64px; padding-inline: 22px; }
  .main-nav { gap: 17px; }.main-nav a { font-size: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr .8fr; gap: 18px; padding-top: 50px; padding-bottom: 78px; }
  .hero h1 { font-size: clamp(54px, 7.4vw, 72px); }.hero-art { min-height: 340px; }
  .metrics-band { width: min(100% - 48px, 680px); }
  .metrics-inner { width: 100%; grid-template-columns: 1fr 1fr; padding: 27px 28px; gap: 24px; }
  .profile-grid, .skills-layout { gap: 38px; }
  .timeline-group-label { padding-left: 59px; }
  .timeline-item { grid-template-columns: 45px 145px 1fr 20px; gap: 14px; }
  .project-card-featured { grid-column: auto; display: block; padding: 20px 22px 22px; }
  .project-card-featured .project-visual { height: 240px; min-height: 0; margin: 18px 0 20px; }
  .project-card-featured .project-card-bottom { display: flex; }
  .project-card-featured .project-card-bottom h3 { font-size: 25px; }
  .project-card-featured .project-card-bottom p { font-size: 12px; }
  .project-card-featured .project-detail { margin-top: 18px; }
  .project-card { padding-inline: 16px; }.project-card-bottom { align-items: start; flex-direction: column; }.project-more { align-self: flex-end; margin-top: -2px; }
  .projects-intro { max-width: 240px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 75px; }
  .section-wrap,   .metrics-band { width: calc(100% - 28px); border-radius: 24px; }
  .metrics-inner { width: 100%; padding: 25px 19px; }
  .topbar { width: calc(100% - 20px); height: 58px; top: 8px; margin-top: 8px; padding-inline: 14px; border-radius: 22px; }
  .wordmark { gap: 8px; }.wordmark-mark { font-size: 20px; }.wordmark-label { padding-left: 8px; font-size: 7px; }
  .main-nav { position: absolute; left: 0; right: 0; top: 61px; min-height: 48px; align-items: center; justify-content: center; gap: clamp(6px, 2vw, 12px); padding: 2px 6px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 3px; font-size: 10px; white-space: nowrap; }
  .top-actions { gap: 8px; }.icon-button { width: 44px; height: 44px; padding: 11px; }
  .print-button { min-height: 44px; gap: 7px; padding-inline: 12px; font-size: 10px; }.print-button svg { width: 14px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-top: 44px; padding-bottom: 76px; }
  .hero-copy { padding: 10px 0 0; }.hero h1 { font-size: clamp(52px, 15vw, 68px); }.eyebrow { font-size: 8px; }
  .hero-lede { max-width: 420px; margin-top: 25px; font-size: 14px; }
  .hero-actions { margin-top: 23px; }.hero-footnote { margin-top: 30px; font-size: 7px; }
  .hero-art { min-height: 250px; border-radius: 42% 58% 47% 53% / 28% 34% 66% 72%; }.art-stamp { font-size: 130px; }
  .art-float-tag { padding: 8px 9px; font-size: 7px; }.art-tag-top { right: auto; }.art-tag-bottom { bottom: 10%; left: 4%; }
  .scroll-cue { bottom: 19px; }
  .metrics-band { width: calc(100% - 24px); }
  .metrics-inner { min-height: 0; gap: 22px 12px; padding: 24px 15px; }.metric { gap: 9px; }.metric-number { font-size: clamp(27px, 8vw, 32px); }.metric-label { font-size: 8px; }
  .content-section { padding-top: 74px; padding-bottom: 80px; }
  .profile-grid, .skills-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 42px; }
  .content-section h2, .projects-heading h2 { font-size: clamp(42px, 11vw, 52px); }
  .profile-content { padding-top: 5px; font-size: 12px; }.profile-content .profile-intro { font-size: 16px; }
  .trajectory-section { padding-top: 0; }.trajectory-top, .projects-heading { display: block; padding: 42px 0 34px; }
  .trajectory-note, .projects-intro { max-width: 340px; margin: 21px 0 0; font-size: 12px; }
  .projects-intro p { font-size: 12px; }
  .project-external-links { gap: 10px; }
  .project-external-links a, .contact-links a { min-height: 44px; align-items: center; }
  .timeline-item { position: relative; grid-template-columns: 37px 1fr 20px; gap: 10px; padding-block: 19px; }
  .timeline-group-label { padding-left: 47px; font-size: 9px; }
  .timeline-marker { grid-row: 1 / span 2; width: 32px; height: 32px; }.timeline-meta { grid-column: 2; font-size: 9px; }.timeline-copy { grid-column: 2; }.timeline-copy h3 { font-size: 14px; }.timeline-copy p { font-size: 11px; }.timeline-arrow { grid-column: 3; grid-row: 1; }
  .projects-section { padding: 74px 0 80px; border-radius: 44px 16px 0 0; }.project-grid { grid-template-columns: 1fr; gap: 13px; }.project-card { padding: 17px; border-radius: 22px 22px 22px 8px; }.project-visual { height: 190px; border-radius: 17px 17px 17px 7px; }
  .project-more { min-height: 44px; }
  .project-card-featured { padding: 17px; }
  .project-card-featured .project-visual { height: 190px; margin: 15px 0 17px; }
  .project-card-featured .project-card-bottom { display: flex; }
  .project-card-featured .project-card-bottom h3 { font-size: 23px; }
  .project-card-featured .project-card-bottom p { font-size: 12px; }
  .project-card-featured .project-detail p { font-size: 12px; }
  .project-card-bottom { flex-direction: row; align-items: end; }.project-card h3 { font-size: 23px; }.project-card-bottom p { font-size: 12px; }.project-more { align-self: auto; }
  .skills-section { padding-bottom: 85px; }.skills-layout { gap: 15px; }.skills-description { margin-top: 17px; font-size: 12px; }.skills-content { padding-top: 0; }.filter-row { gap: 5px; }.filter-button { min-height: 44px; padding-inline: 12px; font-size: 10px; }.filter-button span { font-size: 9px; }
  .skill-chip { padding: 10px 12px; font-size: 10px; }.skill-featured { font-size: 12px; }
  .contact-section { border-radius: 44px 16px 0 0; }
  .contact-inner { min-height: 395px; }  .contact-inner h2 { font-size: clamp(46px, 12vw, 58px); }.contact-stamp { display: none; }.contact-section::after { right: -24px; bottom: -65px; font-size: 240px; }.contact-location { max-width: 225px; font-size: 8px; line-height: 1.8; }.contact-actions { margin-top: 25px; }.contact-links { gap: 13px; }

  .footer { min-height: 75px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 16px; }.footer > .wordmark { grid-column: 1 / -1; }.footer-note { font-size: 7px; }.footer-note span { margin-left: 4px; }.back-top { font-size: 7px; }
}
@media (max-width: 360px) {
  .content-section h2, .projects-heading h2 { font-size: 42px; }
  .hero h1 { font-size: clamp(52px, 15vw, 54px); }
  .personal-details > div { grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
  .timeline-group-label { padding-left: 43px; }
  .topbar .wordmark-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
@media print {
  :root, body.dark-theme { color-scheme: light; --paper: #fff; --paper-deep: #eaf2f7; --ink: #1d2935; --muted: #526575; --line: #cad8e2; --accent: #285e7a; --project-card: #f8fbfd; --project-ink: #1d2935; --project-muted: #526575; --project-line: #cad8e2; --project-art: #dceaf3; --featured-card: #d8eaf4; --featured-art: #c2dcec; --contact-background: #285e7a; --contact-ink: #fff; }
  body.dark-theme .metrics-band { --metric-label: #c2d1da; --metric-accent: #8cc8e8; }
  @page { margin: 13mm; size: A4; }
  .topbar { width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  .hero-art { border-radius: 0; animation: none !important; }
  .metrics-band { width: 100%; border-radius: 0; box-shadow: none; }
  .projects-section, .contact-section { border-radius: 0; }
  .project-card, .project-card-featured, .project-visual { border-radius: 0; }
  body { font-size: 10px; background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar { position: static; height: 45px; padding: 0; background: #fff; backdrop-filter: none; }
  body::before, body::after, .scroll-progress, .main-nav, .top-actions, .scroll-cue, .filter-row, .project-more, .toast, .back-top { display: none !important; }
  .project-image-dialog[open] { display: none !important; }
  .project-card[hidden] { display: block !important; }
  .skill-chip[hidden] { display: inline-flex !important; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-copy, .hero-copy *, .hero-art, .hero-art *, .visual-orbit, .pos-window, .calendar-card, .visual-sun, .shelf i, .sport-card { animation: none !important; opacity: 1 !important; }
  .section-wrap, .metrics-inner { width: 100%; }
  .hero { min-height: 320px; grid-template-columns: 1.05fr .8fr; padding: 25px 0 35px; }
  .hero h1 { font-size: 52px; }.hero-lede { margin-top: 16px; font-size: 12px; }.hero-actions { margin-top: 16px; }.hero-footnote { margin-top: 24px; }
  .hero-art { min-height: 250px; }.art-stamp { font-size: 120px; }
  .metrics-inner { min-height: 90px; }.metric-number { font-size: 28px; }
  .content-section { padding-top: 42px; padding-bottom: 45px; }.profile-grid { gap: 35px; padding-top: 28px; }.content-section h2, .projects-heading h2 { font-size: 49px; }
  .profile-content { padding-top: 10px; font-size: 10px; }.profile-content .profile-intro { font-size: 13px; }
  .trajectory-section { padding-top: 0; }.trajectory-top { padding: 30px 0 25px; }.timeline-item { min-height: 95px; grid-template-columns: 42px 130px 1fr 20px; }.timeline-meta { font-size: 9px; }.timeline-copy h3 { font-size: 13px; }.timeline-copy p { font-size: 10px; }
  .projects-section { padding: 42px 0 45px; break-before: page; }.projects-heading { padding: 28px 0 20px; }.project-grid { grid-template-columns: 1fr; gap: 8px; }.project-card { padding: 12px; break-inside: avoid; }.project-card-featured { display: block; }.project-visual, .project-card-featured .project-visual { height: 130px; min-height: 0; margin: 10px 0 12px; }.project-card h3 { font-size: 19px; }.project-card-bottom p, .project-card-featured .project-card-bottom p { font-size: 11px; line-height: 1.6; }
  .project-detail[hidden] { display: block; margin-top: 10px; padding-top: 8px; }.project-detail p, .project-card-featured .project-detail p { font-size: 11px; line-height: 1.6; }.project-stack span { padding: 7px 8px; font-size: 9px; }
  .skills-section { padding-top: 40px; padding-bottom: 45px; }.skills-layout { gap: 35px; padding-top: 28px; }.skill-chip { padding: 8px 10px; font-size: 9px; }.skills-description { font-size: 10px; }
  .contact-inner { min-height: 240px; padding: 25px 0; }.contact-inner h2 { font-size: 46px; }.contact-actions { margin-top: 15px; }.contact-links { margin-top: 14px; gap: 12px; }.contact-links a { font-size: 8px; }.contact-stamp { top: 22px; }.footer { min-height: 55px; }
  a { text-decoration: none; }
}
