/* Sunlight, glass, and warm shadow. The original portrait supplies the palette. */
:root {
  color-scheme: light;
  --paper: #fff8e6;
  --white: #fffdf5;
  --ink: #21190e;
  --muted: #665338;
  --night: #2b1d12;
  --gold: #fdc966;
  --lemon: #fff890;
  --orange: #ee941c;
  --line: #ccb991;
  --scroll-progress: 0;
  --scene-x: 0px;
  --scene-y: 0px;
  --scene-scroll: 0px;
  --sans: Arial, Helvetica, sans-serif;
  --display: Impact, "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: Consolas, "Courier New", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; overflow-x: clip; color: var(--paper); background: var(--night); font: 16px/1.6 var(--sans); isolation: isolate; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 7px; }
::selection { background: var(--gold); color: var(--ink); }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 18px; color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#inkfield { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.scroll-progress { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 3px; background: var(--lemon); box-shadow: 0 0 14px var(--orange); transform: scaleX(var(--scroll-progress)); transform-origin: left; }
.solar-sky { position: fixed; inset: 0; z-index: -3; pointer-events: none; background: radial-gradient(ellipse at 85% 10%, #8d4b2433, transparent 60%), radial-gradient(ellipse at 5% 90%, #b9691922, transparent 60%); }

/* Open navigation stays quiet above the scene. */
.masthead { position: relative; z-index: 5; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; border-bottom: 1px solid #fdc96633; }
.masthead::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--night); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 900; letter-spacing: -1px; text-decoration: none; }
.wordmark-name > span { font-weight: 400; color: var(--gold); }
.sun-mark { width: 32px; height: 32px; fill: var(--gold); stroke: var(--gold); stroke-width: 2; animation: sun-turn 36s linear infinite; }
.masthead nav { display: flex; gap: 30px; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; transition: color .2s; }
.masthead nav a:hover { color: var(--gold); }
.motion-control { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0; border: 0; background: none; font: 12px var(--mono); text-decoration: underline; text-underline-offset: 5px; }
.motion-control::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 12px var(--orange); }
.motion-control[aria-pressed="true"]::before { background: #cab798; box-shadow: none; }

/* Backlight, sun surface, light rings, and foreground are separate depth planes. */
.hero-stage { position: relative; isolation: isolate; }
.solar-scene { position: absolute; inset: -96px 0 0; overflow: clip; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at 90% 48%, #d68d3638, transparent 64%); }
.solar-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2b1d12d9 0, #2b1d1255 40%, transparent 68%), linear-gradient(0deg, var(--night), transparent 25%); }
.solar-orb { position: absolute; top: -62px; right: -7%; width: min(70vw, 940px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 27%, #fffdf0 0, #fff890 17%, #ffd965 39%, #f5a52f 61%, #ae4e0a 84%, #542605 100%); box-shadow: inset 0 0 52px #fffbcba6, inset -36px -38px 65px #92330970, 0 0 65px #ffc14a5c, 0 0 200px 50px #ee941c24; transform: translate3d(calc(var(--scene-x) * -.8), calc(var(--scene-y) * -.8 + var(--scene-scroll) * .5), 0); }
.solar-orb > span { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; }
.solar-orb > span::before { content: ""; position: absolute; inset: -15%; border-radius: 50%; opacity: .27; background: repeating-conic-gradient(from 0deg, transparent 0deg 8deg, #fff8c166 12deg, transparent 17deg 30deg); mask-image: radial-gradient(circle, transparent 18%, #000 38%, transparent 69%); animation: sun-turn 100s linear infinite; }
.solar-orb > span::after { content: ""; position: absolute; inset: 4%; border: 1px solid #fff8cb55; border-radius: 50%; box-shadow: inset 0 0 55px #fff89066; animation: corona-breathe 8s ease-in-out infinite alternate; }
.solar-rings { position: absolute; width: min(86vw, 1180px); aspect-ratio: 1; top: -175px; right: -14%; transform: translate3d(calc(var(--scene-x) * -1.5), calc(var(--scene-y) * -1.5 + var(--scene-scroll) * .8), 0); perspective: 900px; }
.solar-rings > span { position: absolute; inset: 0; border: 2px solid #ffed9c80; border-radius: 50%; box-shadow: 0 0 24px #ffd35940, inset 0 0 18px #ffca6550; transform: rotateX(63deg) rotateY(-19deg) rotateZ(-30deg); }
.solar-rings > span:nth-child(2) { inset: 6%; border-width: 1px; transform: rotateX(66deg) rotateY(-24deg) rotateZ(-30deg); animation: ring-breathe 9s ease-in-out infinite alternate; }
.solar-horizon { position: absolute; width: 130%; height: 30%; left: -15%; bottom: -17%; border-radius: 50%; border-top: 2px solid #f8c26470; box-shadow: 0 -35px 100px #f49e2429; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: 760px; padding-top: 80px; padding-bottom: 150px; }
.hero-copy { position: relative; z-index: 2; }
.location { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--gold); font: 12px/1.5 var(--mono); letter-spacing: .06em; }
.location::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1 { font: 400 clamp(140px, 16vw, 222px)/.9 var(--display); letter-spacing: -.045em; text-transform: uppercase; margin-left: -5px; margin-bottom: 28px; color: var(--paper); text-shadow: 1px 1px #d39a4d, 2px 2px #c08539, 3px 3px #ac7130, 4px 4px #956029, 5px 5px #7f4e21, 6px 6px #6b401b, 10px 16px 26px #10090399; }
h1 > span { color: var(--gold); }
.hero-role { font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 20px; }
.hero-bio { max-width: 39ch; color: #d6c6aa; line-height: 1.75; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 30px; }
.github-button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: space-between; gap: 44px; min-height: 52px; padding: 11px 20px; border: 1px solid #fff6c2; border-radius: 6px; background: linear-gradient(150deg, #fff1a3, #fdc966 58%, #e69a2b); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: inset 0 1px 0 #fffdf2, 0 4px 0 #a86e25, 0 10px 25px #08050388; transition: transform .2s, box-shadow .2s; }
.github-button::before { content: ""; position: absolute; z-index: -1; inset: -70% -100%; pointer-events: none; background: linear-gradient(110deg, transparent 40%, #fffdf399 50%, transparent 60%); transform: translateX(-60%); animation: sun-glint 7s ease-in-out infinite; }
.github-button:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fffdf2, 0 7px 0 #a86e25, 0 16px 36px #ee941c40; }
.github-button > span { font-size: 22px; }
.work-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15px; }
.work-link > span { display: inline-block; animation: arrow-drift 3s ease-in-out infinite; }

/* Raised portrait: backing plate, deep cast shadow, glass highlight, lifted label. */
.portrait-scene { position: relative; min-width: 0; padding-block: 30px 20px; perspective: 1200px; }
.portrait-depth { position: relative; width: 89%; max-width: 470px; margin: 0 auto; transform: translate3d(calc(var(--scene-x) * .85), calc(var(--scene-y) * .85 - var(--scene-scroll) * .12), 0); }
.portrait-backing { position: absolute; inset: 8px -13px -12px 11px; border: 1px solid #ffe6a4; border-radius: 16px; background: linear-gradient(145deg, #ffefb2, #b5741f 65%, #694018); transform: rotate(7deg); box-shadow: 6px 8px 0 #644216, 14px 25px 40px #180d0b99; animation: backing-float 8s ease-in-out infinite; }
.portrait-card { position: relative; padding: 7px; border: 1px solid #fff7d1; border-radius: 13px; background: linear-gradient(145deg, #fffce3, #e8b655 28%, #6c451f 85%, #f4ce87); transform: perspective(1000px) rotateX(calc(var(--rx, 0deg) + 3deg)) rotateY(calc(var(--ry, 0deg) - 7deg)) rotate(-5deg); transform-style: preserve-3d; transition: transform .18s ease-out; box-shadow: 1px 2px 0 #fff6c38c, 3px 5px 0 #bf8537, 7px 10px 0 #80541f, 12px 24px 25px #1a0d0766, 24px 50px 70px #100703aa; }
.portrait-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.portrait-card::after { content: ""; position: absolute; inset: 7px; border-radius: 7px; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #fff9cc42, transparent 65%), linear-gradient(125deg, transparent 35%, #fffcec44 49%, transparent 64%); background-size: 100% 100%, 300% 100%; animation: glass-glint 12s ease-in-out infinite; transform: translateZ(2px); }
.portrait-handle { position: absolute; z-index: 1; left: -24px; bottom: 25px; padding: 10px 20px; border: 1px solid #ffdf9c88; border-radius: 5px; background: linear-gradient(140deg, #513b24, #251a10); color: var(--lemon); font: 14px var(--mono); box-shadow: 0 3px 0 #150d06, 4px 10px 20px #160c0877; transform: translateZ(30px) rotate(3deg); }
.replay-button { position: relative; display: flex; align-items: center; gap: 18px; margin: 38px 12px 0 auto; min-height: 46px; padding: 8px 15px; border: 1px solid #ffde9380; border-radius: 6px; background: linear-gradient(145deg, #765127, #392614); color: var(--lemon); box-shadow: inset 0 1px 0 #ffda7440, 0 4px 0 #1c120b, 0 12px 25px #150b0766; font: 12px var(--mono); transition: transform .2s, box-shadow .2s; }
.replay-button > span { font-size: 22px; line-height: 1; animation: sun-turn 18s linear infinite; }
.replay-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 1px 0 #ffda7440, 0 6px 0 #1c120b, 0 0 26px #ee941c55; }
.replay-button:disabled { color: #ddc99e; box-shadow: 0 2px 0 #1c120b; }
.solar-flare { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.solar-flare > span { position: absolute; top: 43%; left: 50%; width: 80%; aspect-ratio: 1; border: 2px solid #ffe7a2; box-shadow: 0 0 20px #ee941c; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.7); }
.is-impact .solar-flare > span { animation: flare-ring 1.5s cubic-bezier(.16, .6, .3, 1) both; }
.is-impact .solar-flare > span:nth-child(2) { animation-delay: .12s; animation-duration: 1.38s; }
.is-impact .solar-flare > span:nth-child(3) { animation-delay: .24s; animation-duration: 1.26s; }

/* A single, oversized project floats across the light/dark boundary. */
.project-section { position: relative; z-index: 2; isolation: isolate; padding: 0 0 85px; color: var(--ink); }
.project-section::before { content: ""; position: absolute; z-index: -1; inset: 105px 0 0; background: radial-gradient(ellipse at 80% 0, #ffe2a1, transparent 65%), var(--paper); box-shadow: inset 0 1px 0 #fffdf4, 0 -12px 65px #1b100b55; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: -55px; margin-bottom: 32px; color: var(--paper); }
h2 { font: 400 clamp(42px, 5.3vw, 72px)/1 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.section-arrow { font-size: 52px; line-height: 1; color: var(--gold); }
.project-link { position: relative; display: block; padding: 8px; border: 1px solid #fff1c2; border-radius: 14px; background: linear-gradient(135deg, #fff7dd, #d6a851 40%, #87571f 80%, #ffe3a0); color: var(--paper); text-decoration: none; transform: perspective(1500px) rotateX(calc(var(--rx, 0deg) + 2deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .3s; box-shadow: 0 2px 0 #b57b30, 0 7px 0 #775021, 0 20px 28px #2e1e0b38, 0 45px 70px #5037113d; }
.project-link:hover { box-shadow: 0 2px 0 #b57b30, 0 9px 0 #775021, 0 25px 32px #2e1e0b40, 0 48px 90px #50371144; }
.project-link:focus-visible { outline-color: #9c5200; }
.project-image { position: relative; overflow: hidden; border-radius: 7px 7px 0 0; background: var(--gold); }
.project-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 #fffdf199, inset 0 -1px 0 #20190a77; }
.project-image img { width: 100%; transition: transform .65s ease; }
.project-link:hover .project-image img { transform: scale(1.025); }
.project-caption { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px 30px; border-radius: 0 0 6px 6px; background: linear-gradient(115deg, #392b1d, #21190e); }
.project-type { display: block; margin-bottom: 6px; font: 12px var(--mono); color: #dfbc7c; }
.project-caption h3 { font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
#project-action { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; font-size: 14px; color: var(--lemon); }
#project-action > span { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #d5a35677; border-radius: 50%; font-size: 25px; background: #fdc96614; }

/* Ground the dramatic opening in concise, readable content. */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 90px; }
.details > section { min-width: 0; }
.details h2 { font-size: 40px; margin-bottom: 30px; }
.technologies { border-top: 1px solid #fdc96655; }
.technologies > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid #fdc9662b; }
.technologies dt { font: 12px var(--mono); color: var(--gold); line-height: 1.9; }
.technologies dd { color: #e6d7bc; font-size: 15px; }
#activity { position: relative; align-self: start; margin-top: 6px; padding: 28px; border: 1px solid #ffe8af; border-radius: 10px; color: var(--ink); background: linear-gradient(145deg, #fff9e7, #f9e6b7); box-shadow: 0 4px 0 #a87c36, 0 9px 0 #674b28, 0 24px 45px #10090480; transform: rotate(1deg); }
#activity h2 { font-size: 32px; margin-bottom: 22px; }
.activity-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.activity-heading > a { display: grid; place-items: center; min-height: 44px; min-width: 44px; font-size: 25px; text-decoration: none; }
.activity-heading > a:focus-visible, .activity-fallback a:focus-visible { outline-color: #95500b; }
.activity-content { min-height: 210px; }
#heat-note { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.activity-date, .calendar-foot { font-size: 12px; color: var(--muted); }
#heat-range { margin-top: 12px; }
.heat { margin-top: 16px; }
.heat__grid { display: grid; grid-template-columns: repeat(var(--weeks, 26), minmax(0, 1fr)); gap: 4px; }
.heat__col { display: grid; gap: 4px; }
.heat__cell { display: block; aspect-ratio: 1; border-radius: 1px; background: #dfd3b8; }
.heat__cell[data-l="1"] { background: #e9cb88; }
.heat__cell[data-l="2"] { background: #d5a141; }
.heat__cell[data-l="3"] { background: #98631a; }
.heat__cell[data-l="4"] { background: #493016; }
.calendar-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.heat__key { display: flex; align-items: center; gap: 4px; }
.heat__key .heat__cell { width: 9px; height: 9px; }
.activity-fallback { color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 30px; border-top: 1px solid #fdc96655; padding-block: 42px; }
.contact h2 { grid-row: span 2; font-size: clamp(54px, 7vw, 96px); color: var(--gold); text-shadow: 0 4px 0 #5c3c1b, 0 10px 25px #110a0666; }
.contact > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; font-size: 18px; }
.contact > a > span { font-size: 26px; color: var(--gold); }
.contact p { grid-column: 2; font: 12px var(--mono); color: #c9b493; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #fdc96626; padding-block: 18px 26px; font-size: 13px; color: #c9b493; }
footer > a { display: inline-flex; min-height: 44px; align-items: center; }

@keyframes sun-turn { to { transform: rotate(360deg); } }
@keyframes corona-breathe { from { transform: scale(.98); opacity: .5; } to { transform: scale(1.03); opacity: 1; } }
@keyframes ring-breathe { from { opacity: .35; } to { opacity: .9; } }
@keyframes backing-float { 0%, 100% { transform: translateY(0) rotate(7deg); } 50% { transform: translateY(-10px) rotate(9deg); } }
@keyframes arrow-drift { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes sun-glint { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
@keyframes glass-glint { 0%, 65% { background-position: 0 0, 150% 0; } 95%, 100% { background-position: 0 0, -50% 0; } }
@keyframes flare-ring { 0% { transform: translate(-50%, -50%) scale(.7); opacity: 0; } 16% { opacity: .75; } 100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition: none !important; }
.motion-paused { scroll-behavior: auto; }
.motion-paused [data-tilt], .motion-paused .github-button:hover, .motion-paused .replay-button:hover, .motion-paused .project-link:hover .project-image img { transform: none !important; }
@media (min-width: 1700px) { .hero { min-height: 860px; padding-block: 100px 180px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 38px; min-height: 680px; padding-block: 65px 130px; }
  h1 { font-size: clamp(110px, 15vw, 172px); }
  .hero-role { font-size: 27px; }
  .details { gap: 48px; }
  .masthead nav { gap: 22px; }
  #activity { padding: 22px; }
  .details h2 { font-size: 35px; }
  #activity h2 { font-size: 29px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .masthead { min-height: 110px; gap: 10px 18px; flex-wrap: wrap; padding-block: 14px; }
  .wordmark { font-size: 22px; gap: 9px; }
  .sun-mark { width: 26px; height: 26px; }
  .masthead nav { order: 3; width: 100%; gap: 25px; }
  .masthead nav a { min-height: 36px; }
  .motion-control { font-size: 11px; min-height: 36px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 115px; min-height: 0; }
  .hero-copy { max-width: 500px; }
  .location { margin-bottom: 14px; }
  h1 { font-size: clamp(104px, 30vw, 182px); margin-bottom: 23px; }
  .hero-role { font-size: 26px; }
  .hero-bio { max-width: 43ch; font-size: 15px; }
  .hero-links { margin-top: 25px; gap: 18px 26px; }
  .solar-orb { top: 530px; right: -26%; width: 110vw; max-width: 670px; }
  .solar-rings { top: 430px; right: -37%; width: 140vw; max-width: 880px; }
  .solar-scene::after { background: linear-gradient(0deg, var(--night), transparent 25%), linear-gradient(180deg, var(--night) 0 420px, #2b1d12b3 510px, transparent 650px); }
  .portrait-scene { width: min(100%, 440px); justify-self: center; padding: 10px 0 0; }
  .portrait-depth { width: 85%; }
  .portrait-card { transform: rotate(-4deg); }
  .portrait-handle { left: -13px; bottom: 20px; padding: 9px 14px; font-size: 12px; }
  .replay-button { margin-top: 35px; margin-right: 8px; }
  .project-section { padding-bottom: 52px; }
  .project-section::before { top: 65px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: clamp(28px, 7.8vw, 42px); }
  h2 { font-size: 42px; }
  .section-arrow { font-size: 40px; }
  .project-link { padding: 5px; border-radius: 10px; }
  .project-image { border-radius: 5px 5px 0 0; }
  .project-image img { aspect-ratio: 1.75; object-fit: cover; object-position: 50% 50%; }
  .project-caption { padding: 19px 16px; gap: 15px; }
  .project-caption h3 { font-size: 24px; }
  .project-type { font-size: 11px; }
  #project-action { gap: 10px; font-size: 12px; }
  #project-action > span { width: 32px; height: 32px; font-size: 21px; }
  .details { grid-template-columns: 1fr; gap: 42px; padding-block: 55px; }
  .details h2 { font-size: 35px; margin-bottom: 25px; }
  .technologies > div { grid-template-columns: 80px 1fr; padding-block: 19px; }
  #activity { margin: 0 3px; padding: 23px; }
  #activity h2 { font-size: 30px; }
  .activity-content { min-height: 220px; }
  .heat__grid, .heat__col { gap: 3px; }
  .contact { display: block; padding-block: 28px; }
  .contact h2 { font-size: 64px; margin-bottom: 20px; }
  .contact > a { font-size: 16px; }
  .contact p { margin-top: 8px; }
  footer { padding-bottom: 20px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .masthead nav { gap: 19px; }
  h1 { font-size: 34vw; }
  .hero-role { font-size: 24px; }
  .github-button { gap: 30px; }
  .hero-links { gap: 20px; }
  .project-caption { flex-wrap: wrap; }
  .technologies > div { grid-template-columns: 70px 1fr; }
  #activity { padding: 17px; }
  #activity h2 { font-size: 28px; }
}
@media (hover: none), (pointer: coarse) {
  [data-tilt] { transform: none !important; }
  .github-button:hover, .replay-button:hover, .project-link:hover .project-image img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-tilt], .github-button:hover, .replay-button:hover, .project-link:hover .project-image img { transform: none !important; }
  .portrait-card::after, .github-button::before { display: none; }
  .solar-orb, .solar-rings, .portrait-depth { transform: none !important; }
}
@media (forced-colors: active) {
  #inkfield, .solar-sky, .solar-scene, .solar-flare, .scroll-progress, .portrait-backing, .portrait-card::after, .github-button::before, .project-section::before { display: none; }
  .portrait-card, .project-link, .github-button, .replay-button, #activity { border: 2px solid CanvasText; }
  .portrait-handle, .project-caption, #activity { background: Canvas; color: CanvasText; }
  #project-action { color: LinkText; }
  .sun-mark { fill: Canvas; stroke: CanvasText; }
}
