:root {
  --navy: #11162f;
  --navy-2: #20264b;
  --ink: #252a4e;
  --cream: #fff9ec;
  --paper: #fffdf7;
  --coral: #ff7189;
  --coral-dark: #e95170;
  --mint: #a4eccd;
  --blue: #a8d8ff;
  --lilac: #c5a9ff;
  --gold: #ffd36b;
  --muted: #737895;
  --pixel: "Courier New", monospace;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--gold); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 76px; padding: 0 clamp(20px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 30; background: rgba(17,22,47,.97); color: #fff; border-bottom: 3px solid #8d77de; box-shadow: 0 6px 0 rgba(22,24,57,.12); }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font: 700 14px var(--pixel); white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--gold); }
.brand-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; shape-rendering: crispEdges; }
.main-nav { display: flex; gap: clamp(10px, 1.7vw, 24px); align-items: center; }
.main-nav a { text-decoration: none; color: #ecebff; transition: color .15s, transform .15s; font: 700 11px var(--pixel); letter-spacing: -.04em; }
.main-nav a:hover { color: var(--gold); transform: translateY(-2px); }
.header-socials { justify-self: end; display: flex; gap: 13px; align-items: center; }
.header-socials a { display: grid; place-items: center; width: 30px; height: 34px; color: #efeaff; text-decoration: none; transition: color .15s, transform .15s; }
.header-socials a:hover { color: var(--coral); transform: translateY(-2px); }
.header-socials svg, .social-list svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero { min-height: 650px; overflow: hidden; position: relative; display: grid; grid-template-columns: minmax(290px,.78fr) minmax(420px,1.22fr); align-items: center; gap: 14px; padding: 60px clamp(28px, 5vw, 80px) 90px; background: radial-gradient(ellipse at 74% 55%, #292f63 0%, #181f48 40%, #10152d 77%); color: #fff; }
.hero::before { content: ""; position: absolute; z-index: 0; width: 300px; height: 300px; left: -125px; bottom: -210px; border-radius: 50%; background: #8b81d8; box-shadow: inset -24px -17px #5d5da9; opacity: .55; }
.hero-copy, .island-column, .scroll-cue { position: relative; z-index: 2; }
.hero-copy { max-width: 460px; padding-bottom: 24px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font: 700 clamp(39px, 5vw, 68px)/1.05 var(--pixel); letter-spacing: -.08em; color: #fff; }
h1 span { color: var(--coral); text-shadow: 4px 4px 0 #583c85; }
.hero-tagline { max-width: 430px; margin: 0 0 28px; color: var(--gold); font: 700 clamp(10px, 1.15vw, 13px)/1.9 var(--pixel); letter-spacing: -.04em; text-transform: uppercase; text-shadow: 1px 2px 0 rgba(5,7,20,.6); }
.hero-tagline i { color: var(--coral); font-style: normal; padding: 0 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 17px; text-decoration: none; font-weight: 800; font-size: 12px; transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translate(-2px,-2px); }
.button-primary { background: var(--coral); color: #241c45; border: 3px solid #ffd1d6; box-shadow: 4px 4px 0 #a04c79; }
.pixel-button { border-radius: 0; font: 700 11px var(--pixel); letter-spacing: -.03em; text-transform: uppercase; image-rendering: pixelated; }
.pixel-button:hover { box-shadow: 6px 6px 0 #a04c79; }
.island-column { min-width: 0; }
.island-frame { position: relative; width: 100%; max-width: 750px; margin: 0 auto; }
.island-stage { width: 100%; aspect-ratio: 1.45; position: relative; display: grid; place-items: center; cursor: pointer; user-select: none; touch-action: pan-y; }
.island-art { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 16px 28px rgba(2,5,20,.38)); pointer-events: none; }
.island-stage::after { content: ""; position: absolute; inset: 18% 18% 19%; border-radius: 50%; background: transparent; transition: background .18s; pointer-events: none; }
.island-stage:hover::after, .island-stage:focus-visible::after { background: rgba(255,255,255,.025); }
.avatar { position: absolute; z-index: 3; left: 53%; top: 56%; width: clamp(40px, 4.5vw, 62px); aspect-ratio: .875; transform: translate(-50%,-80%); pointer-events: none; filter: drop-shadow(0 4px 0 rgba(19,24,60,.45)); transition: filter .15s; }
.avatar-sprite { position: absolute; inset: 0; display: block; background-image: url("/assets/avatar-sprites.png"); background-size: 400% 200%; background-position: 0% 0%; image-rendering: pixelated; background-repeat: no-repeat; }
.avatar-shadow { position: absolute; width: 72%; height: 12%; bottom: -7%; left: 14%; border-radius: 50%; background: rgba(22,27,62,.45); filter: blur(2px); }
.avatar.walking .avatar-sprite { background-position-y: 100%; }
.avatar.dir-down .avatar-sprite { background-position-x: 0%; }
.avatar.dir-left .avatar-sprite { background-position-x: 33.3333%; }
.avatar.dir-right .avatar-sprite { background-position-x: 66.6667%; }
.avatar.dir-up .avatar-sprite { background-position-x: 100%; }
.about-bubble { position: absolute; z-index: 4; left: 50%; top: 31%; padding: 8px 11px; display: grid; gap: 1px; background: var(--paper); color: var(--navy); border: 2px solid var(--navy); border-radius: 7px; box-shadow: 3px 3px 0 var(--coral); transform: translateY(5px) scale(.9); opacity: 0; transition: opacity .18s, transform .18s; pointer-events: none; }
.about-bubble::after { content: ""; position: absolute; left: 14px; bottom: -7px; width: 10px; height: 10px; background: var(--paper); border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.about-bubble strong { font: 700 12px var(--pixel); }
.about-bubble span { font-size: 10px; }
.island-stage:hover .about-bubble, .island-stage:focus-visible .about-bubble { opacity: 1; transform: translateY(0) scale(1); }
.island-hint { margin: -7px 0 0; text-align: center; color: #c7cae2; font-size: 10px; }
.island-hint span { color: var(--gold); font: 700 16px var(--pixel); margin-right: 4px; }
.hero-backdrop { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.sky-star { position: absolute; color: #fff2ba; font: 700 21px var(--pixel); text-shadow: 0 0 12px #ffd36b, 0 0 22px rgba(255,211,107,.5); animation: twinkle 3s steps(2,end) infinite; }
.star-a { left: 8%; top: 14%; color: var(--gold); }
.star-b { left: 40%; top: 11%; animation-delay: .8s; }
.star-c { right: 8%; top: 21%; color: #f4a8ff; animation-delay: 1.3s; }
.star-d { left: 48%; bottom: 17%; animation-delay: .4s; }
.star-e { right: 37%; top: 7%; color: #9eeaff; animation-delay: 1.7s; }
.pixel-satellite { position: absolute; width: 70px; height: 48px; right: 19%; top: 9%; transform: rotate(-12deg); filter: drop-shadow(0 0 9px rgba(134,221,255,.7)); }
.space-streak { position: absolute; right: -6%; width: 39%; height: 4px; transform: rotate(-13deg); opacity: .76; }
.streak-one { top: 24%; color: #d08aff; background: #d08aff; box-shadow: 0 0 5px 2px #d08aff, 0 0 16px 6px rgba(208,138,255,.42); }
.streak-two { top: 33%; right: 5%; width: 26%; color: #ff709a; background: #ff709a; box-shadow: 0 0 5px 2px #ff709a, 0 0 16px 6px rgba(255,112,154,.38); }
.streak-three { top: 42%; right: -1%; width: 33%; color: #ffd36b; background: #ffd36b; box-shadow: 0 0 5px 2px #ffd36b, 0 0 16px 6px rgba(255,211,107,.35); }
.pixel-plant { position: absolute; width: 74px; height: 115px; opacity: .82; filter: drop-shadow(0 0 9px rgba(255,136,190,.25)); }
.plant-left { left: 2%; bottom: 3%; }
.plant-right { right: 2%; bottom: 2%; transform: scale(.82); }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #c9cbea; text-decoration: none; font: 700 10px var(--pixel); letter-spacing: .02em; white-space: nowrap; }
.scroll-cue span { color: var(--gold); font-size: 13px; }
.section { padding: 82px clamp(24px, 7vw, 108px); }
.projects-section { background: var(--paper); }
.section-heading { max-width: 1220px; margin: 0 auto 32px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.eyebrow { margin: 0 0 12px; font: 700 10px var(--pixel); letter-spacing: .02em; text-transform: uppercase; color: var(--coral-dark); }
.section-heading h2, .about-panel h2, .contact-section h2, .socials-section h2 { margin: 0; font: 700 clamp(27px, 3.4vw, 43px)/1.16 var(--pixel); letter-spacing: -.07em; color: var(--navy); }
.section-side-note { max-width: 300px; margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.project-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.project-card { overflow: hidden; border: 2px solid var(--navy); border-radius: 9px; background: #fff; box-shadow: 5px 5px 0 #d8d6ce; }
.project-art { height: 146px; position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 2px solid var(--navy); }
.card-coral .project-art { background: #ffb3c0; }
.card-mint .project-art { background: #b5f1d5; }
.card-lilac .project-art { background: #d0baff; }
.card-blue .project-art { background: #b4dcff; }
.project-art::before, .project-art::after { content: ""; position: absolute; width: 17px; height: 17px; background: rgba(255,255,255,.34); transform: rotate(45deg); }
.project-art::before { top: 17px; left: 20px; }
.project-art::after { bottom: 18px; right: 22px; width: 11px; height: 11px; }
.bac-device { width: 62px; height: 103px; display: grid; align-content: start; justify-items: center; gap: 7px; padding: 8px 5px; color: #fff; background: #262c55; border: 4px solid #f8f5e8; outline: 3px solid var(--navy); box-shadow: 5px 5px 0 rgba(25,30,69,.24); transform: rotate(-6deg); }
.bac-device b { display: grid; place-items: center; width: 38px; height: 24px; background: #a1e9ca; color: var(--navy); font: 700 9px var(--pixel); }
.bac-device i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.trash-bin { width: 70px; height: 81px; display: grid; place-items: center; background: #75829f; border: 4px solid var(--navy); color: #fff; border-radius: 7px 7px 13px 13px; box-shadow: inset 0 10px #919cb5, 6px 6px 0 rgba(25,30,69,.2); font-size: 34px; }
.stirrer-machine { width: 88px; height: 96px; position: relative; border: 5px solid var(--navy); border-bottom-width: 9px; background: rgba(255,255,255,.4); box-shadow: 5px 5px 0 rgba(25,30,69,.2); }
.stirrer-machine::before { content: ""; position: absolute; top: 0; left: 22px; width: 35px; height: 11px; background: var(--navy); }
.stirrer-machine i { position: absolute; top: 11px; left: 39px; width: 4px; height: 47px; background: var(--navy); }
.stirrer-machine b { position: absolute; bottom: 0; left: 22px; width: 38px; height: 21px; background: #8fd6ff; border: 3px solid var(--navy); }
.stirrer-machine em { position: absolute; left: 11px; bottom: -9px; width: 58px; height: 8px; background: var(--navy); }
.wing-art svg { width: 146px; height: 105px; image-rendering: pixelated; }
.art-spark { position: absolute; color: #fff; font: 700 21px var(--pixel); text-shadow: 2px 2px var(--navy); }
.spark-a { top: 20px; right: 28px; }
.spark-b { bottom: 18px; left: 24px; color: var(--gold); }
.project-card-copy { padding: 17px 16px 16px; }
.project-type { display: inline-block; color: var(--coral-dark); font: 700 9px var(--pixel); letter-spacing: .02em; text-transform: uppercase; }
.project-card h3 { min-height: 42px; margin: 8px 0 6px; font: 700 17px/1.2 var(--pixel); color: var(--navy); letter-spacing: -.05em; }
.project-card p { min-height: 62px; margin: 0 0 13px; color: #656a84; font-size: 11px; line-height: 1.55; }
.card-note { display: block; color: #9997a8; font: 700 8px var(--pixel); letter-spacing: .03em; }
.experience-section { background: #f0edf9; }
.experience-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.experience-card { min-height: 225px; padding: 22px; position: relative; border: 2px solid var(--navy); border-radius: 9px; background: #fffdf8; box-shadow: 5px 5px 0 rgba(34,39,78,.12); }
.experience-coral { background: #fff4f4; }
.experience-mint { background: #f2fff8; }
.experience-blue { background: #f1f8ff; }
.experience-icon { position: absolute; top: 16px; right: 17px; display: grid; place-items: center; width: 34px; height: 30px; color: var(--navy); background: var(--gold); border: 2px solid var(--navy); font: 700 9px var(--pixel); }
.experience-card .project-type { margin: 0 0 11px; }
.experience-card h3 { max-width: 260px; margin: 0 0 11px; color: var(--navy); font: 700 17px/1.35 var(--pixel); letter-spacing: -.05em; }
.experience-card p:last-child { margin: 0; color: #656a84; font-size: 12px; line-height: 1.65; }
.about-section { padding-bottom: 52px; background: var(--cream); }
.about-panel { max-width: 1220px; margin: 0 auto; padding: clamp(28px,5vw,64px); display: grid; grid-template-columns: 160px 1fr; gap: clamp(24px,6vw,86px); align-items: center; background: #fff; border: 2px solid var(--navy); border-radius: 14px; box-shadow: 8px 8px 0 #ddd9cf; }
.about-avatar { width: 140px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #ffe0e2; border: 4px solid var(--navy); box-shadow: 5px 5px 0 var(--coral); }
.about-avatar .avatar-sprite { position: relative; inset: auto; display: block; width: 65px; height: 74px; background-position: 0% 0%; background-size: 400% 200%; }
.about-panel h2 { margin-bottom: 16px; }
.about-panel h2 span { color: var(--coral-dark); }
.about-panel p:not(.eyebrow) { max-width: 650px; color: #686e87; font-size: 14px; }
.text-link { color: var(--coral-dark); font-size: 12px; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.interest-strip { max-width: 1220px; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.interest-strip span { padding: 9px 13px; border-radius: 999px; background: #ece7ff; color: #4c4c74; font: 700 9px var(--pixel); }
.interest-strip span:nth-child(2) { background: #dcf6e8; }
.interest-strip span:nth-child(3) { background: #ffebc1; }
.interest-strip span:nth-child(4) { background: #dceeff; }
.interest-strip span:nth-child(5) { background: #ffe0e5; }
.interest-strip b { margin-right: 5px; color: #8282a0; }
.updates-section { background: #fffdf7; }
.update-card { max-width: 1220px; margin: 0 auto; padding: 20px 24px; display: grid; grid-template-columns: 48px 1fr 30px; align-items: center; gap: 18px; border: 2px solid var(--navy); border-radius: 9px; background: #fff; box-shadow: 5px 5px 0 #dedbd3; }
.update-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--gold); border: 2px solid var(--navy); color: var(--navy); font-size: 21px; }
.update-status { color: #23845f; font: 700 9px var(--pixel); }
.update-card h3 { margin: 3px 0 2px; font: 700 17px var(--pixel); color: var(--navy); }
.update-card p { margin: 0; color: #72778c; font-size: 11px; }
.update-arrow { color: var(--coral-dark); font: 700 18px var(--pixel); }
.draft-note { max-width: 1220px; margin: 16px auto 0; font-size: 10px; color: #88899a; }
.contact-section { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--gold); }
.contact-section h2 { max-width: 650px; }
.contact-section p:not(.eyebrow) { margin: 12px 0 0; color: #545a77; font-size: 12px; }
.socials-section { padding: 42px clamp(24px,7vw,108px); display: flex; justify-content: space-between; align-items: center; gap: 28px; background: #e9e5da; }
.socials-section h2 { font-size: 23px; }
.socials-section .eyebrow { margin-bottom: 8px; }
.social-placeholder { max-width: 500px; margin: 8px 0 0; color: #6a6f85; font-size: 10px; }
.social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.social-list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--navy); font-size: 11px; font-weight: 700; text-decoration: none; }
.social-list a:hover { color: var(--coral-dark); }
.social-list svg { width: 20px; height: 20px; }
.social-list b { color: #888aa0; font: 700 12px var(--pixel); }
.site-footer { min-height: 72px; padding: 15px clamp(24px,5vw,76px); display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--navy); color: #babed8; font-size: 10px; }
.footer-brand { color: #fff; font-size: 11px; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-brand .brand-mark svg { width: 24px; height: 24px; }
.back-top { color: var(--gold); text-decoration: none; font: 700 9px var(--pixel); }
@keyframes twinkle { 0%,100% { opacity: .48; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; padding-inline: 20px; }
  .main-nav { justify-content: center; gap: 12px; }
  .main-nav a { font-size: 9px; }
  .hero { grid-template-columns: minmax(250px,.78fr) minmax(390px,1.22fr); padding-inline: 28px; }
  .hero-copy { max-width: 390px; }
  .hero-tagline { font-size: 10px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 122px; }
  .site-header { min-height: 112px; height: auto; padding: 10px 15px; grid-template-columns: 1fr auto; grid-template-rows: 40px 34px; gap: 4px 10px; }
  .brand { font-size: 11px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .main-nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: 5px; }
  .main-nav a { font-size: 8px; }
  .header-socials { grid-column: 2; grid-row: 1; gap: 7px; }
  .header-socials a { width: 26px; height: 28px; }
  .header-socials svg { width: 20px; height: 20px; }
  .hero { min-height: 0; grid-template-columns: 1fr; text-align: center; padding: 50px 18px 72px; gap: 8px; }
  .hero-copy { max-width: 620px; margin: 0 auto; padding: 0; }
  h1 { font-size: clamp(38px,10vw,58px); }
  .hero-tagline { max-width: 520px; margin: 0 auto 20px; font-size: 9px; line-height: 1.9; }
  .hero-actions { justify-content: center; }
  .island-frame { width: min(100%,620px); }
  .island-stage { aspect-ratio: 1.3; }
  .island-hint { max-width: 340px; margin: 0 auto; font-size: 9px; }
  .about-bubble { left: 44%; top: 20%; padding: 6px 8px; }
  .about-bubble strong { font-size: 10px; }
  .about-bubble span { font-size: 8px; }
  .pixel-satellite { right: 8%; top: 10%; width: 52px; }
  .space-streak { width: 48%; }
  .streak-two { width: 35%; }
  .streak-three { width: 42%; }
  .pixel-plant { width: 52px; height: 82px; }
  .section { padding: 58px 19px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-side-note { margin-top: 10px; }
  .project-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-card { display: grid; grid-template-columns: 110px 1fr; }
  .project-art { height: 100%; min-height: 150px; border-bottom: 0; border-right: 2px solid var(--navy); }
  .project-card-copy { padding: 13px 12px; }
  .project-card h3 { min-height: 0; font-size: 15px; }
  .project-card p { min-height: 0; font-size: 10px; }
  .project-type { font-size: 8px; }
  .card-note { margin-top: 12px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 0; padding: 20px; }
  .experience-card h3 { font-size: 15px; }
  .about-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 22px; padding: 28px 19px; }
  .about-avatar { width: 112px; }
  .interest-strip { gap: 6px; }
  .interest-strip span { font-size: 8px; padding: 8px 10px; }
  .update-card { grid-template-columns: 38px 1fr 18px; gap: 10px; padding: 14px 11px; }
  .update-icon { width: 36px; height: 36px; }
  .update-card h3 { font-size: 14px; }
  .update-card p { font-size: 10px; }
  .contact-section { display: block; }
  .contact-section .button { margin-top: 20px; }
  .socials-section { display: block; padding-block: 35px; }
  .social-list { margin-top: 18px; gap: 18px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Chunkier 8-bit pass */
:root { --pixel: "Silkscreen", "Courier New", monospace; --body: "VT323", "Courier New", monospace; }
body { font-size: 18px; }
.site-header { grid-template-columns: auto 1fr; gap: 18px; padding-inline: clamp(14px, 3vw, 48px); }
.brand { font-size: 10px; line-height: 1.45; white-space: normal; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.header-controls { display: flex; justify-self: end; align-items: center; justify-content: flex-end; gap: clamp(10px, 2vw, 24px); }
.main-nav { justify-content: flex-end; gap: clamp(8px, 1.5vw, 20px); }
.main-nav a { font-size: 9px; letter-spacing: 0; }
.header-socials { gap: 7px; }
.header-socials a { width: 27px; height: 31px; }
.header-socials svg, .social-list svg { stroke-width: 2; shape-rendering: crispEdges; }
.hero { background: #11162f; }
.hero::before { display: none; }
h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.25; letter-spacing: -.04em; text-shadow: 4px 4px 0 #25214d; }
h1 span { color: #ff7794; text-shadow: 4px 4px 0 #4a3473; }
.hero-tagline { color: #fff0ad; font-size: clamp(8px, .9vw, 11px); line-height: 2; letter-spacing: 0; }
.hero-tagline i { color: #ff7794; }
.pixel-button, .button-primary { color: #171a3b; background: #fff; border: 3px solid #fff; border-radius: 9px; box-shadow: 3px 3px 0 #fff, 7px 7px 0 #8b72d1; }
.pixel-button { padding: 12px 15px; font-size: 9px; line-height: 1.8; letter-spacing: 0; }
.pixel-button:hover { box-shadow: 4px 4px 0 #fff, 9px 9px 0 #8b72d1; }
.space-streak { height: 7px; opacity: 1; clip-path: polygon(0 28%, 7% 28%, 7% 0, 92% 0, 92% 28%, 100% 28%, 100% 72%, 92% 72%, 92% 100%, 7% 100%, 7% 72%, 0 72%); }
.streak-one { top: 23%; background: #cd89ff; box-shadow: 0 0 0 3px rgba(205,137,255,.28), 0 0 16px 7px rgba(205,137,255,.42); }
.streak-two { top: 32%; background: #ff719b; box-shadow: 0 0 0 3px rgba(255,113,155,.24), 0 0 16px 7px rgba(255,113,155,.38); }
.streak-three { top: 41%; background: #ffd36b; box-shadow: 0 0 0 3px rgba(255,211,107,.22), 0 0 16px 7px rgba(255,211,107,.36); }
.pixel-satellite { top: 57%; right: 18%; width: 70px; height: 48px; }
.pixel-starfield { position: absolute; left: 61%; top: 7%; width: 4px; height: 4px; background: #fff2b9; box-shadow: 0 0 0 2px #fff2b9, 47px 28px 0 1px #a8d8ff, 105px -9px 0 2px #fff2b9, 183px 52px 0 1px #ffc4ee, 246px 7px 0 2px #fff2b9, 310px 76px 0 1px #a8d8ff, -42px 125px 0 2px #fff2b9, 138px 185px 0 1px #ffc4ee; opacity: .9; }
.pixel-planet { position: absolute; width: 102px; height: 82px; image-rendering: pixelated; filter: drop-shadow(0 0 12px rgba(166,146,255,.34)); }
.planet-left { left: 1%; bottom: 5%; }
.planet-right { right: 2%; bottom: 4%; filter: drop-shadow(0 0 13px rgba(91,221,255,.3)); }
.sky-star, .pixel-plant { display: none; }
.about-bubble { left: 50%; top: 79%; padding: 3px 0; display: block; background: none; color: #fff; border: 0; border-radius: 0; box-shadow: none; font: 700 11px var(--pixel); text-shadow: 2px 2px #171a3b, 0 0 8px #fff; white-space: nowrap; transform: translateY(5px); }
.about-bubble::after { display: none; }
.island-stage:hover .about-bubble, .island-stage:focus-visible .about-bubble { transform: translate(-50%,0); }
.island-hint { font: 400 17px/1.25 var(--body); color: #e6e5ff; letter-spacing: .02em; }
.island-hint span { font: 700 12px var(--pixel); }
.section-heading h2, .about-panel h2, .contact-section h2, .socials-section h2 { font-size: clamp(22px, 3vw, 36px); line-height: 1.35; letter-spacing: -.03em; }
.eyebrow, .project-type, .experience-icon, .update-status { font-family: var(--pixel); letter-spacing: 0; }
.project-card, .experience-card, .about-panel, .update-card { border-radius: 0; border: 3px solid var(--navy); box-shadow: 5px 5px 0 #bcb8cf; }
.project-card h3, .experience-card h3, .update-card h3 { font-family: var(--pixel); letter-spacing: -.03em; }
.project-card p, .experience-card p:last-child, .about-panel p:not(.eyebrow), .section-side-note, .contact-section p:not(.eyebrow), .social-placeholder { font: 400 18px/1.25 var(--body); }
.project-type { font-size: 7px; }
.card-note { font: 700 7px var(--pixel); }
.interest-strip span { border-radius: 0; font-family: var(--pixel); font-size: 7px; }
.social-list a { font: 400 17px var(--body); }
.site-footer { font: 400 16px var(--body); }
.back-top { font: 700 8px var(--pixel); }
.brand { font-size: 12px; }
.main-nav a[aria-current="page"] { color: var(--gold); text-shadow: 2px 2px 0 #7359a8; }
.project-art::before, .project-art::after { display: none; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: minmax(145px, .85fr) 1.4fr; }
  .header-controls { flex-direction: column; align-items: flex-end; gap: 2px; }
  .main-nav { gap: clamp(6px, 1.1vw, 12px); }
  .main-nav a { font-size: 7px; }
  .hero { grid-template-columns: minmax(230px,.78fr) minmax(390px,1.22fr); }
  .pixel-satellite { top: 55%; right: 15%; }
}
@media (max-width: 760px) {
  .site-header { min-height: 0; padding: 9px 12px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; gap: 8px; }
  .brand { max-width: 184px; gap: 6px; font-size: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .header-controls { grid-column: 2; grid-row: 1; gap: 3px; }
  .main-nav { gap: clamp(5px, 1vw, 8px); }
  .main-nav a { font-size: 6px; }
  .header-socials { gap: 3px; }
  .header-socials a { width: 22px; height: 22px; }
  .header-socials svg { width: 17px; height: 17px; }
  .hero { min-height: 450px; grid-template-columns: minmax(170px,.8fr) minmax(250px,1.2fr); gap: 7px; text-align: left; padding: 45px 15px 68px; }
  .hero-copy { max-width: none; margin: 0; padding: 0; }
  h1 { font-size: clamp(24px, 6vw, 36px); }
  .hero-tagline { margin: 0 0 17px; font-size: 8px; line-height: 1.9; }
  .hero-actions { justify-content: flex-start; }
  .pixel-button { gap: 5px; padding: 8px 9px; font-size: 7px; }
  .island-frame { width: 100%; }
  .island-stage { aspect-ratio: 1.3; }
  .island-hint { margin: 0; font-size: 15px; text-align: center; }
  .about-bubble { top: 78%; font-size: 8px; }
  .pixel-satellite { width: 54px; height: 40px; right: 15%; top: 53%; }
  .space-streak { width: 48%; }
  .streak-two { width: 35%; }
  .streak-three { width: 42%; }
  .pixel-planet { width: 72px; height: 58px; }
  .planet-left { bottom: 3%; }
  .planet-right { bottom: 3%; }
  .section-heading h2, .about-panel h2, .contact-section h2, .socials-section h2 { font-size: 22px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { border-radius: 0; }
  .section-side-note, .project-card p, .experience-card p:last-child, .about-panel p:not(.eyebrow), .contact-section p:not(.eyebrow) { font-size: 17px; }
}
@media (max-width: 440px) {
  .site-header { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .brand { max-width: 100%; }
  .header-controls { grid-column: 1; grid-row: 2; justify-self: end; }
  .main-nav a { font-size: 7px; }
  .hero { min-height: 405px; grid-template-columns: minmax(125px,.75fr) minmax(185px,1.25fr); padding-inline: 10px; gap: 4px; }
  h1 { font-size: clamp(20px, 6.3vw, 28px); }
  .hero-tagline { font-size: 6px; }
  .pixel-button { font-size: 6px; padding: 7px 6px; }
  .island-hint { font-size: 12px; }
}

/* Tiny pixel-grid marks for the header's LinkedIn, GitHub, and Devpost links. */
.header-socials svg.pixel-icon { fill: currentColor; stroke: none; shape-rendering: crispEdges; image-rendering: pixelated; }
.header-socials a:hover svg.pixel-icon { filter: drop-shadow(2px 2px 0 rgba(255, 211, 107, .35)); }

/* Landing hero and multi-page detail screens */
.hero h1 { position: relative; color: #fff2d4; text-shadow: 4px 4px 0 #e86e98, 8px 8px 0 #55437e; }
.hero h1 span { color: #fff2d4; text-shadow: 4px 4px 0 #e86e98, 8px 8px 0 #55437e; }
.hero h1::after { content: ""; position: absolute; top: 6px; right: -34px; width: 14px; height: 4px; background: #ffd36b; box-shadow: 6px 7px 0 #ffd36b, 12px 14px 0 #ffd36b; }
.island-stage { color: inherit; text-decoration: none; }
.pixel-satellite { width: 82px; height: 58px; filter: drop-shadow(0 0 0 #242450) drop-shadow(0 0 10px rgba(134,221,255,.75)); }
.heading-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.heading-row h2 { margin: 0; }
.section-more { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border: 2px solid var(--navy); border-radius: 7px; color: var(--navy); background: #fff; box-shadow: 3px 3px 0 #a390d5; font: 700 7px/1.7 var(--pixel); text-decoration: none; white-space: nowrap; }
.section-more:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #a390d5; }
.about-panel .heading-row { align-items: flex-start; }
.about-panel .section-more { margin-top: 4px; }
.art-streak { position: absolute; width: 18px; height: 3px; background: #ffd36b; box-shadow: 0 6px 0 #ffd36b, 0 12px 0 #ffd36b; transform: skewX(-28deg); filter: drop-shadow(0 0 3px rgba(255,211,107,.6)); }
.art-streak.streak-a { top: 19px; right: 22px; }
.art-streak.streak-b { bottom: 20px; left: 20px; transform: skewX(-28deg) scale(.72); }
.art-spark { display: none; }
.detail-page { background: var(--cream); }
.detail-main { min-height: 70vh; }
.detail-hero { min-height: 300px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 55px clamp(22px,8vw,120px); color: #fff; background: #11162f; border-bottom: 5px solid #8d77de; }
.detail-hero::before { content: ""; position: absolute; z-index: -1; width: 170px; height: 130px; right: 5%; bottom: -45px; background: #7a4eaf; clip-path: polygon(15% 4%,40% 0,47% 12%,75% 10%,85% 27%,100% 43%,96% 74%,72% 99%,40% 91%,18% 75%,0 52%); box-shadow: inset -20px -20px #51367e; }
.detail-hero::after { content: ""; position: absolute; z-index: -1; right: 18%; top: 28%; width: 8px; height: 8px; background: #fff1b8; box-shadow: 22px 35px 0 2px #ffd36b, 70px -10px 0 1px #a8d8ff, -30px 95px 0 1px #ffc4ee; }
.detail-hero .eyebrow { color: #ffd36b; }
.detail-hero h1 { max-width: 900px; margin: 0 0 13px; color: #fff2d4; font: 700 clamp(30px,5vw,56px)/1.25 var(--pixel); letter-spacing: -.04em; text-shadow: 4px 4px 0 #e86e98, 8px 8px 0 #55437e; }
.detail-hero>p:not(.eyebrow) { max-width: 760px; margin: 0 0 22px; color: #e6e5ff; font: 400 24px/1.3 var(--body); }
.detail-hero .pixel-button { margin-top: 2px; }
.detail-content { max-width: 1060px; margin: 0 auto; padding: 54px 24px; display: grid; gap: 20px; }
.detail-project { display: grid; grid-template-columns: 66px 1fr; gap: 18px; padding: clamp(20px,3.5vw,36px); border: 3px solid var(--navy); background: #fffdf7; box-shadow: 5px 5px 0 #c4bfd1; }
.detail-number { min-height: 44px; display: grid; place-items: center; align-self: start; padding: 5px; border: 2px solid var(--navy); background: #ffd36b; color: var(--navy); font: 700 9px var(--pixel); overflow-wrap: anywhere; }
.detail-project .project-type { margin: 0 0 9px; }
.detail-project h2, .detail-cta h2, .about-detail-panel h2 { margin: 0 0 13px; color: var(--navy); font: 700 clamp(18px,2.4vw,25px)/1.45 var(--pixel); letter-spacing: -.04em; }
.detail-project p:not(.project-type) { max-width: 800px; color: #505570; font: 400 21px/1.35 var(--body); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.detail-tags span { padding: 6px 9px; border: 2px solid #b4a8d7; background: #f2edff; color: #39345f; font: 700 7px var(--pixel); }
.detail-cta { padding: 48px 24px 60px; text-align: center; background: #eae6f5; border-block: 3px solid var(--navy); }
.detail-cta .eyebrow { margin-bottom: 10px; }
.detail-cta h2 { margin: 0 auto 17px; }
.experience-detail-grid .detail-project:nth-child(2) .detail-number, .detail-project:nth-child(3) .detail-number { background: #b7efd4; }
.experience-detail-grid .detail-project:nth-child(4) .detail-number { background: #ffc4de; }
.about-detail-panel { max-width: 1060px; margin: 52px auto 8px; padding: clamp(22px,5vw,54px); display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: clamp(22px,5vw,60px); border: 3px solid var(--navy); background: #fffdf7; box-shadow: 6px 6px 0 #c4bfd1; }
.about-detail-panel .about-avatar { width: 132px; }
.about-detail-panel h2 span { color: var(--coral-dark); }
.about-detail-panel p:not(.eyebrow) { max-width: 740px; color: #505570; font: 400 21px/1.4 var(--body); }
.about-detail-panel .pixel-button { margin-top: 5px; }
.contact-detail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.contact-detail-grid .detail-project { grid-template-columns: 44px 1fr; gap: 12px; }
.contact-detail-grid .detail-number { font-size: 8px; }
.contact-detail-grid .detail-project h2 { font-size: 17px; }
.contact-detail-grid .detail-project p:not(.project-type) { font-size: 19px; }
.text-link { font-family: var(--pixel); font-size: 7px; line-height: 1.8; }
@media (max-width: 760px) {
  .hero h1::after { right: -24px; top: 0; transform: scale(.75); transform-origin: top left; }
  .heading-row { gap: 8px; }
  .heading-row h2 { max-width: 100%; }
  .section-more { padding: 7px; font-size: 6px; }
  .about-panel .heading-row { flex-direction: column; align-items: center; }
  .detail-hero { min-height: 250px; padding: 40px 22px; }
  .detail-hero>p:not(.eyebrow) { font-size: 21px; }
  .detail-content { padding: 32px 17px; gap: 15px; }
  .detail-project { grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 14px; }
  .detail-number { min-height: 36px; font-size: 7px; }
  .detail-project h2, .detail-cta h2, .about-detail-panel h2 { font-size: 16px; }
  .detail-project p:not(.project-type), .about-detail-panel p:not(.eyebrow) { font-size: 19px; }
  .about-detail-panel { margin: 28px 17px 0; grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .contact-detail-grid { grid-template-columns: 1fr; }
}

/* Clearer pixel typography, pixel sky, and farm-game style controls */
:root { --pixel: "Pixelify Sans", "Courier New", monospace; }
.hero { background: #090e28 url("/assets/pixel-space-approved-adjusted.png") center / cover no-repeat; }
.hero::before { display: none; }
.hero h1 { color: #fff2d4; letter-spacing: -.02em; text-shadow: 4px 4px 0 #e86e98, 7px 7px 0 #55437e; }
.hero h1 span { color: #fff2d4; letter-spacing: -.02em; text-shadow: 4px 4px 0 #e86e98, 7px 7px 0 #55437e; }
.hero h1 .hero-name { position: relative; display: inline-block; white-space: nowrap; }
.hero h1 .name-rays { position: absolute; z-index: 3; top: -.60em; right: -.66em; width: .92em; height: .78em; overflow: visible; pointer-events: none; filter: drop-shadow(1px 2px 0 rgba(61,44,64,.7)); }
h1, h2, h3 { letter-spacing: -.02em; }
.brand { font-size: 13px; letter-spacing: 0; }
.main-nav a { font-size: 10px; letter-spacing: 0; }
.hero-tagline { letter-spacing: 0; line-height: 1.8; }
.section-heading h2, .about-panel h2, .contact-section h2, .socials-section h2 { letter-spacing: -.02em; line-height: 1.3; }
.detail-hero h1 { letter-spacing: -.02em; }
.detail-project h2, .detail-cta h2, .about-detail-panel h2 { letter-spacing: -.02em; line-height: 1.35; }
.pixel-button, .button-primary { color: #332649; background: #f7dfa0; border: 3px solid #563b59; border-radius: 8px; box-shadow: inset 0 3px 0 #fff3ce, inset 0 -4px 0 #d4a256, 0 4px 0 #4d3861, 0 8px 0 rgba(8,12,34,.55); }
.pixel-button { padding: 12px 17px; font-size: 13px; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.pixel-button:hover { box-shadow: inset 0 3px 0 #fff3ce, inset 0 -4px 0 #d4a256, 0 5px 0 #4d3861, 0 10px 0 rgba(8,12,34,.55); }
.about-bubble { left: 53%; top: 48%; z-index: 5; padding: 0; display: block; background: transparent; color: #fff5d9; border: 0; border-radius: 0; box-shadow: none; font: 600 13px/1.35 var(--pixel); letter-spacing: 0; text-shadow: 2px 2px 0 #171735, 0 0 8px rgba(255,247,208,.8); white-space: nowrap; transform: translate(-50%,-110%); opacity: 0; transition: opacity .15s; pointer-events: none; }
.about-bubble::after { display: none; }
.island-stage:hover .about-bubble, .island-stage:focus-visible .about-bubble { opacity: 1; transform: translate(-50%,-110%); }
.contact-section { display: block; padding-block: 52px; }
.contact-top { max-width: 1220px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contact-top>div { flex: 1; }
.contact-top .pixel-button { flex: 0 0 auto; }
.contact-section h2 { max-width: 680px; }
.contact-section p:not(.eyebrow) { margin: 10px 0 0; color: #454464; font: 400 20px/1.25 var(--body); }
.quick-links { max-width: 1220px; margin: 25px auto 0; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; border-top: 2px solid rgba(44,35,72,.28); }
.quick-links a { min-width: 130px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; color: var(--navy); background: #fff5d9; border: 2px solid #4c375d; box-shadow: 3px 3px 0 #b18251; font: 600 14px/1.3 var(--pixel); text-decoration: none; }
.quick-links a:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #b18251; }
.quick-links svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-hero .pixel-button { margin-top: 2px; }
.section-more { font-family: var(--pixel); letter-spacing: 0; }
@media (max-width: 760px) {
  .brand { font-size: 9px; }
  .main-nav a { font-size: 8px; }
  .pixel-button { padding: 9px 11px; font-size: 11px; }
  .contact-top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .contact-top .pixel-button { margin: 0; }
  .quick-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .quick-links a { min-width: 0; padding: 8px; font-size: 11px; }
  .about-bubble { font-size: 10px; }
}
@media (max-width: 440px) {
  .main-nav a { font-size: 8px; }
  .contact-section { padding-inline: 16px; }
  .quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.resume-viewer { max-width: 1180px; margin: 35px auto 48px; padding: 0 22px; }
.resume-viewer iframe { display: block; width: 100%; height: min(1200px, 115vh); min-height: 760px; border: 4px solid #31234c; background: #fff; box-shadow: 7px 7px 0 #c4bfd1; }
@media (max-width: 760px) {
  .resume-viewer { margin: 20px auto 30px; padding: 0 12px; }
  .resume-viewer iframe { height: 82vh; min-height: 650px; border-width: 3px; }
}

/* Spotlight shuffle and illustrated LinkedIn-style project cards */
.featured-carousel { max-width: 1220px; margin: 0 auto; }
.featured-window { position: relative; min-height: 360px; overflow: hidden; border: 3px solid var(--navy); background: #141a3b; box-shadow: 7px 7px 0 #bcb8cf; }
.featured-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); color: var(--navy); background: #fffdf7; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.99); filter: blur(2px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1), filter .65s ease, visibility .65s; }
.featured-slide.is-active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); filter: blur(0); }
.featured-slide img { display: block; width: 100%; height: 100%; min-height: 354px; object-fit: cover; border-right: 3px solid var(--navy); image-rendering: auto; }
.featured-copy { align-self: center; padding: clamp(22px,4vw,50px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.featured-copy strong { color: var(--navy); font: 700 clamp(25px,3.7vw,43px)/1.17 var(--pixel); text-shadow: 3px 3px 0 #f4c66d; }
.featured-copy>span:not(.project-type) { color: #545a75; font: 400 clamp(17px,1.8vw,21px)/1.4 var(--body); }
.featured-copy .featured-cta { margin-top: 3px; color: #563a67!important; font: 700 13px/1.5 var(--pixel)!important; }
.featured-cta b { display: inline-block; padding-left: 8px; font-size: 22px; }
.featured-controls { min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 10px 8px 0; }
.featured-arrow { width: 38px; height: 38px; border: 2px solid var(--navy); border-radius: 0; color: var(--navy); background: #fff4d7; box-shadow: 3px 3px 0 #a390d5; font: 700 27px/1 var(--pixel); cursor: pointer; }
.featured-arrow:hover, .featured-arrow:focus-visible { transform: translateY(-2px); box-shadow: 3px 5px 0 #a390d5; }
.featured-dots { display: flex; align-items: center; gap: 8px; }
.featured-dot { width: 13px; height: 13px; padding: 0; border: 2px solid var(--navy); border-radius: 0; background: #fffdf7; cursor: pointer; }
.featured-dot[aria-pressed="true"] { background: #f1c65f; box-shadow: 2px 2px 0 #9d6d57; }
.project-archive { max-width: 1220px; }
.archive-note { grid-column: 1/-1; margin: 0; color: #666881; font: 400 17px/1.45 var(--body); }
.project-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.archive-project { overflow: hidden; display: flex; flex-direction: column; border: 3px solid var(--navy); background: #fffdf7; box-shadow: 5px 5px 0 #c4bfd1; scroll-margin-top: 105px; }
.archive-project>img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 3px solid var(--navy); }
.archive-copy { flex: 1; padding: 20px 21px 22px; }
.archive-copy h2 { margin: 5px 0 10px; color: var(--navy); font: 700 clamp(18px,2vw,23px)/1.3 var(--pixel); }
.archive-copy>p:not(.project-type) { margin: 0; color: #505570; font: 400 18px/1.4 var(--body); }
.archive-copy .detail-tags { margin-top: 16px; }
.linkedin-project-link { margin: 8px 0 0; text-align: center; }
.linkedin-update { position: relative; grid-template-columns: 52px 1fr 22px; align-items: start; gap: 16px; color: inherit; text-decoration: none; }
.linkedin-update:hover { transform: translateY(-2px); box-shadow: 6px 7px 0 #bcb8cf; }
.linkedin-update-icon, .linkedin-post-logo { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--navy); background: #fff; color: #0a66c2; font: 700 17px/1 Arial,sans-serif; box-shadow: 2px 2px 0 #bcb8cf; }
.linkedin-update-copy { display: flex; flex-direction: column; gap: 7px; }
.linkedin-update-copy strong { color: var(--navy); font: 700 18px/1.25 var(--pixel); }
.linkedin-update-copy>span:not(.update-status) { color: #545a75; font: 400 17px/1.4 var(--body); }
.linkedin-update-copy .linkedin-update-link { margin-top: 4px; color: #5a416d!important; font: 700 12px/1.5 var(--pixel)!important; }
.update-arrow { color: #5a416d; font: 700 22px var(--pixel); }
.linkedin-post-card { max-width: 790px; padding: clamp(20px,4vw,38px); border: 3px solid var(--navy); background: #fffdf7; box-shadow: 6px 6px 0 #c4bfd1; }
.linkedin-post-top { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.linkedin-post-top>div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.linkedin-post-top strong { color: var(--navy); font: 700 14px var(--pixel); }
.linkedin-post-top>div span { color: #77778c; font: 400 14px var(--body); }
.linkedin-post-top>a { color: #655079; font: 700 22px var(--pixel); text-decoration: none; }
.linkedin-post-card h2, .linkedin-note h2 { margin: 5px 0 12px; color: var(--navy); font: 700 clamp(19px,2.6vw,28px)/1.3 var(--pixel); }
.linkedin-post-card>p:not(.project-type), .linkedin-note>p:not(.eyebrow) { color: #505570; font: 400 19px/1.42 var(--body); }
.post-link { display: inline-block; margin-top: 18px; color: #5a416d; font: 700 12px var(--pixel); text-decoration: none; }
.post-link:hover { text-decoration: underline; }
.updates-detail-grid { grid-template-columns: minmax(0,2fr) minmax(230px,1fr); align-items: start; max-width: 1160px; }
.linkedin-note { margin-top: 15px; padding: 22px; border: 3px solid var(--navy); background: #e9e3fa; box-shadow: 5px 5px 0 #bcb8cf; }
.linkedin-note .pixel-button { margin-top: 5px; }

/* A little more pixel scenery on every inner-page banner */
.detail-hero { background-color: #11162f; background-image: radial-gradient(circle at 7% 22%,#fff4ce 0 2px,transparent 2.5px),radial-gradient(circle at 27% 72%,#8e8bd1 0 2px,transparent 2.5px),radial-gradient(circle at 64% 24%,#d5d1ff 0 2px,transparent 2.5px),radial-gradient(circle at 91% 18%,#fff4ce 0 2px,transparent 2.5px),linear-gradient(115deg,#10142f 0%,#20244d 63%,#362850 100%); }
.detail-hero::before { width: clamp(120px,20vw,210px); height: clamp(120px,20vw,210px); right: 7%; top: 52%; bottom: auto; border: 9px solid #f2c65d; border-radius: 50%; background: linear-gradient(135deg,#f59ab2 0 34%,#c681c1 34% 62%,#7770c1 62% 100%); box-shadow: 0 0 0 8px #6755a6,inset -22px -18px 0 rgba(63,53,113,.5),0 0 28px rgba(239,168,221,.2); clip-path: none; transform: translateY(-42%) rotate(-22deg); opacity: .88; }
.detail-hero::after { top: 19%; right: 27%; width: 9px; height: 28px; background: #ffd36b; box-shadow: 23px 9px 0 #ffd36b,46px 18px 0 #ffd36b, -22px 83px 0 1px #fff1b8, 58px 105px 0 1px #a8d8ff; transform: rotate(28deg); }
.detail-hero>* { position: relative; z-index: 1; }
.detail-hero .pixel-button { z-index: 2; }
@media (max-width: 760px) {
  .featured-window { min-height: 0; display: grid; }
  .featured-slide { position: relative; inset: auto; grid-area: 1/1; display: grid; grid-template-columns: 1fr; pointer-events: none; }
  .featured-slide.is-active { pointer-events: auto; }
  .featured-slide img { height: auto; min-height: 0; aspect-ratio: 16/9; border-right: 0; border-bottom: 3px solid var(--navy); }
  .featured-copy { padding: 20px; gap: 10px; }
  .featured-copy strong { font-size: clamp(22px,7vw,30px); }
  .featured-copy>span:not(.project-type) { font-size: 17px; }
  .featured-controls { gap: 8px; flex-wrap: wrap; }
  .project-archive-grid, .updates-detail-grid { grid-template-columns: 1fr; }
  .linkedin-note { margin: 0; }
  .detail-hero::before { right: -6%; opacity: .48; }
  .detail-hero::after { right: 20%; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-slide { transition: none; }
  .featured-arrow, .linkedin-update { transition: none; }
}
.header-socials svg.github-icon, .quick-links svg.github-icon, .social-list svg.github-icon { fill: currentColor; stroke: none; shape-rendering: crispEdges; image-rendering: pixelated; }

/* A simple phonebook-style directory for the socials page. */
.socials-hero { padding-bottom: 26px; }
.phonebook { width: min(900px, calc(100% - 44px)); margin: 0 auto 72px; overflow: hidden; background: var(--paper); border: 3px solid var(--navy); box-shadow: 6px 6px 0 #bcb8cf; }
.phonebook-row { display: grid; grid-template-columns: 58px 1fr 30px; align-items: center; gap: 18px; min-height: 88px; padding: 14px 20px; color: var(--navy); text-decoration: none; background: #fffdf7; transition: background-color .15s, transform .15s; }
.phonebook-row + .phonebook-row { border-top: 2px solid #e6e0d3; }
.phonebook-row:hover { background: #fff5d9; }
.phonebook-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy); background: #f4eaff; border: 2px solid var(--navy); box-shadow: 3px 3px 0 #bcb8cf; }
.phonebook-row:nth-child(2) .phonebook-icon { background: #e5f2e9; }
.phonebook-row:nth-child(3) .phonebook-icon { background: #fff0c6; }
.phonebook-row:nth-child(4) .phonebook-icon { background: #e5f1ff; }
.phonebook-icon svg { width: 25px; height: 25px; fill: currentColor; stroke: none; shape-rendering: crispEdges; image-rendering: pixelated; }
.phonebook-info { display: grid; gap: 3px; }
.phonebook-info strong { font: 700 18px/1.2 var(--pixel); }
.phonebook-info small { color: #656981; font: 400 19px/1.2 var(--body); }
.phonebook-arrow { justify-self: end; color: var(--coral-dark); font: 700 23px/1 var(--pixel); }
@media (max-width: 600px) {
  .phonebook { width: calc(100% - 28px); margin-bottom: 42px; }
  .phonebook-row { grid-template-columns: 48px 1fr 22px; gap: 12px; min-height: 76px; padding: 12px; }
  .phonebook-icon { width: 40px; height: 40px; }
  .phonebook-icon svg { width: 22px; height: 22px; }
  .phonebook-info small { font-size: 17px; overflow-wrap: anywhere; }
}

/* Approved pixel-space artwork for inner-page banners */
.detail-hero {
  background-color: #10142f;
  background-image: linear-gradient(90deg, rgba(12,15,40,.16), rgba(12,15,40,0) 62%), url("/assets/detail-banner-space-dark-purple.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.detail-hero::before,
.detail-hero::after { display: none; }
@media (max-width: 760px) {
  .detail-hero { background-position: 62% center; }
}

/* Image slots stay visible until Sarah adds project and experience photos. */
.featured-image-placeholder,.gallery-image-placeholder { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; overflow: hidden; color: #fff4d7; background-color: #25264d; background-image: linear-gradient(135deg,transparent 47%,rgba(171,144,220,.16) 48% 52%,transparent 53%),radial-gradient(circle at 22% 25%,#ffe8a2 0 2px,transparent 3px),radial-gradient(circle at 78% 69%,#c6b6fa 0 2px,transparent 3px),linear-gradient(145deg,#1b2144,#3d315d); border: 3px solid var(--navy); image-rendering: pixelated; }
.featured-image-placeholder { min-height: 354px; border: 0; border-right: 3px solid var(--navy); }
.featured-image-placeholder b,.gallery-image-placeholder b { font: 700 42px/1 var(--pixel); color: #ffd36b; text-shadow: 3px 3px 0 #e86e98; }
.featured-image-placeholder small,.gallery-image-placeholder small { padding: 6px 9px; color: #fff2d4; background: rgba(15,19,48,.75); font: 700 10px/1.25 var(--pixel); letter-spacing: .03em; text-align: center; }
.gallery-grid { width: min(1220px,calc(100% - 44px)); margin: 0 auto 64px; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.gallery-entry { min-width: 0; }
.gallery-card,.experience-preview-card { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 11px; padding: 13px; text-align: left; color: var(--navy); background: #fffdf7; border: 3px solid var(--navy); box-shadow: 5px 5px 0 #bcb8cf; text-decoration: none; cursor: pointer; transition: transform .2s,box-shadow .2s; }
.gallery-card:hover,.experience-preview-card:hover { transform: translate(-2px,-3px); box-shadow: 8px 8px 0 #bcb8cf; }
.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { width: 100%; aspect-ratio: 1/1; }
.gallery-card .project-type,.experience-preview-card .project-type { margin: 2px 0 0; font-size: 10px; }
.gallery-card>strong,.experience-preview-card>strong { font: 700 19px/1.25 var(--pixel); }
.gallery-summary,.experience-preview-card>span:not(.gallery-image-placeholder):not(.project-type):not(.gallery-card-open) { color: #505570; font: 400 16px/1.45 var(--body); }
.gallery-card-open { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; color: #644776; font: 700 11px/1.3 var(--pixel); }
.experience-role { color: #6b6281; font: 700 12px/1.35 var(--pixel); }
.experience-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.experience-preview-card { height: 100%; }
.gallery-dialog { width: min(940px,calc(100% - 30px)); max-width: none; max-height: min(86vh,850px); padding: 0; overflow: visible; color: var(--navy); background: transparent; border: 0; }
.gallery-dialog::backdrop { background: rgba(8,10,28,.78); backdrop-filter: blur(3px); }
.gallery-dialog-frame { position: relative; max-height: min(86vh,850px); overflow: auto; padding: clamp(22px,4vw,42px); background: #fffdf7; border: 5px solid var(--navy); box-shadow: 9px 9px 0 #9d80d1; }
.gallery-close { position: sticky; z-index: 2; top: 0; float: right; width: 48px; height: 48px; margin: -18px -18px 8px 14px; color: #fff2d4; background: #e86e98; border: 3px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); font: 700 19px/1 var(--pixel); cursor: pointer; }
.gallery-close:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--navy); }
.gallery-modal-layout { display: grid; grid-template-columns: minmax(240px,.85fr) minmax(0,1.15fr); gap: 28px; align-items: start; clear: both; }
.gallery-modal-image { width: 100%; min-height: 260px; aspect-ratio: 1/1; }
.gallery-modal-layout h2 { margin: 4px 0 15px; font: 700 clamp(22px,4vw,34px)/1.2 var(--pixel); }
.gallery-modal-layout p:not(.project-type) { color: #505570; font: 400 18px/1.55 var(--body); }
.experience-modal-role { margin-top: -6px; color: #6b6281!important; font: 700 13px/1.4 var(--pixel)!important; }
.gallery-dialog .detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.linkedin-window { display: block; width: min(930px,100%); margin: 0 auto; overflow: hidden; color: inherit; text-decoration: none; background: #fffdf7; border: 3px solid var(--navy); box-shadow: 6px 6px 0 #bcb8cf; transition: transform .2s,box-shadow .2s; }
.linkedin-window:hover { transform: translate(-2px,-3px); box-shadow: 9px 9px 0 #bcb8cf; }
.linkedin-window-bar { min-height: 42px; display: flex; align-items: center; gap: 13px; padding: 7px 13px; color: #e8e5ff; background: #202345; font: 400 17px/1 var(--body); }
.linkedin-window-bar>b { margin-left: auto; color: #ffd36b; font: 700 19px/1 var(--pixel); }
.linkedin-window-lights { display: flex; gap: 5px; }
.linkedin-window-lights i { width: 9px; height: 9px; background: #e86e98; border: 1px solid #11162f; }
.linkedin-window-lights i:nth-child(2) { background: #ffd36b; }.linkedin-window-lights i:nth-child(3) { background: #9cdaa2; }
.linkedin-window-content { display: flex; align-items: flex-start; gap: 18px; padding: 24px; }
.linkedin-window-mark { flex: 0 0 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #0a66c2; font: 700 24px/1 Arial,sans-serif; }
.linkedin-window-detail { margin-top: 18px; }
.linkedin-feed-section { max-width: 1020px; }
@media(max-width:800px) { .gallery-grid,.experience-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .gallery-grid,.experience-preview-grid { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 15px; }.featured-image-placeholder { min-height: 0; aspect-ratio: 16/9; border-right: 0; border-bottom: 3px solid var(--navy); }.gallery-modal-layout { grid-template-columns: 1fr; gap: 18px; }.gallery-modal-image { min-height: 180px; max-height: 300px; aspect-ratio: 16/9; }.gallery-dialog-frame { padding: 20px; }.gallery-close { margin: -7px -7px 8px 8px; }.linkedin-window-content { padding: 16px; gap: 12px; } }
@media(prefers-reduced-motion:reduce) { .gallery-card,.experience-preview-card,.linkedin-window,.gallery-close { transition: none; } }

/* Section destinations sit quietly below their headings. */
.section-more-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: #604875; font: 700 12px/1.5 var(--pixel); text-decoration: none; }
.section-more-link:hover { color: #a14b73; text-decoration: underline; text-underline-offset: 3px; }

/* Leave a little breathing room between the space banners and page content. */
.experience-gallery-grid { margin-top: 30px; }
.phonebook { margin-top: 30px; }
@media (max-width: 600px) {
  .experience-gallery-grid { margin-top: 22px; }
  .phonebook { margin-top: 22px; }
}

/* About page: small multi-image galleries beside each interest block */
.about-intro { width: min(1060px,calc(100% - 44px)); margin: 48px auto 30px; padding: clamp(22px,4vw,38px); display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: center; gap: clamp(22px,4vw,42px); color: var(--navy); background: #fffdf7; border: 3px solid var(--navy); box-shadow: 6px 6px 0 #c4bfd1; }
.about-intro .about-avatar { width: 132px; }
.about-intro h2 { margin: 0 0 12px; color: var(--navy); font: 700 clamp(20px,3vw,30px)/1.35 var(--pixel); letter-spacing: -.02em; }
.about-intro h2 span { color: var(--coral-dark); }
.about-intro-copy>p:not(.eyebrow) { max-width: 780px; margin: 0 0 18px; color: #505570; font: 400 19px/1.5 var(--body); }
.about-interest-list { width: min(1060px,calc(100% - 44px)); margin: 0 auto 64px; display: grid; gap: 20px; }
.about-interest-card { width: 100%; display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.5fr); align-items: center; gap: clamp(20px,4vw,42px); padding: clamp(18px,3vw,28px); text-align: left; font: inherit; color: var(--navy); background: #fffdf7; border: 3px solid var(--navy); box-shadow: 5px 5px 0 #c4bfd1; cursor: pointer; transition: transform .2s,box-shadow .2s; }
.about-interest-card:hover,.about-interest-card:focus-visible { transform: translate(-2px,-3px); box-shadow: 8px 8px 0 #c4bfd1; }
.about-image-gallery { min-width: 0; min-height: 210px; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2,minmax(88px,1fr)); gap: 8px; }
.about-image-placeholder { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; overflow: hidden; color: #fff2d4; background-color: #222447; background-image: radial-gradient(circle at 18% 22%,#ffe8a2 0 2px,transparent 3px),radial-gradient(circle at 78% 65%,#c6b6fa 0 2px,transparent 3px),linear-gradient(145deg,#202447,#3d315d); border: 2px dashed #a99bc9; image-rendering: pixelated; }
.about-image-placeholder:first-child { grid-row: span 2; }
.about-gallery-photo { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border: 2px solid #a99bc9; border-radius: 4px; }
.about-image-gallery .about-gallery-photo:first-child { grid-row: span 2; }
.about-modal-gallery .about-gallery-photo { aspect-ratio: 1; }
.about-image-placeholder b { color: #ffd36b; font: 700 28px/1 var(--pixel); text-shadow: 2px 2px 0 #e86e98; }
.about-image-placeholder small { padding: 4px 6px; background: rgba(12,15,40,.76); color: #fff2d4; font: 700 9px/1.2 var(--pixel); }
.about-interest-copy .project-type { display: block; margin: 0 0 8px; }
.about-interest-heading { display: block; margin: 0 0 10px; color: var(--navy); font: 700 clamp(18px,2.4vw,25px)/1.35 var(--pixel); letter-spacing: -.02em; }
.about-interest-description { display: block; color: #505570; font: 400 18px/1.5 var(--body); }
.about-interest-copy .gallery-card-open { margin-top: 12px; }
.about-gallery-modal-layout { grid-template-columns: minmax(280px,1fr) minmax(0,1.15fr); }
.about-modal-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.about-modal-gallery .about-image-placeholder { aspect-ratio: 1; }
.about-modal-gallery .about-image-placeholder:first-child { grid-row: auto; }
.about-modal-gallery .about-image-placeholder b { font-size: 23px; }
.about-modal-gallery .about-image-placeholder small { font-size: 8px; }
.project-gallery-grid { margin-top: 30px; }
@media(max-width:700px) { .about-intro,.about-interest-list { width: calc(100% - 30px); }.about-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }.about-interest-card { grid-template-columns: 1fr; gap: 18px; }.about-image-gallery { min-height: 190px; } }
@media(max-width:600px) { .project-gallery-grid { margin-top: 22px; }.about-gallery-modal-layout { grid-template-columns: 1fr; } }

/* Trash Royale project photos and detailed case-study layout */
.real-project-thumbnail { padding: 8px; background: #fffdf7; background-image: none; }
.real-project-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fffdf7; }
.real-featured-thumbnail { padding: 14px; background: #fffdf7!important; background-image: none!important; }
.featured-slide .real-featured-thumbnail img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fffdf7; border: 0; }
.trash-royale-modal-layout { grid-template-columns: minmax(260px,.9fr) minmax(0,1.2fr); gap: 24px; }
.trash-royale-gallery { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 9px; }
.trash-royale-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #e7e9f2; border: 3px solid var(--navy); box-shadow: 3px 3px 0 #c4bfd1; }
.trash-royale-gallery .trash-game-shot { object-fit: contain; background: #fffdf7; }
.trash-royale-copy h2 { margin-bottom: 12px; }
.trash-royale-overview { color: #454b68!important; font-weight: 600!important; }
.project-detail-sections { margin-top: 18px; }
.project-detail-sections h3 { margin: 17px 0 6px; color: var(--navy); font: 700 13px/1.4 var(--pixel); text-transform: uppercase; }
.project-detail-sections ul { margin: 0; padding-left: 20px; color: #505570; font: 400 15px/1.5 var(--body); }
.project-detail-sections li { margin: 0 0 6px; padding-left: 2px; }
@media(max-width:600px) { .trash-royale-modal-layout { grid-template-columns: 1fr; }.trash-royale-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }.project-detail-sections ul { font-size: 15px; } }

/* Compact pixel-art thumbnails keep experience cards focused on their details. */
.experience-pixel-art { width: 70px; height: 70px; flex: 0 0 70px; align-self: flex-start; display: grid; place-items: center; overflow: hidden; background: #f4eddf; border: 2px solid var(--navy); box-shadow: 3px 3px 0 #bcb8cf; image-rendering: pixelated; }
.experience-pixel-art svg { display: block; width: 52px; height: 52px; shape-rendering: crispEdges; }
.experience-gallery-grid .gallery-card { align-items: flex-start; }
.experience-preview-card { align-items: flex-start; }
.section-side-note a, .detail-hero p a { color: #66447a; text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
.section-side-note a:hover, .detail-hero p a:hover { color: #a94470; }

.experience-detail-list { margin: 0; padding-left: 20px; color: #505570; font: 400 16px/1.5 var(--body); }
.experience-detail-list li { margin: 0 0 8px; padding-left: 3px; }
.embedded-experience { margin-top: 20px; padding-top: 15px; border-top: 2px dashed #c4bfd1; }
.embedded-experience h3 { margin: 0 0 8px; font: 700 16px/1.35 var(--pixel); }
.embedded-experience h3 a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.experience-modal-pixel-art { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; align-self: stretch; }
.experience-modal-pixel-art svg { width: 55%; height: 55%; }

.project-category-heading { width: min(1220px,calc(100% - 44px)); margin: 12px auto 4px; color: var(--navy); font: 700 clamp(20px,2.8vw,30px)/1.3 var(--pixel); }
.research-category-heading { margin-top: 8px; }
.project-gallery-grid { margin-bottom: 42px; }
.project-resource-link { display: inline-flex; width: fit-content; margin: -5px 0 12px; color: #69447f; font: 700 13px/1.45 var(--pixel); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.project-resource-link:hover { color: #a94470; }
.gallery-photo-trigger { position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 4/3; padding: 0; overflow: hidden; background: #fffdf7; border: 3px solid var(--navy); box-shadow: 3px 3px 0 #c4bfd1; cursor: zoom-in; }
.gallery-photo-trigger img { display: block; width: 100%; height: 100%; object-fit: cover; background: #fffdf7; transition: transform .28s ease; }
.gallery-photo-trigger:hover img,.gallery-photo-trigger:focus-visible img { transform: scale(1.045); }
.gallery-photo-sparkle { position: absolute; top: 7px; right: 9px; color: #ffd36b; font: 700 30px/1 var(--pixel); text-shadow: 2px 2px 0 #e86e98,0 0 10px rgba(255,243,197,.9); opacity: 0; pointer-events: none; }
.gallery-photo-trigger:hover .gallery-photo-sparkle,.gallery-photo-trigger:focus-visible .gallery-photo-sparkle { animation: photo-sparkle-pop .7s ease-out both; }
@keyframes photo-sparkle-pop { 0% { opacity: 0; transform: scale(.2) rotate(-35deg); } 45% { opacity: 1; transform: scale(1.15) rotate(10deg); } 100% { opacity: 0; transform: scale(.8) rotate(25deg); } }
.trash-royale-gallery img,.project-photo-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trash-royale-gallery .trash-game-shot { object-fit: contain; background: #fffdf7; }
.project-photo-gallery { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 9px; }
.hydroelectric-modal-layout { grid-template-columns: minmax(260px,.9fr) minmax(0,1.2fr); gap: 24px; }
.project-image-viewer { width: fit-content; max-width: 94vw; max-height: 90vh; padding: 0; overflow: visible; color: var(--navy); background: transparent; border: 0; }
.project-image-viewer::backdrop { background: rgba(8,10,28,.9); backdrop-filter: blur(4px); }
.project-image-viewer-frame { position: relative; max-width: 94vw; max-height: 88vh; display: grid; grid-template-columns: 38px minmax(0,auto) 38px; align-items: center; gap: 8px; padding: clamp(10px,1.5vw,18px); background: #fffdf7; border: 3px solid var(--navy); box-shadow: 6px 6px 0 #9d80d1; }
.project-image-viewer figure { min-width: 0; margin: 0; text-align: center; }
.project-image-viewer figure img { display: block; width: auto; max-width: min(76vw,920px); height: auto; max-height: 72vh; object-fit: contain; }
.project-image-viewer figcaption { margin-top: 8px; color: #505570; font: 400 14px/1.4 var(--body); }
.project-image-viewer-close,.project-image-viewer-arrow { display: grid; place-items: center; color: #fff2d4; background: #e86e98; border: 3px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); font: 700 24px/1 var(--pixel); cursor: pointer; }
.project-image-viewer-close { position: absolute; z-index: 1; top: 6px; right: 6px; width: 36px; height: 36px; }
.project-image-viewer-arrow { width: 36px; height: 48px; }
.project-image-viewer button:disabled { opacity: .45; cursor: default; }
@media(max-width:600px) { .project-category-heading { width: calc(100% - 30px); }.project-image-viewer-frame { grid-template-columns: 30px minmax(0,auto) 30px; gap: 5px; padding: 10px 6px; }.project-image-viewer-arrow { width: 28px; height: 42px; }.project-image-viewer figure img { max-width: 65vw; max-height: 72vh; }.project-image-viewer-close { top: 4px; right: 4px; width: 32px; height: 32px; }.hydroelectric-modal-layout { grid-template-columns: 1fr; } }

/* Keep project and experience detail popups aligned while their contents scroll. */
.gallery-dialog { box-sizing: border-box; height: min(86vh,850px); }
.gallery-dialog-frame { box-sizing: border-box; height: 100%; }
@media(max-width:600px) { .gallery-dialog { height: 90vh; } }
@media(prefers-reduced-motion:reduce) { .gallery-photo-trigger img { transition: none; }.gallery-photo-trigger:hover .gallery-photo-sparkle,.gallery-photo-trigger:focus-visible .gallery-photo-sparkle { animation: none; opacity: 1; } }

/* Gotcha B.A.C. prototype gallery: compact label between versions. */
.gotcha-bac-gallery { align-content: start; }
.gotcha-bac-gallery .gotcha-prototype-label { grid-column: 1 / -1; margin: 2px 0 0; padding: 7px 10px; color: var(--navy); background: #eee9dd; border-left: 4px solid #c88750; font: 700 10px/1.25 var(--pixel); letter-spacing: .04em; text-transform: uppercase; }

/* Compact, consistent gallery cards and detail image grids. */
.gallery-grid,.experience-preview-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.gallery-card,.experience-preview-card { gap: 8px; padding: 10px; }
.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { aspect-ratio: 4/3; }
.gallery-summary,.experience-preview-card>span:not(.gallery-image-placeholder):not(.project-type):not(.gallery-card-open) { font-size: 14px; }
.gallery-dialog { width: min(1100px,calc(100% - 30px)); }
.gallery-modal-layout,.trash-royale-modal-layout,.hydroelectric-modal-layout { grid-template-columns: minmax(300px,.95fr) minmax(0,1.5fr); gap: 24px; }
.trash-royale-gallery,.project-photo-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.gallery-photo-trigger { aspect-ratio: 4/3; }
@media(max-width:1000px) { .gallery-grid,.experience-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:800px) { .gallery-modal-layout,.trash-royale-modal-layout,.hydroelectric-modal-layout { grid-template-columns: minmax(250px,.9fr) minmax(0,1.1fr); } }
@media(max-width:700px) { .gallery-grid,.experience-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .gallery-grid,.experience-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.gallery-modal-layout,.trash-royale-modal-layout,.hydroelectric-modal-layout { grid-template-columns: 1fr; }.trash-royale-gallery,.project-photo-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:390px) { .gallery-grid,.experience-preview-grid { grid-template-columns: 1fr; } }

/* Project and experience cards share a compact, uniform footprint. */
.gallery-grid,.experience-preview-grid { align-items: stretch; }
.gallery-grid .gallery-entry { display: flex; min-width: 0; }
.gallery-card,.experience-preview-card { box-sizing: border-box; height: 350px; min-height: 0; overflow: hidden; gap: 6px; }
.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex: 0 0 100px; height: 100px; min-height: 0; aspect-ratio: auto; }
.gallery-card .project-type,.experience-preview-card .project-type { flex: 0 0 26px; min-height: 26px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 13px; }
.gallery-card>strong,.experience-preview-card>strong { flex: 0 0 44px; min-height: 44px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; line-height: 1.25; }
.gallery-summary,.experience-preview-card>span:not(.gallery-image-placeholder):not(.project-type):not(.gallery-card-open):not(.experience-role) { flex: 0 0 59px; min-height: 59px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 13px; line-height: 1.45; }
.experience-preview-card .experience-role { flex: 0 0 30px; min-height: 30px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; line-height: 1.4; }
.gallery-card-open { flex: 0 0 20px; min-height: 20px; padding-top: 4px; }
@media(max-width:700px) { .gallery-card,.experience-preview-card { height: 340px; padding: 9px; gap: 5px; }.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex-basis: 90px; height: 90px; } }
@media(max-width:390px) { .gallery-card,.experience-preview-card { height: 330px; } }

/* Restore image prominence while keeping the gallery cards compact and uniform. */
.gallery-card,.experience-preview-card { height: 330px; padding: 8px; gap: 5px; }
.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex: 0 0 140px; height: 140px; aspect-ratio: auto; }
.gallery-card .project-type,.experience-preview-card .project-type { flex-basis: 24px; min-height: 24px; line-height: 12px; }
.gallery-card>strong,.experience-preview-card>strong { flex-basis: 42px; min-height: 42px; font-size: 16px; }
.gallery-summary,.experience-preview-card>span:not(.gallery-image-placeholder):not(.project-type):not(.gallery-card-open):not(.experience-role) { flex-basis: 38px; min-height: 38px; -webkit-line-clamp: 2; font-size: 13px; line-height: 1.4; }
.experience-preview-card .experience-role { flex-basis: 24px; min-height: 24px; font-size: 10px; line-height: 1.25; }
.gallery-card-open { flex-basis: 18px; min-height: 18px; padding-top: 2px; }
@media(max-width:700px) { .gallery-card,.experience-preview-card { height: 320px; padding: 8px; gap: 4px; }.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex-basis: 132px; height: 132px; } }
@media(max-width:390px) { .gallery-card,.experience-preview-card { height: 320px; }.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex-basis: 140px; height: 140px; } }

/* Give the project and experience images more room inside the compact cards. */
.gallery-card,.experience-preview-card { height: 340px; }
.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex-basis: 180px; height: 180px; }
.gallery-card .project-type,.experience-preview-card .project-type { flex-basis: 20px; min-height: 20px; line-height: 10px; }
.gallery-card>strong,.experience-preview-card>strong { flex-basis: 36px; min-height: 36px; font-size: 15px; line-height: 1.2; }
.gallery-summary,.experience-preview-card>span:not(.gallery-image-placeholder):not(.project-type):not(.gallery-card-open):not(.experience-role) { flex-basis: 30px; min-height: 30px; -webkit-line-clamp: 2; font-size: 12px; line-height: 1.25; }
.experience-preview-card .experience-role { flex-basis: 18px; min-height: 18px; font-size: 9px; line-height: 1.2; }
.gallery-card-open { flex-basis: 16px; min-height: 16px; font-size: 9px; }
.gallery-card .real-project-thumbnail img,.experience-preview-card .real-project-thumbnail img { object-fit: cover; }
@media(max-width:700px) { .gallery-card,.experience-preview-card { height: 330px; }.gallery-card .gallery-image-placeholder,.experience-preview-card .gallery-image-placeholder { flex-basis: 170px; height: 170px; } }

/* Experience cards use the same full-width image panel as project cards. */
.experience-gallery-grid .gallery-card { align-items: stretch; }
.experience-gallery-grid .experience-pixel-art { width: 100%; height: 180px; flex: 0 0 180px; align-self: stretch; }
.experience-gallery-grid .experience-pixel-art svg { width: 116px; height: 116px; }
@media(max-width:700px) { .experience-gallery-grid .experience-pixel-art { height: 170px; flex-basis: 170px; } }

/* Real headshot in the circular About intro portrait. */
.about-intro .about-avatar { overflow: hidden; }
.about-intro .about-headshot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: 50%; }
/* Keep experience artwork visible but secondary to the project photos. */
.experience-gallery-grid .experience-pixel-art { height: 125px; flex-basis: 125px; }
.experience-gallery-grid .experience-pixel-art svg { width: 90px; height: 90px; }
@media(max-width:700px) { .experience-gallery-grid .experience-pixel-art { height: 120px; flex-basis: 120px; } }

/* Make experience cards and their art panels slightly more compact. */
.experience-gallery-grid .gallery-card { height: 320px; }
.experience-gallery-grid .experience-pixel-art { height: 110px; flex-basis: 110px; }
.experience-gallery-grid .experience-pixel-art svg { width: 80px; height: 80px; }
@media(max-width:700px) {
  .experience-gallery-grid .gallery-card { height: 300px; }
  .experience-gallery-grid .experience-pixel-art { height: 100px; flex-basis: 100px; }
  .experience-gallery-grid .experience-pixel-art svg { width: 74px; height: 74px; }
}

/* PotRider project media gallery and neutral thumbnail framing. */
.potrider-cover img { object-fit: contain !important; background: #f3eee5; }
.potrider-media-gallery { min-width: 0; }
.potrider-photo-gallery { margin-bottom: 18px; }
.potrider-video-heading { margin: 12px 0 8px; color: var(--navy); font: 700 13px/1.4 var(--pixel); }
.potrider-video-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.potrider-video-gallery figure { min-width: 0; margin: 0; overflow: hidden; background: #fffdf7; border: 2px solid var(--navy); box-shadow: 2px 2px 0 #c4bfd1; }
.potrider-video-gallery video { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f3eee5; }
.potrider-video-gallery figcaption { padding: 5px 6px; color: #505570; font: 400 10px/1.3 var(--body); }
@media(max-width:600px) { .potrider-video-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Experience gallery cards pair a compact icon with the role details. */
.experience-gallery-grid .gallery-card {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  grid-template-areas: "art type" "art title" "art summary" "role role" "cta cta";
  grid-template-rows: auto auto minmax(0,1fr) auto auto;
  align-content: start;
  align-items: start;
  gap: 6px 12px;
  height: auto;
  min-height: 190px;
  padding: 12px;
}
.experience-gallery-grid .experience-pixel-art {
  grid-area: art;
  width: 72px;
  height: 72px;
  flex: none;
  align-self: start;
}
.experience-gallery-grid .experience-pixel-art svg { width: 52px; height: 52px; }
.experience-gallery-grid .gallery-card .project-type { grid-area: type; margin: 0; }
.experience-gallery-grid .gallery-card > strong { grid-area: title; align-self: start; font-size: 16px; }
.experience-gallery-grid .gallery-summary { grid-area: summary; font-size: 13px; }
.experience-gallery-grid .experience-role { grid-area: role; }
.experience-gallery-grid .gallery-card-open { grid-area: cta; margin-top: 2px; }
@media(max-width:700px) {
  .experience-gallery-grid .gallery-card { min-height: 180px; }
  .experience-gallery-grid .experience-pixel-art { width: 64px; height: 64px; }
  .experience-gallery-grid .experience-pixel-art svg { width: 48px; height: 48px; }
}
.about-intro .about-avatar {
  background: #e4d7c3;
  border-color: #494238;
  box-shadow: 0 8px 20px rgba(61,49,34,.3);
}
.about-intro .about-headshot { object-position: 50% 54%; }

/* Latest bio and experience layout refinements. */
.about-intro .about-avatar { position: relative; padding: 0; border-radius: 50%; }
.about-intro .about-headshot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; border-radius: 50%; }

.experience-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.experience-preview-grid .experience-preview-card {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr);
  grid-template-areas: "art type" "art title" "art summary" "art cta";
  grid-template-rows: auto auto minmax(0,1fr) auto;
  align-items: start;
  align-content: start;
  width: 100%; height: 166px; min-height: 166px; max-height: 166px;
  padding: 12px; gap: 6px 12px; overflow: hidden;
}
.experience-preview-grid .experience-pixel-art { grid-area: art; width: 78px; height: 78px; flex: none; align-self: start; }
.experience-preview-grid .experience-pixel-art svg { width: 58px; height: 58px; }
.experience-preview-grid .project-type { grid-area: type; min-height: 0; max-height: 28px; margin: 0; overflow: hidden; font-size: 9px; line-height: 1.35; }
.experience-preview-grid > .experience-preview-card > strong { grid-area: title; min-height: 0; max-height: 40px; margin: 0; overflow: hidden; font: 700 15px/1.25 var(--pixel); }
.experience-preview-grid .experience-preview-card > span:not(.experience-pixel-art):not(.project-type):not(.gallery-card-open) { grid-area: summary; min-height: 0; max-height: 42px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 400 13px/1.4 var(--body); }
.experience-preview-grid .gallery-card-open { grid-area: cta; min-height: 0; margin: 0; padding: 0; font-size: 9px; line-height: 1.25; }

.experience-gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.experience-gallery-grid .gallery-card {
  grid-template-columns: 62px minmax(0,1fr);
  grid-template-areas: "art type" "art title" "art summary" "role role" "cta cta";
  grid-template-rows: auto auto minmax(0,1fr) auto auto;
  width: 100%; height: 220px; min-height: 220px; max-height: 220px;
  padding: 12px; gap: 6px 10px; overflow: hidden;
}
.experience-gallery-grid .experience-pixel-art { width: 62px; height: 62px; flex: none; }
.experience-gallery-grid .gallery-card .project-type { max-height: 27px; overflow: hidden; font-size: 9px; line-height: 1.35; }
.experience-gallery-grid .gallery-card > strong { max-height: 40px; overflow: hidden; font-size: 14px; line-height: 1.25; }
.experience-gallery-grid .gallery-summary { min-height: 0; max-height: 63px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font: 400 14px/1.45 var(--body); }
.experience-gallery-grid .experience-role { max-height: 31px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 9px; line-height: 1.35; }
.experience-gallery-grid .gallery-card-open { min-height: 0; padding: 0; font-size: 9px; }

.gallery-dialog #galleryDialogContent .experience-modal-art {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 250px; max-height: 54vh;
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: #f4eddf; border: 3px solid var(--navy); box-shadow: 4px 4px 0 #c4bfd1;
}
.gallery-dialog #galleryDialogContent .experience-modal-art svg { width: min(60%,220px); height: min(60%,220px); }
.gallery-dialog #galleryDialogContent .experience-modal-art img { display: block; width: 94%; height: 94%; object-fit: contain; image-rendering: pixelated; }

.next-section-band { width: 100%; margin: 0; padding: 20px max(22px,calc((100vw - 1220px)/2)); background: #eee9f8; border-top: 2px solid #d4cbe9; border-bottom: 2px solid #d4cbe9; }
.next-section-inner { max-width: 1220px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.next-section-inner .eyebrow { margin: 0; color: #6b6281; }
.next-section-inner > a { color: var(--navy); font: 700 clamp(17px,2vw,22px)/1.3 var(--pixel); text-decoration: none; }
.next-section-inner > a span { display: inline-block; color: #765994; transition: transform .2s ease; }
.next-section-inner > a:hover span,.next-section-inner > a:focus-visible span { transform: translateX(5px); }

@media(max-width:800px) {
  .experience-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .experience-preview-grid { grid-template-columns: 1fr; }
  .experience-preview-grid .experience-preview-card { height: 156px; min-height: 156px; max-height: 156px; }
  .experience-gallery-grid { grid-template-columns: 1fr; }
  .experience-gallery-grid .gallery-card { height: 210px; min-height: 210px; max-height: 210px; }
  .gallery-dialog #galleryDialogContent .experience-modal-art { min-height: 180px; max-height: 34vh; }
  .next-section-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Use Sarah-Grace's headshot for the circular portrait on the home About panel. */
.about-panel .about-avatar { position: relative; overflow: hidden; padding: 0; background: #e4d7c3; border-color: #494238; box-shadow: 0 8px 20px rgba(61,49,34,.3); }
.about-panel .about-headshot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; border-radius: 50%; }

/* Centered lavender transition panels modeled after the portfolio's workshop CTA. */
.next-section-band {
  box-sizing: border-box;
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 24px 24px;
  background: #ece8f7;
  border: 0;
}
.next-section-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.next-section-inner .eyebrow {
  margin: 0;
  color: #e85f7b;
  font: 700 11px/1.3 var(--pixel);
  letter-spacing: .03em;
}
.next-section-inner h2 {
  margin: 0;
  color: var(--navy);
  font: 700 clamp(22px,2.5vw,32px)/1.25 var(--pixel);
}
.next-section-inner .next-section-button {
  margin-top: 8px;
  min-height: 52px;
  padding: 12px 20px;
  font-size: 14px;
}
@media(max-width:600px) {
  .next-section-band { min-height: 170px; padding: 20px 18px; }
  .next-section-inner { gap: 9px; }
  .next-section-inner .next-section-button { min-height: 52px; margin-top: 6px; padding: 12px 20px; font-size: 14px; }
}

.about-modal-gallery .about-gallery-video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid #a99bc9; border-radius: 4px; background: #171a31; }

/* About page: crisp temporary art and enlarged gallery media controls */
.gallery-video-wrap { position: relative; min-width: 0; aspect-ratio: 4/3; overflow: hidden; background: #11162f; border: 3px solid var(--navy); box-shadow: 3px 3px 0 #c4bfd1; }
.gallery-video-wrap video { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-video-expand { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 36px; height: 36px; color: #fff2d4; background: #e86e98; border: 3px solid var(--navy); box-shadow: 2px 2px 0 var(--navy); font: 700 20px/1 var(--pixel); cursor: zoom-in; }
.gallery-video-expand:hover,.gallery-video-expand:focus-visible { transform: scale(1.08); }
.project-image-viewer figure video { display: block; width: auto; max-width: min(76vw,920px); max-height: 72vh; background: #11162f; }

/* Compact About interest cards */
.about-interest-list { gap: 12px; margin-bottom: 42px; }
.about-interest-card { gap: clamp(14px,2.5vw,28px); padding: clamp(12px,2vw,18px); }
.about-image-gallery { min-height: 142px; grid-template-rows: repeat(2,minmax(58px,1fr)); gap: 6px; }
.about-image-placeholder { gap: 4px; }
.about-image-placeholder b { font-size: 22px; }
.about-image-placeholder small { padding: 3px 5px; font-size: 8px; }
@media(max-width:700px) { .about-interest-card { gap: 12px; padding: 14px; }.about-image-gallery { min-height: 132px; } }

/* Keep each About interest section the same overall size. */
.about-interest-list { grid-auto-rows: 1fr; align-items: stretch; }
.about-interest-entry { height: 100%; min-width: 0; }
.about-interest-card { height: 100%; box-sizing: border-box; }
.about-image-gallery { height: 142px; min-height: 0; grid-template-rows: repeat(2,minmax(0,1fr)); }
@media(max-width:700px) { .about-image-gallery { height: 142px; min-height: 0; } }

/* Compact the transition call-to-action on every portfolio page. */
.next-section-band { min-height: 148px; padding: 18px 20px; }
.next-section-inner { gap: 7px; }
.next-section-inner h2 { font-size: clamp(19px,2.2vw,27px); line-height: 1.2; }
.next-section-inner .next-section-button { min-height: 44px; margin-top: 4px; padding: 9px 16px; font-size: 12px; }
@media(max-width:600px) {
  .next-section-band { min-height: 136px; padding: 16px 16px; }
  .next-section-inner { gap: 6px; }
  .next-section-inner h2 { font-size: clamp(18px,5vw,23px); }
  .next-section-inner .next-section-button { min-height: 42px; margin-top: 3px; padding: 8px 14px; font-size: 12px; }
}

.project-image-viewer figure video[hidden] { display: none; }
