@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #080910;
  --bg-soft: #0d101a;
  --panel: rgba(17, 20, 32, .72);
  --panel-solid: #111420;
  --line: rgba(201, 210, 255, .12);
  --line-strong: rgba(201, 210, 255, .22);
  --text: #f3f5ff;
  --muted: #b4bdd2;
  --quiet: #939db5;
  --cyan: #87ecff;
  --violet: #a89aff;
  --pink: #ff9bd7;
  --amber: #ffd39b;
  --green: #8df0c5;
  --container: min(1200px, calc(100% - 56px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; background: var(--bg); overflow-x: clip; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.65; letter-spacing: -.012em; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .33; background-image: linear-gradient(rgba(148, 158, 204, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 158, 204, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black 0%, transparent 78%); }
body::after { content: ""; position: fixed; z-index: 0; pointer-events: none; width: 680px; height: 680px; right: -380px; top: 18vh; border-radius: 50%; background: radial-gradient(circle, rgba(103, 76, 207, .09), transparent 69%); filter: blur(18px); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: #05060a; background: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
#nebula-field { position: fixed; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .72; mix-blend-mode: screen; }
#starfield { position: fixed; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .67; }
#stardust-trail { position: fixed; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.cursor-aura { position: fixed; z-index: 1; pointer-events: none; width: 370px; height: 370px; left: 0; top: 0; border-radius: 50%; opacity: 0; transform: translate3d(0, 0, 0) translate(-50%, -50%); will-change: transform; contain: layout style; background: radial-gradient(circle, rgba(98, 208, 255, .13), rgba(143, 98, 240, .06) 38%, transparent 71%); transition: opacity .35s ease; mix-blend-mode: screen; }
body.pointer-ready .cursor-aura { opacity: 1; }
.site-header, main, .site-footer, .ticker, .back-to-top, .toast, .scroll-progress { position: relative; z-index: 2; }
body[data-page="home"] main > [data-page]:not([data-page="home"]),
body[data-page="about"] main > [data-page]:not([data-page="about"]),
body[data-page="projects"] main > [data-page]:not([data-page="projects"]),
body[data-page="interests"] main > [data-page]:not([data-page="interests"]),
body[data-page="contact"] main > [data-page]:not([data-page="contact"]) { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.section-shell { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: #05070b; background: var(--cyan); border-radius: 10px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 30; left: 0; top: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: 0 50%; will-change: transform; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); box-shadow: 0 0 16px rgba(135, 236, 255, .6); }

/* Navigation */
.site-header { position: fixed; z-index: 20; top: 16px; left: 50%; transform: translateX(-50%); width: min(1320px, calc(100% - 32px)); min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 8px 10px 8px 17px; border: 1px solid rgba(208, 218, 255, .13); border-radius: 19px; background: rgba(9, 11, 19, .73); backdrop-filter: blur(14px) saturate(130%); box-shadow: 0 15px 50px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035); transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(9, 11, 19, .92); border-color: rgba(208, 218, 255, .19); box-shadow: 0 15px 50px rgba(0, 0, 0, .36); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { display: grid; width: 40px; height: 40px; padding: 3px; place-items: center; overflow: hidden; border: 1px solid rgba(135, 236, 255, .38); border-radius: 13px; background: linear-gradient(140deg, rgba(135, 236, 255, .12), rgba(168, 154, 255, .09)); box-shadow: 0 0 23px rgba(135, 236, 255, .11), inset 0 0 18px rgba(135, 236, 255, .07); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 5px rgba(135,236,255,.14)); }
.brand-copy { display: grid; gap: 0; line-height: 1.05; }
.brand-copy strong { font-size: 11px; letter-spacing: .19em; }
.brand-copy small { margin-top: 4px; color: var(--quiet); font-size: 8px; letter-spacing: .14em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 35px); }
.primary-nav a { position: relative; padding: 10px 0; color: #a7acc0; font-size: 11px; font-weight: 600; letter-spacing: .035em; transition: color .25s ease; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--text); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.availability-pill { display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; color: #b7b8c6; font-size: 8px; font-weight: 700; letter-spacing: .105em; white-space: nowrap; }
.availability-pill i, .live-dot, .piano-live-dot, .api-indicator { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(141, 240, 197, .8); animation: pulse-dot 2s ease-in-out infinite; }
.language-toggle { display: grid; width: 35px; height: 35px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .07em; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.language-toggle:hover { color: var(--cyan); border-color: rgba(135,236,255,.5); background: rgba(135,236,255,.08); }
.header-cv { display: inline-flex; align-items: center; min-height: 37px; padding: 0 13px; border: 1px solid rgba(135, 236, 255, .27); border-radius: 11px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .08em; background: rgba(135, 236, 255, .055); transition: all .25s ease; }
.header-cv:hover { color: #080910; background: var(--cyan); box-shadow: 0 0 25px rgba(135,236,255,.28); }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 15px; height: 1px; margin: 5px auto; background: var(--text); transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Hero */
.hero { position: relative; z-index: 2; min-height: 750px; min-height: min(940px, 100svh); padding-top: clamp(148px, 17vh, 194px); padding-bottom: 84px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); align-items: center; gap: 28px; overflow: visible; }
.hero-copy { position: relative; z-index: 2; padding: 0 0 15px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--cyan); font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.eyebrow-line { width: 37px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.eyebrow-orbit { color: var(--pink); font-size: 13px; animation: spin 12s linear infinite; }
.hero-kicker { margin: 40px 0 7px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .22em; }
.hero h1 { display: flex; flex-direction: column; margin: 0; font-size: clamp(4.1rem, 8.2vw, 7.7rem); line-height: .88; letter-spacing: -.09em; font-weight: 620; }
.hero h1 > span { color: #e8ebf8; }
.hero h1 strong { position: relative; width: fit-content; margin-top: 10px; color: transparent; font-weight: 760; background: linear-gradient(98deg, #f2f5ff 0%, #a3f1ff 34%, #c1a8ff 69%, #ffb0d9 100%); background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 0 25px rgba(149, 130, 255, .2)); }
.title-star { position: absolute; top: -.08em; right: -.53em; color: var(--amber); font-size: .25em; line-height: 1; text-shadow: 0 0 9px rgba(255,211,155,.9); animation: star-flash 2.7s ease-in-out infinite; }
.role-line { display: flex; align-items: center; min-height: 30px; margin-top: 31px; color: #d7d9e7; font-size: 14px; font-weight: 550; letter-spacing: .015em; }
.role-prefix { margin-right: 11px; color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
#role-rotator { color: var(--cyan); text-shadow: 0 0 15px rgba(135,236,255,.35); }
.role-cursor { width: 7px; height: 17px; margin-left: 7px; background: var(--violet); animation: blink .9s steps(2, start) infinite; }
.hero-intro { max-width: 510px; margin: 17px 0 0; color: var(--muted); font-size: clamp(14px, 1.25vw, 16px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 32px; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 49px; padding: 0 17px; border: 1px solid transparent; border-radius: 13px; font-size: 11px; font-weight: 750; letter-spacing: .01em; cursor: pointer; transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #070910; background: linear-gradient(105deg, #a8f2ff 0%, #c0b3ff 53%, #e7aaff 100%); box-shadow: 0 7px 30px rgba(135, 184, 255, .16), inset 0 1px rgba(255,255,255,.65); }
.button-primary:hover { box-shadow: 0 12px 40px rgba(135, 184, 255, .31), 0 0 24px rgba(168,154,255,.18); }
.button-arrow { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #f5f6ff; background: rgba(9, 11, 18, .78); font-size: 14px; transition: transform .25s ease; }
.button:hover .button-arrow { transform: translate(2px, -2px); }
.button-quiet { border-color: var(--line); color: #e1e4f0; background: rgba(255,255,255,.025); }
.button-quiet:hover { border-color: rgba(135,236,255,.35); background: rgba(135,236,255,.07); }
.button-icon { color: var(--cyan); font-size: 15px; }
.hero-footline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; max-width: 555px; margin-top: 76px; padding-top: 17px; border-top: 1px solid var(--line); }
.hero-signature, .scroll-cue { display: inline-flex; align-items: center; gap: 9px; color: var(--quiet); font-size: 8px; font-weight: 750; letter-spacing: .13em; }
.signature-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.scroll-cue { gap: 11px; color: #a6abc0; }
.scroll-cue-line { display: inline-block; width: 34px; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); }
.scroll-cue > span:last-of-type { color: var(--cyan); font-size: 13px; animation: bob 1.8s ease-in-out infinite; }
.hero-art { position: relative; width: min(100%, 590px); height: min(66vw, 620px); min-height: 470px; justify-self: end; perspective: 1000px; }
.hero-art::before { content: ""; position: absolute; z-index: 0; inset: 7% 4%; border-radius: 50%; background: url("/assets/sections/hero-bg.jpg") center 40% / cover no-repeat; opacity: .17; filter: saturate(.68) blur(1px); mask-image: radial-gradient(ellipse, #000 10%, rgba(0,0,0,.76) 50%, transparent 77%); pointer-events: none; }
.nebula { position: absolute; inset: 16% 7%; border-radius: 50%; filter: blur(46px); opacity: .45; pointer-events: none; }
.nebula-a { background: radial-gradient(ellipse at 44% 44%, rgba(65, 192, 246, .29), transparent 55%); transform: rotate(-24deg); }
.nebula-b { inset: 24% 12% 12% 22%; background: radial-gradient(ellipse at 55% 50%, rgba(171, 85, 223, .28), transparent 58%); transform: rotate(31deg); }
.orbit { position: absolute; z-index: 1; top: 50%; left: 50%; border: 1px solid rgba(177, 181, 250, .18); border-radius: 50%; pointer-events: none; transform-style: preserve-3d; }
.orbit-one { width: 100%; height: 62%; transform: translate(-50%, -50%) rotate(-29deg); box-shadow: 0 0 30px rgba(126, 102, 241, .06), inset 0 0 20px rgba(126, 102, 241, .025); animation: orbit-drift 26s linear infinite; }
.orbit-two { width: 83%; height: 86%; border-color: rgba(135, 236, 255, .15); transform: translate(-50%, -50%) rotate(33deg); animation: orbit-reverse 37s linear infinite; }
.orbit-three { width: 66%; height: 105%; border-color: rgba(255, 155, 215, .11); transform: translate(-50%, -50%) rotate(68deg); }
.orbit-satellite { position: absolute; display: block; width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan), 0 0 20px rgba(135,236,255,.5); }
.satellite-one { top: 8%; left: 22%; }
.satellite-two { right: 11%; bottom: 18%; width: 5px; height: 5px; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.satellite-three { right: 4%; top: 34%; width: 4px; height: 4px; background: var(--amber); box-shadow: 0 0 11px var(--amber); }
.portrait-halo { position: absolute; z-index: 2; top: 50%; left: 50%; width: 57%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 90deg, rgba(135,236,255,.05), rgba(168,154,255,.32), rgba(255,155,215,.14), rgba(135,236,255,.28), transparent 74%); filter: blur(28px); transform: translate(-50%, -50%); }
.portrait-frame { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(63%, 360px); aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(218, 231, 255, .5); border-radius: 46% 54% 53% 47% / 51% 45% 55% 49%; background: #1c2031; box-shadow: 0 0 0 9px rgba(135,236,255,.035), 0 0 0 1px rgba(135,236,255,.42), 0 0 80px rgba(112,105,230,.28), 0 30px 100px rgba(0,0,0,.45); transform: translate(-50%, -50%) rotate(4deg); transition: border-radius .5s ease, transform .5s ease; }
.portrait-frame:hover { border-radius: 50%; transform: translate(-50%, -50%) rotate(0deg) scale(1.025); }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.035) rotate(-4deg); filter: saturate(.9) contrast(1.02); }
.portrait-glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(150deg, rgba(218,249,255,.16), transparent 27%, transparent 70%, rgba(168,154,255,.15)); mix-blend-mode: screen; }
.art-index { position: absolute; z-index: 4; top: 24%; right: 7%; display: flex; align-items: center; gap: 10px; color: #bcc3dc; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.art-index span:last-child { color: var(--amber); font-size: 16px; text-shadow: 0 0 12px var(--amber); }
.float-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 11px 13px; border: 1px solid rgba(209, 220, 255, .17); border-radius: 14px; background: linear-gradient(148deg, rgba(20, 24, 38, .94), rgba(13, 16, 27, .93)); box-shadow: 0 12px 38px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.045); animation: float 5.6s ease-in-out infinite; will-change: transform; }
.float-card-top { top: 17%; left: 2%; }
.float-card-bottom { right: 0; bottom: 18%; min-width: 205px; animation-delay: -2.6s; }
.float-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(168,154,255,.25); border-radius: 10px; color: var(--violet); background: rgba(168,154,255,.08); font-size: 16px; }
.float-card > span:nth-child(2) { display: grid; gap: 1px; }
.float-card small { color: var(--quiet); font-size: 7px; font-weight: 700; letter-spacing: .14em; }
.float-card b { color: #edf0ff; font-size: 10px; font-weight: 650; letter-spacing: .025em; }
.float-card .live-dot { margin-left: auto; width: 6px; height: 6px; flex-basis: 6px; }
.mini-wave { display: flex; align-items: center; justify-content: center; gap: 3px; width: 37px; height: 32px; border: 1px solid rgba(135,236,255,.18); border-radius: 9px; background: rgba(135,236,255,.06); }
.mini-wave i { display: block; width: 2px; height: 8px; border-radius: 5px; background: var(--cyan); box-shadow: 0 0 6px rgba(135,236,255,.8); animation: wave 1.1s ease-in-out infinite alternate; }
.mini-wave i:nth-child(2), .mini-wave i:nth-child(6) { height: 15px; animation-delay: -.4s; }
.mini-wave i:nth-child(3), .mini-wave i:nth-child(5) { height: 11px; animation-delay: -.7s; }
.mini-wave i:nth-child(4) { height: 19px; animation-delay: -.2s; }
.art-coordinate { position: absolute; z-index: 3; color: rgba(180,190,222,.48); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; letter-spacing: .1em; line-height: 1.65; }
.coord-one { left: 3%; bottom: 14%; }
.coord-two { top: 36%; right: -3%; writing-mode: vertical-rl; }
.sparkle { position: absolute; z-index: 4; color: var(--cyan); text-shadow: 0 0 12px currentColor; }
.sparkle-one { top: 26%; left: 27%; font-size: 13px; animation: star-flash 2s ease-in-out infinite; }
.sparkle-two { right: 25%; bottom: 29%; color: var(--pink); font-size: 17px; animation: star-flash 3s ease-in-out -1s infinite; }
.sparkle-three { right: 19%; top: 27%; color: var(--amber); font-size: 26px; animation: star-flash 4s ease-in-out -2s infinite; }

/* Running ribbon */
.ticker { z-index: 2; overflow: hidden; padding: 13px 0; border-block: 1px solid rgba(206,214,255,.09); background: rgba(255,255,255,.012); }
.ticker-track { display: flex; align-items: center; justify-content: space-around; gap: 33px; width: max-content; min-width: 200%; color: #9ba2ba; font-size: 9px; font-weight: 700; letter-spacing: .21em; animation: marquee 42s linear infinite; }
.ticker-track b { color: var(--violet); font-size: 14px; text-shadow: 0 0 10px rgba(168,154,255,.7); }

/* Home directory and About page jump rail */
.home-discovery { position: relative; z-index: 2; margin-top: 8px; margin-bottom: clamp(52px, 8vw, 100px); padding: clamp(23px, 4vw, 42px); overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(135deg, rgba(17,20,32,.74), rgba(9,11,19,.68)); box-shadow: 0 25px 80px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.035); }
.home-discovery::after { content: ""; position: absolute; right: -130px; top: -165px; width: 410px; height: 410px; border-radius: 50%; background: radial-gradient(circle, rgba(168,154,255,.11), transparent 70%); pointer-events: none; }
.home-discovery-heading { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.6fr); align-items: end; gap: 28px; margin-bottom: 23px; }
.home-discovery-heading .section-index { margin: 0 0 10px; }
.home-discovery-heading h2 { margin: 0; color: #eef1ff; font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 590; letter-spacing: -.07em; line-height: .98; }
.home-discovery-heading h2 em { color: transparent; font-style: normal; background: linear-gradient(95deg,var(--cyan),var(--violet) 67%,var(--pink)); background-clip: text; -webkit-background-clip: text; }
.home-discovery-heading > p { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.home-discovery-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.discovery-card { min-width: 0; overflow: hidden; border: 1px solid rgba(201,210,255,.11); border-radius: 14px; background: rgba(6,8,14,.6); transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease; }
.discovery-card:hover { transform: translateY(-4px); border-color: rgba(135,236,255,.31); box-shadow: 0 15px 35px rgba(0,0,0,.25); }
.discovery-visual { position: relative; display: flex; align-items: flex-start; justify-content: space-between; min-height: 102px; padding: 11px; overflow: hidden; color: #e5eaff; background-position: center; background-size: cover; isolation: isolate; }
.discovery-visual::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(8,9,16,.56),rgba(8,9,16,.16)),linear-gradient(0deg,rgba(8,9,16,.78),transparent 70%); }
.discovery-visual > span { color: #e1e5f5; font-family: ui-monospace,monospace; font-size: 7px; font-weight: 700; letter-spacing: .1em; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.discovery-visual > b { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(225,234,255,.32); border-radius: 8px; color: var(--cyan); background: rgba(8,9,16,.42); font-size: 13px; transition: transform .25s ease; }
.discovery-card:hover .discovery-visual > b { transform: translate(2px,-2px); }
.discovery-about .discovery-visual { background-image: url("/assets/sections/about-bg.jpg"); }
.discovery-projects .discovery-visual { background-image: url("/assets/project-keyflow.jpg"); }
.discovery-interests .discovery-visual { background-image: url("/assets/sections/music-bg.jpg"); }
.discovery-contact .discovery-visual { background-image: url("/assets/sections/contact-bg.jpg"); }
.discovery-copy { display: grid; gap: 3px; padding: 11px 12px 13px; }
.discovery-copy strong { color: #e9edfb; font-size: 11px; font-weight: 680; }
.discovery-copy small { color: var(--quiet); font-size: 8px; line-height: 1.55; }
.page-jump { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 17px; padding-bottom: 0; }
.page-jump-heading { display: grid; gap: 3px; flex: 0 0 auto; }
.page-jump-heading > span { color: var(--quiet); font-family: ui-monospace,monospace; font-size: 7px; font-weight: 750; letter-spacing: .14em; }
.page-jump-heading strong { color: #e6e9f6; font-size: 11px; font-weight: 650; }
.page-jump-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.page-jump-links a { min-height: 31px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: #aeb5cb; background: rgba(255,255,255,.022); font-size: 8px; font-weight: 650; transition: color .2s ease,border-color .2s ease,background .2s ease; }
.page-jump-links a:hover { border-color: rgba(135,236,255,.31); color: var(--cyan); background: rgba(135,236,255,.06); }

/* Shared section treatment */
.section { position: relative; z-index: 2; padding-top: clamp(88px, 10vw, 139px); padding-bottom: clamp(78px, 8.5vw, 116px); }
.section-heading { margin-bottom: 43px; }
.section-index { margin: 0 0 18px; color: var(--quiet); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.section-index > span:first-child { color: var(--cyan); }
.heading-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, .65fr); align-items: end; gap: 44px; }
.heading-row h2 { margin: 0; color: #f0f2ff; font-size: clamp(2.5rem, 5.6vw, 5.15rem); font-weight: 580; letter-spacing: -.075em; line-height: .98; }
.heading-row h2 em { color: transparent; font-style: normal; background: linear-gradient(95deg, var(--cyan), #c2afff 65%, var(--pink)); background-clip: text; -webkit-background-clip: text; }
.heading-row > p { max-width: 420px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.glass-card { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(20,24,39,.8), rgba(12,14,23,.74)); box-shadow: 0 22px 65px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(9px); }

/* Profile */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 18px; }
.about-card { position: relative; min-height: 360px; padding: clamp(25px, 4vw, 43px); overflow: hidden; background-image: linear-gradient(105deg, rgba(10,12,20,.9), rgba(10,12,20,.64)), url("/assets/sections/about-bg.jpg"); background-size: cover; background-position: center; }
.about-card::after { content: "Y"; position: absolute; right: 12px; bottom: -125px; color: rgba(135,236,255,.028); font-size: 370px; font-weight: 800; line-height: 1; pointer-events: none; }
.card-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: #b6bdd5; font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.card-eyebrow .live-dot { width: 6px; height: 6px; flex-basis: 6px; }
.about-copy { position: relative; z-index: 1; max-width: 650px; margin: 29px 0 0; color: #d9dced; font-size: clamp(16px, 1.75vw, 21px); line-height: 1.7; letter-spacing: -.025em; }
.about-copy strong { color: var(--cyan); font-weight: 650; }
.secondary-copy { max-width: 580px; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about-bottom { position: absolute; right: 31px; bottom: 26px; left: 31px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 13px; border-top: 1px solid var(--line); }
.signature { color: var(--violet); font-family: Georgia, serif; font-size: 18px; font-style: italic; }
.about-location { display: flex; align-items: center; gap: 7px; color: var(--quiet); font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.about-location:first-letter { color: var(--pink); }
.identity-card { padding: 23px 25px 21px; }
.identity-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.micro-label { color: var(--quiet); font-size: 7px; font-weight: 800; letter-spacing: .19em; }
.identity-top h3 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.05em; }
.identity-top h3 span { margin-left: 5px; color: var(--quiet); font-size: 10px; font-weight: 450; letter-spacing: .04em; }
.identity-stamp { display: grid; width: 43px; height: 43px; place-content: center; border: 1px solid rgba(168,154,255,.26); border-radius: 13px; color: var(--violet); background: rgba(168,154,255,.06); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; line-height: 1.1; text-align: center; }
.identity-list { margin: 10px 0 0; }
.identity-list > div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(206,214,255,.06); }
.identity-list dt { color: var(--quiet); font-size: 9px; }
.identity-list dd { min-width: 0; margin: 0; color: #e4e7f3; font-size: 10px; font-weight: 560; overflow-wrap: anywhere; }
.identity-list dd a { transition: color .2s ease; }
.identity-list dd a:hover { color: var(--cyan); }
.language-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.language-row > div { display: flex; gap: 5px; }
.language-row > div span { display: grid; width: 26px; height: 20px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--cyan); font-family: ui-monospace, monospace; font-size: 8px; }
.language-note { margin: 8px 0 0; color: var(--muted); font-size: 9px; }
.badge-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }
.badge-caption { color: var(--quiet); font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.badge-list { display: flex; flex: 1 1 500px; flex-wrap: wrap; gap: 7px; }
.badge-list span { padding: 5px 8px; border: 1px solid rgba(168,154,255,.16); border-radius: 20px; color: #c9c5eb; background: rgba(168,154,255,.045); font-size: 8px; }
.text-link { color: var(--cyan); font-size: 9px; font-weight: 750; white-space: nowrap; }
.text-link:hover { color: white; }

/* Focus cards */
.section-focus { padding-top: 72px; }
.focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.focus-card { position: relative; min-height: 245px; padding: 22px 20px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(20,24,39,.69), rgba(10,12,20,.74)); transition: transform .35s var(--ease), border-color .35s ease, background .35s ease; }
.focus-card:hover { transform: translateY(-7px); border-color: rgba(135,236,255,.28); background: linear-gradient(145deg, rgba(26,34,51,.86), rgba(12,15,26,.84)); }
.focus-card::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(135,236,255,.09), transparent 68%); transition: transform .5s ease; }
.focus-card:hover::after { transform: scale(1.5); }
.focus-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.focus-number { color: var(--quiet); font-family: ui-monospace, monospace; font-size: 9px; }
.focus-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(135,236,255,.2); border-radius: 11px; color: var(--cyan); background: rgba(135,236,255,.06); font-size: 17px; text-shadow: 0 0 14px rgba(135,236,255,.7); }
.focus-card h3 { margin: 24px 0 9px; font-size: 15px; font-weight: 650; letter-spacing: -.025em; }
.focus-card p { min-height: 70px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.focus-proof { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--cyan); font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .04em; }
.focus-proof::before { content: "↗"; color: var(--pink); }
.focus-note { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 14px 18px; border: 1px solid rgba(255,155,215,.14); border-radius: 13px; background: linear-gradient(90deg, rgba(255,155,215,.045), rgba(168,154,255,.025), transparent); }
.focus-note-icon { color: var(--pink); font-size: 18px; text-shadow: 0 0 14px rgba(255,155,215,.7); }
.focus-note p { display: grid; flex: 1; gap: 2px; margin: 0; }
.focus-note strong { font-size: 10px; }
.focus-note p span { color: var(--muted); font-size: 9px; }
.focus-note-code { color: var(--quiet); font-family: ui-monospace, monospace; font-size: 7px; letter-spacing: .12em; }

/* Projects */
.section-projects { overflow: visible; }
.project-tools { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin: 0 0 15px; }
.filter-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter-button { min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; color: #949ab0; background: transparent; font-size: 9px; font-weight: 650; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.filter-button.is-active { border-color: rgba(135,236,255,.2); color: var(--cyan); background: rgba(135,236,255,.07); box-shadow: inset 0 0 18px rgba(135,236,255,.025); }
.project-search { display: flex; align-items: center; gap: 8px; width: min(240px, 32vw); height: 37px; padding: 0 9px 0 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--quiet); background: rgba(255,255,255,.018); }
.project-search > span { color: var(--cyan); font-size: 18px; line-height: 1; }
.project-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 9px; }
.project-search input::placeholder { color: var(--quiet); }
.project-search kbd { padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; color: #878da5; background: rgba(255,255,255,.025); font-family: ui-monospace, monospace; font-size: 8px; }
.projects-status { display: flex; justify-content: space-between; gap: 14px; margin: 0 1px 13px; color: var(--quiet); font-size: 8px; }
#project-count { color: #aab1c8; font-family: ui-monospace, monospace; }
.projects-hint { text-align: right; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.project-card { --rx: 0deg; --ry: 0deg; position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(19,22,34,.92), rgba(11,13,22,.96)); box-shadow: 0 14px 40px rgba(0,0,0,.14); transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .32s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.project-card:hover { border-color: rgba(135,236,255,.29); box-shadow: 0 22px 55px rgba(0,0,0,.3), 0 0 35px rgba(103,107,221,.08); }
.project-card[hidden] { display: none !important; }
.project-image { position: relative; height: 184px; overflow: hidden; background: #141827; }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,16,.02) 30%, rgba(7,9,16,.58) 100%), linear-gradient(120deg, rgba(135,236,255,.06), transparent 48%, rgba(168,154,255,.09)); pointer-events: none; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s ease; filter: saturate(.83) contrast(1.02); }
.project-card:hover .project-image img { transform: scale(1.055); filter: saturate(1.04) contrast(1.04); }
.project-image-top { position: absolute; z-index: 1; top: 11px; right: 11px; left: 11px; display: flex; align-items: center; justify-content: space-between; }
.project-category, .project-year { padding: 5px 8px; border: 1px solid rgba(224,230,255,.17); border-radius: 7px; color: #e3e6f3; background: rgba(8,10,17,.68); backdrop-filter: blur(6px); font-size: 7px; font-weight: 750; letter-spacing: .08em; }
.project-category { color: var(--cyan); }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 16px; }
.project-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.project-title-row h3 { margin: 0; font-size: 17px; font-weight: 690; letter-spacing: -.04em; }
.project-glyph { color: var(--violet); font-size: 14px; text-shadow: 0 0 12px rgba(168,154,255,.65); }
.project-summary { min-height: 52px; margin: 7px 0 12px; color: #b7bdd1; font-size: 11px; line-height: 1.7; }
.project-highlights { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.project-highlights li { position: relative; padding-left: 13px; color: #9da5bb; font-size: 10px; line-height: 1.65; }
.project-highlights li::before { content: ""; position: absolute; top: .62em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px rgba(135,236,255,.6); }
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.project-tags span { padding: 4px 6px; border: 1px solid rgba(201,210,255,.08); border-radius: 5px; color: #9fa6bd; background: rgba(255,255,255,.024); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; line-height: 1; }
.project-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 15px; }
.project-link { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; color: #c7cee0; font-size: 9px; font-weight: 700; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.project-link:hover { border-color: rgba(135,236,255,.3); color: var(--cyan); background: rgba(135,236,255,.05); }
.project-link .link-arrow { color: var(--violet); font-size: 10px; }
.project-empty { padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: 15px; color: var(--muted); text-align: center; }
.project-empty[hidden] { display: none; }
.project-empty > span { color: var(--pink); font-size: 23px; }
.project-empty p { margin: 7px 0 0; font-size: 11px; }
.repo-archive { margin-top: 19px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); overflow: hidden; }
.repo-archive summary { display: flex; align-items: center; gap: 12px; padding: 15px 17px; cursor: pointer; list-style: none; }
.repo-archive summary::-webkit-details-marker { display: none; }
.archive-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(168,154,255,.22); border-radius: 9px; color: var(--violet); background: rgba(168,154,255,.06); }
.repo-archive summary > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.repo-archive summary strong { font-size: 10px; }
.repo-archive summary small { color: var(--quiet); font-size: 8px; }
.archive-chevron { color: var(--cyan); transition: transform .25s ease; }
.repo-archive[open] .archive-chevron { transform: rotate(45deg); }
.repo-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; padding: 2px 17px 15px; }
.repo-chip { display: flex; justify-content: space-between; gap: 8px; padding: 8px 9px; border: 1px solid rgba(201,210,255,.07); border-radius: 8px; background: rgba(255,255,255,.018); transition: border-color .2s ease, background .2s ease; }
.repo-chip:hover { border-color: rgba(135,236,255,.23); background: rgba(135,236,255,.035); }
.repo-chip strong { color: #d6daea; font-family: ui-monospace, monospace; font-size: 8px; }
.repo-chip small { color: var(--quiet); font-size: 7px; text-align: right; }
.archive-all { display: flex; align-items: center; justify-content: space-between; margin: 0 17px 15px; padding: 11px 12px; border: 1px solid rgba(135,236,255,.13); border-radius: 9px; color: var(--cyan); background: rgba(135,236,255,.035); font-size: 9px; font-weight: 700; }
.archive-all:hover { border-color: rgba(135,236,255,.36); }

/* Skills */
.section-skills { overflow: hidden; }
.skills-layout { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(35px, 8vw, 106px); }
.skills-orbit { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, rgba(135,236,255,.04), transparent 66%); }
.skill-orbit-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(170,179,239,.14); border-radius: 50%; transform: translate(-50%,-50%); }
.ring-a { width: 42%; aspect-ratio: 1; border-color: rgba(135,236,255,.28); box-shadow: inset 0 0 30px rgba(135,236,255,.035), 0 0 35px rgba(135,236,255,.04); }
.ring-b { width: 67%; aspect-ratio: 1; border-style: dashed; animation: spin 46s linear infinite; }
.ring-c { width: 92%; aspect-ratio: 1; border-color: rgba(168,154,255,.12); animation: orbit-reverse 62s linear infinite; }
.skill-core { position: absolute; top: 50%; left: 50%; display: grid; width: 28%; aspect-ratio: 1; place-content: center; border: 1px solid rgba(135,236,255,.42); border-radius: 36%; color: #eaf9ff; background: linear-gradient(145deg, rgba(135,236,255,.16), rgba(168,154,255,.12)); box-shadow: 0 0 45px rgba(135,236,255,.12), inset 0 0 24px rgba(135,236,255,.11); font-size: clamp(22px, 4vw, 36px); font-weight: 800; letter-spacing: -.1em; transform: translate(-50%,-50%) rotate(-8deg); }
.skill-core span { position: absolute; top: 5px; right: 6px; color: var(--amber); font-size: 12px; }
.orbit-label { position: absolute; z-index: 1; display: grid; min-width: 42px; height: 25px; place-items: center; padding: 0 7px; border: 1px solid rgba(209,219,255,.16); border-radius: 8px; color: #c5c9dd; background: rgba(13,16,27,.85); box-shadow: 0 5px 18px rgba(0,0,0,.2); font-family: ui-monospace, monospace; font-size: 8px; font-weight: 750; letter-spacing: .04em; }
.label-react { top: 12%; left: 53%; color: #b6f3ff; }
.label-dotnet { right: 4%; top: 47%; color: #d2c3ff; }
.label-midi { bottom: 16%; left: 19%; color: #ffd6a3; }
.label-ai { top: 32%; left: 4%; color: #ffb8dc; }
.label-db { right: 25%; bottom: 3%; color: #c1f4d9; }
.skill-groups { display: grid; gap: 8px; }
.skill-group { padding: 15px 16px 13px; border: 1px solid rgba(201,210,255,.095); border-radius: 13px; background: rgba(255,255,255,.018); transition: border-color .25s ease, background .25s ease; }
.skill-group:hover { border-color: rgba(168,154,255,.24); background: rgba(168,154,255,.035); }
.skill-group-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.skill-group h3 { margin: 0; color: #e3e6f3; font-size: 11px; font-weight: 680; }
.skill-group p { margin: 3px 0 0; color: var(--quiet); font-size: 9px; }
.skill-group-number { color: var(--violet); font-family: ui-monospace, monospace; font-size: 8px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-tag { padding: 4px 7px; border: 1px solid rgba(201,210,255,.09); border-radius: 6px; color: #aab1c7; background: rgba(255,255,255,.02); font-size: 9px; transition: color .2s ease, border-color .2s ease; }
.skill-tag:hover { border-color: rgba(135,236,255,.26); color: var(--cyan); }
.skill-disclaimer { margin: 20px 0 0 auto; color: var(--quiet); font-size: 8px; text-align: right; }

/* Journey */
.section-journey { overflow: hidden; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; padding-top: 27px; }
.timeline::before { content: ""; position: absolute; top: 10px; right: 4%; left: 4%; height: 1px; background: linear-gradient(90deg, transparent, rgba(135,236,255,.28), rgba(168,154,255,.32), rgba(255,155,215,.24), transparent); }
.timeline-item { position: relative; padding: 19px 19px 0 0; }
.timeline-dot { position: absolute; top: -22px; left: 0; width: 10px; height: 10px; border: 2px solid var(--bg); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px rgba(135,236,255,.54), 0 0 14px rgba(135,236,255,.62); }
.timeline-item:nth-child(2) .timeline-dot { background: var(--violet); box-shadow: 0 0 0 1px rgba(168,154,255,.54), 0 0 14px rgba(168,154,255,.62); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--pink); box-shadow: 0 0 0 1px rgba(255,155,215,.54), 0 0 14px rgba(255,155,215,.62); }
.timeline-item:nth-child(4) .timeline-dot { background: var(--amber); box-shadow: 0 0 0 1px rgba(255,211,155,.54), 0 0 14px rgba(255,211,155,.62); }
.timeline-period { color: var(--cyan); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 700; letter-spacing: .07em; }
.timeline-item h3 { margin: 11px 0 7px; color: #e6e9f6; font-size: 13px; font-weight: 660; line-height: 1.45; }
.timeline-eyebrow { color: var(--quiet); font-size: 8px; }
.timeline-item p { min-height: 92px; margin: 9px 0 12px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.timeline-tags span { padding: 4px 6px; border: 1px solid rgba(201,210,255,.08); border-radius: 5px; color: #8f97ad; font-family: ui-monospace, monospace; font-size: 7px; }
.education-note { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border: 1px solid rgba(168,154,255,.17); border-radius: 14px; background: linear-gradient(90deg, rgba(168,154,255,.06), rgba(135,236,255,.025), transparent); }
.education-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid rgba(168,154,255,.26); border-radius: 12px; color: var(--violet); font-size: 18px; }
.education-note > div { flex: 1; }
.education-note strong { font-size: 10px; }
.education-note p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.education-period { color: var(--quiet); font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .12em; white-space: nowrap; }

/* The human behind the work */
.section-human { padding-bottom: 120px; }
.interests-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.interest-card { min-width: 0; min-height: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(19,22,36,.78), rgba(10,12,20,.86)); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.interest-card:hover { transform: translateY(-4px); border-color: rgba(255,155,215,.25); box-shadow: 0 14px 36px rgba(0,0,0,.2); }
.interest-top { display: flex; align-items: center; justify-content: space-between; }
.interest-icon { color: var(--pink); font-size: 18px; text-shadow: 0 0 13px rgba(255,155,215,.55); }
.interest-index { color: var(--quiet); font-family: ui-monospace, monospace; font-size: 8px; }
.interest-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 4px; height: 132px; margin-top: 10px; overflow: hidden; border-radius: 10px; }
.interest-gallery[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 132px; }
.interest-gallery[data-count="5"] { grid-template-columns: repeat(5,minmax(0,1fr)); grid-template-rows: 1fr; height: 92px; }
.interest-art { position: relative; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid rgba(220,226,255,.08); border-radius: 7px; background: #111521; }
.interest-art::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(6,8,14,.16)); pointer-events: none; }
.interest-art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.02); transition: transform .45s var(--ease),filter .35s ease; }
.interest-card:hover .interest-art img { transform: scale(1.045); filter: saturate(.97) contrast(1.03); }
.interest-card h3 { margin: 12px 0 9px; font-size: 12px; font-weight: 680; }
.interest-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.interest-chips span { padding: 4px 6px; border: 1px solid rgba(201,210,255,.075); border-radius: 5px; color: #a4abc1; background: rgba(255,255,255,.018); font-size: 8px; line-height: 1.25; }
.interest-source-note { margin: 18px 2px 0; color: var(--quiet); font-size: 8px; line-height: 1.6; }
.interest-source-note a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(135,236,255,.3); text-underline-offset: 2px; }
.interest-source-note a:hover { color: white; }
.interest-footnote { margin: 7px 2px 0; color: var(--quiet); font-size: 8px; letter-spacing: .02em; }
.interest-footnote::first-letter { color: var(--pink); }
.mini-piano-card { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; margin-top: 17px; padding: clamp(22px, 4vw, 35px); overflow: hidden; }
.piano-copy h3 { margin: 16px 0 10px; color: #f0f2fd; font-size: clamp(23px,3vw,33px); font-weight: 610; letter-spacing: -.065em; line-height: 1.1; }
.piano-copy h3 em { color: transparent; font-style: normal; background: linear-gradient(90deg,var(--cyan),var(--violet),var(--pink)); background-clip: text; -webkit-background-clip: text; }
.piano-copy > p:not(.card-eyebrow) { max-width: 300px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.piano-shortcuts { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--quiet); font-family: ui-monospace, monospace; font-size: 8px; }
.piano-shortcuts span { padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; color: #bec5dc; background: rgba(255,255,255,.025); }
.piano-shortcuts i { color: var(--pink); font-style: normal; }
.piano-note { min-height: 15px; margin-top: 17px; color: var(--cyan); font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .08em; }
.piano-console { align-self: center; padding: 15px 15px 11px; border: 1px solid rgba(201,210,255,.13); border-radius: 15px; background: rgba(5,7,13,.57); box-shadow: inset 0 0 40px rgba(135,236,255,.025), 0 12px 35px rgba(0,0,0,.24); }
.piano-console-top, .piano-console-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--quiet); font-family: ui-monospace, monospace; font-size: 7px; letter-spacing: .1em; }
.piano-console-top > span:first-child { color: #abb3cc; }
#audio-state { display: inline-flex; align-items: center; gap: 6px; }
#audio-state i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #6c7284; }
#audio-state.is-active { color: var(--green); }
#audio-state.is-active i { background: var(--green); box-shadow: 0 0 9px var(--green); }
.equalizer { display: flex; align-items: end; justify-content: center; gap: 4px; height: 44px; margin: 15px 0 12px; padding: 0 10px; border-bottom: 1px solid rgba(201,210,255,.1); }
.equalizer span { width: 4px; height: 34px; border-radius: 5px 5px 1px 1px; background: linear-gradient(to top, var(--violet), var(--cyan)); opacity: .5; box-shadow: 0 0 8px rgba(135,236,255,.18); transform: scaleY(.12); transform-origin: bottom; transition: transform .14s ease, opacity .14s ease; }
.equalizer.is-playing span { animation: equalize .48s ease-in-out infinite alternate; opacity: .9; will-change: transform; }
.equalizer.is-playing span:nth-child(3n) { animation-delay: -.32s; }
.equalizer.is-playing span:nth-child(4n) { animation-delay: -.18s; }
.equalizer.is-playing span:nth-child(5n) { animation-delay: -.4s; }
.piano-keyboard { position: relative; display: flex; height: 142px; overflow: hidden; border: 1px solid #515568; border-radius: 7px; background: #07090f; box-shadow: 0 9px 22px rgba(0,0,0,.38); touch-action: none; user-select: none; }
.piano-key { position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 9px; border: 0; cursor: pointer; transition: background .08s ease, box-shadow .08s ease, transform .08s ease; }
.piano-key.white { z-index: 1; width: 12.5%; border-right: 1px solid #aeb4c5; border-radius: 0 0 3px 3px; color: #687086; background: linear-gradient(180deg,#f1f2fa,#c4c8d5); box-shadow: inset 0 -7px 7px rgba(35,42,59,.1); }
.piano-key.white[data-midi="72"] { border-right: 0; }
.piano-key.white:hover, .piano-key.white.is-pressed { color: #266a7e; background: linear-gradient(180deg,#ecfdff,#9deeff); box-shadow: inset 0 -8px 8px rgba(37,121,148,.22), 0 0 22px rgba(135,236,255,.3); }
.piano-key.black { position: absolute; z-index: 2; top: 0; width: 7.2%; height: 62%; border: 1px solid #05060a; border-radius: 0 0 5px 5px; color: #a9afc4; background: linear-gradient(180deg,#252a39,#080a10 82%); box-shadow: 0 5px 8px rgba(0,0,0,.7), inset 0 -5px 6px rgba(255,255,255,.035); }
.piano-key.black[data-position="one"] { left: 9.0%; }
.piano-key.black[data-position="two"] { left: 21.5%; }
.piano-key.black[data-position="three"] { left: 46.5%; }
.piano-key.black[data-position="four"] { left: 59.0%; }
.piano-key.black[data-position="five"] { left: 71.5%; }
.piano-key.black:hover, .piano-key.black.is-pressed { color: var(--cyan); background: linear-gradient(180deg,#4e6380,#101927 82%); box-shadow: 0 0 18px rgba(135,236,255,.34), inset 0 -4px 8px rgba(135,236,255,.11); }
.piano-key kbd { color: inherit; font-family: ui-monospace, monospace; font-size: 7px; opacity: .78; }
.piano-console-bottom { margin-top: 10px; }
.piano-console-bottom b { color: var(--cyan); font-weight: 500; }

/* Contact */
.section-contact { position: relative; overflow: hidden; padding-bottom: 110px; }
.section-contact::before { content: ""; position: absolute; inset: 2% 0; border: 1px solid rgba(201,210,255,.05); border-radius: 24px; background: linear-gradient(100deg,rgba(8,9,16,.94),rgba(8,9,16,.74)),url("/assets/sections/contact-bg.jpg") center / cover no-repeat; opacity: .54; mask-image: linear-gradient(180deg,transparent,#000 12%,#000 86%,transparent); pointer-events: none; }
.contact-orb { position: absolute; top: 6%; right: -18%; width: 580px; height: 580px; border-radius: 50%; background: radial-gradient(circle, rgba(81,108,219,.11), rgba(177,78,190,.045) 43%, transparent 72%); filter: blur(20px); pointer-events: none; }
.section-contact .section-heading, .contact-layout { position: relative; z-index: 1; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 7vw, 82px); align-items: start; }
.contact-channel { padding: 10px 0; }
.contact-email { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: border-color .25s ease; }
.contact-email:hover { border-color: rgba(135,236,255,.32); }
.contact-symbol { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid rgba(135,236,255,.2); border-radius: 12px; color: var(--cyan); background: rgba(135,236,255,.055); font-size: 17px; }
.contact-email > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.contact-email small { color: var(--quiet); font-size: 7px; font-weight: 750; letter-spacing: .15em; }
.contact-email strong { color: #e9ecf8; font-size: 12px; font-weight: 580; overflow-wrap: anywhere; }
.contact-arrow { color: var(--violet); font-size: 16px; transition: transform .2s ease; }
.contact-email:hover .contact-arrow { transform: translate(2px,-2px); }
.social-heading { display: flex; justify-content: space-between; margin: 28px 0 12px; color: var(--quiet); font-size: 8px; font-weight: 750; letter-spacing: .14em; }
.social-heading span:last-child { color: var(--pink); }
.social-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.social-card { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 10px; border: 1px solid rgba(201,210,255,.08); border-radius: 9px; background: rgba(255,255,255,.018); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.social-card:hover { transform: translateY(-2px); border-color: rgba(168,154,255,.26); background: rgba(168,154,255,.045); }
.social-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid rgba(135,236,255,.16); border-radius: 8px; color: var(--cyan); background: rgba(135,236,255,.055); font-family: ui-monospace, monospace; font-size: 8px; font-weight: 750; }
.social-icon img { display: block; width: 16px; height: 16px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(135,236,255,.28)); }
.social-card span:last-child { display: grid; min-width: 0; }
.social-card strong { color: #d8dced; font-size: 8px; }
.social-card small { color: var(--quiet); font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-location { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--quiet); font-size: 8px; }
.location-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.contact-form { padding: clamp(20px, 3vw, 30px); }
.form-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-top .card-eyebrow { color: var(--cyan); }
.api-indicator.is-online { background: var(--green); box-shadow: 0 0 10px rgba(141,240,197,.85); }
.api-indicator.is-offline { background: #ff9caf; box-shadow: 0 0 10px rgba(255,156,175,.8); animation: none; }
.role-line #role-rotator { transition: opacity .18s ease, transform .18s ease; }
.role-line #role-rotator.is-changing { opacity: .18; transform: translateY(-4px); }
.form-top h3 { margin: 8px 0 0; font-size: 20px; font-weight: 640; letter-spacing: -.05em; }
.form-lock { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgba(141,240,197,.16); border-radius: 6px; color: var(--green); font-family: ui-monospace, monospace; font-size: 6px; letter-spacing: .1em; white-space: nowrap; }
.form-intro { margin: 12px 0 17px; color: var(--muted); font-size: 9px; }
.contact-form label { display: grid; gap: 6px; margin: 0 0 12px; color: #c7ccdc; font-size: 8px; font-weight: 650; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; border: 1px solid rgba(201,210,255,.13); border-radius: 9px; outline: none; color: #e9ebf7; background: rgba(6,8,14,.51); font-size: 10px; font-weight: 450; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form input, .contact-form select { height: 39px; padding: 0 11px; }
.contact-form textarea { min-height: 92px; resize: vertical; padding: 10px 11px; line-height: 1.65; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #676f85; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(135,236,255,.5); background: rgba(9,12,21,.9); box-shadow: 0 0 0 3px rgba(135,236,255,.06), 0 0 20px rgba(135,236,255,.04); }
.contact-form [aria-invalid="true"] { border-color: rgba(255,133,157,.65); box-shadow: 0 0 0 3px rgba(255,133,157,.06); }
.contact-form select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#8891ac 50%),linear-gradient(135deg,#8891ac 50%,transparent 50%); background-position: calc(100% - 15px) 16px,calc(100% - 11px) 16px; background-size: 4px 4px,4px 4px; background-repeat: no-repeat; }
.contact-form select option { color: var(--text); background: #111420; }
.field-error { min-height: 0; color: #ff9caf; font-size: 8px; font-weight: 500; }
.field-error:empty { display: none; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 1px; }
.privacy-note { display: inline-flex; align-items: center; gap: 6px; max-width: 200px; color: var(--quiet); font-size: 7px; line-height: 1.55; }
.privacy-note > span:first-child { color: var(--green); font-size: 13px; }
.submit-button { min-height: 40px; padding: 0 10px 0 13px; gap: 10px; font-size: 9px; }
.submit-button .button-arrow { width: 22px; height: 22px; font-size: 12px; }
.submit-button:disabled { cursor: wait; filter: saturate(.65); transform: none; }
.form-status { min-height: 13px; margin: 10px 0 0; color: var(--muted); font-size: 8px; }
.form-status.success { color: var(--green); }
.form-status.error { color: #ff9caf; }

/* Footer & floating controls */
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 30px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 11px; }
.footer-brand .brand-copy strong { font-size: 9px; }
.footer-brand .brand-copy small { font-size: 7px; }
.site-footer > p { margin: 0; color: var(--quiet); font-size: 9px; text-align: center; }
.back-top { display: inline-flex; align-items: center; gap: 9px; color: #aab1c7; font-size: 7px; font-weight: 750; letter-spacing: .12em; }
.back-top b { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--cyan); font-size: 13px; transition: transform .2s ease, border-color .2s ease; }
.back-top:hover b { transform: translateY(-2px); border-color: rgba(135,236,255,.4); }
.copyright { grid-column: 1 / -1; color: #555d74; font-size: 7px; letter-spacing: .1em; text-align: center; }
.back-to-top { position: fixed; z-index: 10; left: max(22px, env(safe-area-inset-left, 0px)); right: auto; bottom: max(20px, env(safe-area-inset-bottom, 0px)); display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(135,236,255,.3); border-radius: 13px; color: var(--cyan); background: rgba(10,13,22,.9); box-shadow: 0 10px 28px rgba(0,0,0,.35); font-size: 17px; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, background .2s ease; backdrop-filter: blur(8px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: rgba(135,236,255,.12); }

/* Orbit Radio · compact, collapsible local playlist */
.orbit-player { position: fixed; z-index: 18; right: max(22px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); left: auto; width: min(252px, calc(100vw - 44px)); pointer-events: none; transform-origin: bottom right; transition: width .22s var(--ease); }
.orbit-player[data-expanded="true"] { width: min(390px, calc(100vw - 44px)); }
.orbit-player__card { display: grid; gap: 0; padding: 8px 10px; border: 1px solid rgba(135,236,255,.22); border-radius: 16px; color: var(--text); background: linear-gradient(145deg, rgba(15,20,34,.96), rgba(10,12,22,.96)); box-shadow: 0 14px 38px rgba(0,0,0,.4), 0 0 24px rgba(135,236,255,.065), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(12px) saturate(140%); pointer-events: auto; }
.orbit-player__mini { display: grid; grid-template-columns: 36px minmax(0,1fr) 30px 24px; align-items: center; gap: 7px; min-width: 0; min-height: 38px; }
.orbit-player__cover { position: relative; display: grid; width: 36px; height: 36px; place-items: center; overflow: hidden; border: 1px solid rgba(135,236,255,.28); border-radius: 10px; color: var(--cyan); background: radial-gradient(circle at 70% 25%, rgba(255,155,215,.25), transparent 46%), linear-gradient(145deg, #16243b, #11111e 70%); }
.orbit-player__cover::after { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(145deg, rgba(8,9,16,.04), rgba(8,9,16,.37)); content: ""; }
.orbit-player__cover > span { position: relative; z-index: 1; font-size: 20px; line-height: 1; text-shadow: 0 0 12px rgba(135,236,255,.78); }
.orbit-player__cover i { position: absolute; z-index: 1; top: 2px; right: 4px; color: var(--amber); font-size: 7px; font-style: normal; }
.orbit-player[data-playing="true"] .orbit-player__cover > span { animation: orbit-audio-pulse 1.4s ease-in-out infinite; }
.orbit-player__track { display: grid; min-width: 0; gap: 2px; }
.orbit-player__track strong, .orbit-player__track small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orbit-player__track strong { color: #f3f5ff; font-size: 9px; font-weight: 720; }
.orbit-player__track small { color: var(--quiet); font-size: 7px; }
.orbit-player__toggle { display: grid; width: 30px; height: 30px; place-items: center; padding: 0 0 0 2px; border: 1px solid rgba(135,236,255,.38); border-radius: 50%; color: var(--cyan); background: rgba(135,236,255,.09); box-shadow: 0 0 15px rgba(135,236,255,.08); font-size: 10px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.orbit-player__toggle:hover:not(:disabled) { color: #080910; border-color: var(--cyan); background: var(--cyan); transform: scale(1.04); }
.orbit-player__toggle[aria-pressed="true"] { padding-left: 0; color: var(--pink); border-color: rgba(255,155,215,.45); background: rgba(255,155,215,.08); }
.orbit-player[data-sound="off"] .orbit-player__cover i { opacity: 1; color: #ffe6a3; text-shadow: 0 0 10px rgba(255,214,130,.75); }
.orbit-player[data-sound="off"] .orbit-player__toggle { color: #ffe6a3; border-color: rgba(255,230,163,.6); background: rgba(255,214,130,.14); }
.orbit-player[data-sound="off"] .orbit-player__track small { color: #ffe6a3; }
.orbit-player__expand { display: grid; width: 24px; height: 26px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 8px; color: var(--quiet); background: transparent; font-size: 14px; cursor: pointer; transition: color .2s ease, background .2s ease; }
.orbit-player__expand:hover { color: var(--cyan); background: rgba(135,236,255,.08); }
.orbit-player__expanded { display: grid; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.orbit-player__expanded[hidden] { display: none !important; }
.orbit-player__progress { display: grid; grid-template-columns: 30px minmax(0,1fr) 34px; align-items: center; gap: 8px; }
.orbit-player__time { color: #99a4bc; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-variant-numeric: tabular-nums; }
.orbit-player__time:last-child { text-align: right; }
.orbit-player__seek, .orbit-player__volume input { width: 100%; margin: 0; accent-color: var(--cyan); cursor: pointer; }
.orbit-player__seek { height: 13px; }
.orbit-player__seek:disabled { opacity: .5; cursor: default; }
.orbit-player__actions { display: grid; grid-template-columns: 26px 26px 28px minmax(80px,1fr); align-items: center; gap: 6px; }
.orbit-player__step, .orbit-player__playlist-toggle { display: grid; width: 26px; height: 26px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 14px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.orbit-player__step:hover:not(:disabled), .orbit-player__playlist-toggle:hover:not(:disabled), .orbit-player__playlist-toggle[aria-expanded="true"] { color: var(--cyan); border-color: rgba(135,236,255,.4); background: rgba(135,236,255,.08); }
.orbit-player__playlist-toggle { width: 28px; font-size: 12px; }
.orbit-player__volume { display: grid; grid-template-columns: auto minmax(42px,1fr); align-items: center; gap: 6px; color: var(--quiet); font-size: 6px; font-weight: 750; letter-spacing: .06em; }
.orbit-player__volume input { height: 14px; }
.orbit-player__top button:disabled, .orbit-player__actions button:disabled, .orbit-player__volume input:disabled { opacity: .45; cursor: default; }
.orbit-player__playlist { padding-top: 8px; border-top: 1px solid var(--line); }
.orbit-player__playlist[hidden] { display: none !important; }
.orbit-player__playlist-label { margin: 0 0 6px; color: var(--quiet); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.orbit-player__playlist-list { display: grid; gap: 4px; max-height: 124px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.orbit-player__playlist-list li { min-width: 0; }
.orbit-player__track-option { display: grid; grid-template-columns: 25px minmax(0,1fr) 18px; align-items: center; gap: 9px; width: 100%; min-height: 34px; padding: 5px 8px; border: 1px solid transparent; border-radius: 9px; color: var(--text); text-align: left; background: transparent; cursor: pointer; }
.orbit-player__track-option:hover, .orbit-player__track-option.is-active { border-color: rgba(135,236,255,.17); background: rgba(135,236,255,.055); }
.orbit-player__track-number { color: var(--quiet); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.orbit-player__track-description { display: grid; min-width: 0; gap: 1px; }
.orbit-player__track-description strong, .orbit-player__track-description small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orbit-player__track-description strong { font-size: 9px; font-weight: 700; }
.orbit-player__track-description small { color: var(--quiet); font-size: 7px; }
.orbit-player__track-indicator { color: var(--cyan); font-size: 10px; text-align: center; }
.orbit-player__status { margin: 0; color: var(--amber); font-size: 8px; line-height: 1.45; }
.orbit-player__status[hidden] { display: none !important; }
#orbit-audio { display: none; }
@keyframes orbit-audio-pulse { 0%,100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; width: fit-content; max-width: calc(100% - 32px); padding: 10px 15px; border: 1px solid rgba(135,236,255,.26); border-radius: 11px; color: #eaf9ff; background: rgba(12,16,26,.94); box-shadow: 0 12px 35px rgba(0,0,0,.3); font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Motion */
@keyframes pulse-dot { 0%,100% { opacity: .66; } 50% { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit-drift { to { transform: translate(-50%,-50%) rotate(331deg); } }
@keyframes orbit-reverse { to { transform: translate(-50%,-50%) rotate(-327deg); } }
@keyframes star-flash { 0%,100% { opacity: .45; transform: scale(.8) rotate(-12deg); } 50% { opacity: 1; transform: scale(1.12) rotate(12deg); } }
@keyframes wave { from { transform: scaleY(.65); opacity: .65; } to { transform: scaleY(1.15); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes equalize { 0% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }

/* Responsive */
@media (max-width: 1100px) {
  :root { --container: min(100% - 44px, 1020px); }
  .availability-pill { display: none; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(330px,.85fr); min-height: 720px; }
  .hero-art { min-height: 450px; }
  .focus-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .focus-card { min-height: 218px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .interests-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .interest-card { min-height: 150px; }
}
@media (max-width: 860px) {
  :root { --container: min(100% - 36px, 720px); }
  .site-header { min-height: 60px; top: 10px; }
  .primary-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 9px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(9,11,19,.96); box-shadow: 0 15px 45px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 12px; border-radius: 8px; font-size: 11px; }
  .primary-nav a:hover, .primary-nav a.is-active { background: rgba(135,236,255,.055); }
  .primary-nav a::after { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: unset; padding-top: 139px; padding-bottom: 70px; grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); gap: 0; }
  .hero h1 { font-size: clamp(3.8rem, 9.5vw, 6.3rem); }
  .hero-art { height: 460px; min-height: 400px; margin-right: -13px; }
  .float-card { transform: scale(.88); transform-origin: left center; }
  .float-card-bottom { transform-origin: right center; }
  .heading-row { grid-template-columns: 1fr; gap: 17px; }
  .heading-row > p { max-width: 600px; }
  .profile-layout { grid-template-columns: 1fr; }
  .about-card { min-height: 300px; }
  .identity-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
  .identity-top { grid-column: 1 / -1; }
  .identity-list { margin-top: 8px; }
  .identity-list > div { grid-template-columns: 80px 1fr; }
  .language-row, .language-note { grid-column: 2; }
  .language-row { align-self: end; }
  .skills-layout { grid-template-columns: 1fr; gap: 28px; }
  .skills-orbit { width: min(70%, 330px); }
  .skill-groups { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 18px; padding-top: 13px; }
  .timeline::before { top: 4px; bottom: 3px; left: 4px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(135,236,255,.35), rgba(168,154,255,.25), rgba(255,155,215,.14), transparent); }
  .timeline-item { padding: 0 8px 0 22px; }
  .timeline-dot { top: 4px; left: 0; }
  .timeline-item p { min-height: 72px; }
  .mini-piano-card { grid-template-columns: 1fr; }
  .piano-copy > p:not(.card-eyebrow) { max-width: 560px; }
  .contact-layout { grid-template-columns: 1fr; gap: 27px; }
  .contact-channel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .social-heading, .social-grid, .contact-location { grid-column: 1 / -1; }
  .social-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .social-card { flex-direction: column; align-items: flex-start; gap: 6px; }
  .social-card > span:last-child { width: 100%; }
}
@media (max-width: 600px) {
  :root { --container: calc(100% - 34px); }
  html { scroll-padding-top: 82px; }
  .site-header { width: calc(100% - 20px); top: 8px; min-height: 56px; gap: 7px; padding: 6px 7px 6px 10px; border-radius: 15px; }
  .brand { gap: 8px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 11px; font-size: 12px; }
  .brand-copy strong { font-size: 9px; }
  .brand-copy small { font-size: 6px; letter-spacing: .1em; }
  .header-actions { gap: 6px; }
  .language-toggle { width: 31px; height: 32px; border-radius: 9px; font-size: 9px; }
  .header-cv { min-height: 32px; padding: 0 8px; border-radius: 9px; font-size: 7px; letter-spacing: .05em; }
  .menu-toggle { width: 33px; height: 33px; border-radius: 9px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding-top: 130px; padding-bottom: 55px; }
  .hero-copy { padding: 0; }
  .hero-kicker { margin-top: 30px; font-size: 10px; }
  .hero h1 { font-size: clamp(4rem, 19vw, 6.3rem); }
  .role-line { margin-top: 25px; font-size: 12px; }
  .hero-intro { max-width: 460px; font-size: 13px; }
  .hero-actions { margin-top: 23px; gap: 8px; }
  .button { min-height: 44px; padding-inline: 12px; gap: 11px; font-size: 9px; }
  .button-arrow { width: 22px; height: 22px; font-size: 12px; }
  .hero-footline { margin-top: 28px; padding-top: 13px; }
  .hero-signature, .scroll-cue { font-size: 7px; }
  .hero-art { width: min(100%, 440px); height: 380px; min-height: 345px; margin: 12px auto 0; }
  .portrait-frame { width: 59%; }
  .float-card { min-width: 166px; padding: 8px 9px; border-radius: 11px; transform: scale(.82); }
  .float-card-top { top: 15%; left: -3%; transform-origin: left center; }
  .float-card-bottom { right: -2%; bottom: 15%; transform-origin: right center; }
  .art-index { top: 23%; right: 2%; font-size: 6px; }
  .coord-two { right: -1%; }
  .ticker-track { gap: 22px; font-size: 8px; }
  .home-discovery { margin-bottom: 56px; padding: 20px 15px; border-radius: 18px; }
  .home-discovery-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
  .home-discovery-heading h2 { font-size: 2rem; }
  .home-discovery-heading > p { font-size: 10px; }
  .home-discovery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .discovery-visual { min-height: 82px; padding: 8px; }
  .discovery-visual > span { font-size: 6px; letter-spacing: .07em; }
  .discovery-copy { padding: 9px; }
  .discovery-copy strong { font-size: 9px; }
  .discovery-copy small { font-size: 7px; }
  .page-jump { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 19px; }
  .page-jump-links { gap: 5px; }
  .page-jump-links a { min-height: 29px; padding-inline: 8px; font-size: 7px; }
  .section { padding-top: 77px; padding-bottom: 73px; }
  .section-focus { padding-top: 46px; }
  .section-heading { margin-bottom: 29px; }
  .section-index { margin-bottom: 13px; font-size: 8px; }
  .heading-row { gap: 14px; }
  .heading-row h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .heading-row > p { font-size: 11px; }
  .profile-layout { gap: 10px; }
  .about-card { min-height: 325px; padding: 22px 20px; }
  .about-copy { margin-top: 24px; font-size: 16px; }
  .secondary-copy { margin-top: 13px; font-size: 12px; }
  .about-bottom { right: 19px; bottom: 17px; left: 19px; }
  .about-location { font-size: 6px; letter-spacing: .07em; }
  .identity-card { display: block; padding: 18px; }
  .identity-list > div { grid-template-columns: 82px 1fr; }
  .language-row, .language-note { grid-column: auto; }
  .badge-row { gap: 10px; padding: 12px; }
  .badge-list { flex-basis: 100%; }
  .text-link { margin-left: auto; }
  .focus-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .focus-card { min-height: 240px; padding: 15px 13px; border-radius: 13px; }
  .focus-card h3 { margin-top: 18px; font-size: 11px; }
  .focus-card p { min-height: 105px; font-size: 9px; }
  .focus-proof { margin-top: 12px; font-size: 7px; }
  .focus-note { align-items: flex-start; padding: 12px; }
  .focus-note-code { display: none; }
  .focus-note strong { font-size: 9px; }
  .focus-note p span { font-size: 8px; }
  .project-tools { align-items: stretch; flex-direction: column; }
  .filter-list { gap: 4px; }
  .filter-button { min-height: 31px; padding: 0 8px; font-size: 8px; }
  .project-search { width: 100%; }
  .projects-status { font-size: 7px; }
  .project-grid { grid-template-columns: 1fr; gap: 11px; }
  .project-image { height: clamp(170px, 55vw, 250px); }
  .project-body { padding: 15px; }
  .project-summary { min-height: 0; font-size: 10px; }
  .project-highlights li { font-size: 10px; }
  .repo-list { grid-template-columns: 1fr 1fr; padding-inline: 12px; }
  .repo-chip { flex-direction: column; gap: 4px; }
  .repo-chip small { text-align: left; }
  .repo-archive summary { padding: 13px 12px; }
  .repo-archive summary strong { font-size: 9px; }
  .repo-archive summary small { font-size: 7px; }
  .archive-all { margin-inline: 12px; }
  .skills-layout { gap: 20px; }
  .skills-orbit { width: min(82%, 280px); }
  .skill-groups { grid-template-columns: 1fr; gap: 7px; }
  .skill-group { padding: 13px; }
  .skill-disclaimer { font-size: 7px; text-align: left; }
  .timeline { grid-template-columns: 1fr; gap: 25px; }
  .timeline-item { padding-left: 22px; }
  .timeline-item p { min-height: 0; margin: 7px 0 10px; }
  .timeline-item h3 { margin: 5px 0; }
  .education-note { align-items: flex-start; padding: 13px; }
  .education-period { display: none; }
  .education-note strong { font-size: 9px; }
  .education-note p { font-size: 8px; line-height: 1.65; }
  .interests-grid { grid-template-columns: 1fr; gap: 9px; }
  .interest-card { padding: 13px; }
  .interest-gallery { height: 128px; }
  .interest-gallery[data-count="1"] { height: 126px; }
  .interest-gallery[data-count="5"] { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); height: 112px; }
  .interest-card h3 { font-size: 11px; }
  .interest-chips { gap: 4px; }
  .interest-chips span { font-size: 7px; }
  .mini-piano-card { gap: 20px; padding: 19px 15px; }
  .piano-copy h3 { font-size: 28px; }
  .piano-console { padding: 12px 9px 9px; }
  .piano-keyboard { height: 116px; }
  .piano-key kbd { font-size: 6px; }
  .piano-console-top, .piano-console-bottom { font-size: 6px; }
  .contact-channel { display: block; }
  .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .social-card { flex-direction: row; align-items: center; }
  .contact-form { padding: 18px 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .privacy-note { max-width: none; }
  .submit-button { align-self: flex-end; }
  .site-footer { grid-template-columns: 1fr auto; gap: 12px; }
  .site-footer > p { grid-row: 2; grid-column: 1 / -1; text-align: left; }
  .back-top { justify-self: end; }
  .copyright { padding-top: 5px; }
  .back-to-top { left: max(12px, env(safe-area-inset-left, 0px)); right: auto; bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: 36px; height: 36px; }
  .orbit-player { right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); left: auto; width: min(252px, calc(100vw - max(12px, env(safe-area-inset-left, 0px)) - max(12px, env(safe-area-inset-right, 0px)))); }
  .orbit-player[data-expanded="true"] { width: min(390px, calc(100vw - max(12px, env(safe-area-inset-left, 0px)) - max(12px, env(safe-area-inset-right, 0px)))); }
  .orbit-player__card { padding: 7px 8px; border-radius: 14px; }
  .orbit-player__mini { grid-template-columns: 34px minmax(0,1fr) 28px 22px; gap: 6px; min-height: 36px; }
  .orbit-player__cover { width: 34px; height: 34px; border-radius: 9px; }
  .orbit-player__toggle { width: 28px; height: 28px; }
  .orbit-player__expand { width: 22px; }
  .orbit-player__expanded { gap: 7px; margin-top: 7px; padding-top: 7px; }
  .orbit-player__actions { grid-template-columns: 24px 24px 26px minmax(70px,1fr); gap: 5px; }
  .orbit-player__step, .orbit-player__playlist-toggle { width: 24px; height: 24px; }
  .orbit-player__playlist-toggle { width: 26px; }
  .orbit-player__volume { grid-template-columns: auto minmax(35px,1fr); gap: 4px; font-size: 5px; }
  .toast { bottom: 132px; }
}
@media (max-width: 470px) {
  /* The expanded dock spans most of a phone screen; keep the jump button clear. */
  .orbit-player[data-expanded="true"] + .back-to-top { opacity: 0; pointer-events: none; transform: translateY(10px); }
}
@media (max-width: 320px) {
  /* On very narrow screens, stack the jump button above the mini dock. */
  .back-to-top { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 370px) {
  :root { --container: calc(100% - 26px); }
  .brand-copy small { display: none; }
  .header-cv { padding-inline: 6px; }
  .hero h1 { font-size: 3.65rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: space-between; }
  .focus-grid, .interests-grid, .home-discovery-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: unset; }
  .focus-card p { min-height: 0; }
  .interest-card { min-height: unset; }
}
/* Visual polish: keep the cosmic palette while improving contrast and hierarchy. */
body { line-height: 1.7; letter-spacing: -.01em; }
.primary-nav a { font-size: 12px; }
.availability-pill { font-size: 9px; }
.section-heading { margin-bottom: clamp(38px, 4vw, 50px); }
.section-index { font-size: 10px; }
.heading-row { gap: clamp(26px, 4vw, 50px); }
.heading-row > p { font-size: 14px; line-height: 1.8; }
.card-eyebrow { font-size: 9px; }
.focus-card p { font-size: 11px; line-height: 1.8; }
.project-summary { font-size: 12px; line-height: 1.75; }
.social-card strong { font-size: 9px; }
.social-card small { font-size: 8px; }
.form-lock { padding: 6px 8px; font-size: 7px; }
.form-intro { font-size: 11px; line-height: 1.75; }
.contact-form label { gap: 7px; margin-bottom: 14px; font-size: 9px; }
.contact-form input, .contact-form select, .contact-form textarea {
  border-color: rgba(201, 210, 255, .17);
  border-radius: 10px;
  font-size: 12px;
}
.contact-form input, .contact-form select { height: 43px; padding-inline: 12px; }
.contact-form textarea { min-height: 112px; padding: 12px; line-height: 1.7; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8992aa; }
.privacy-note { font-size: 9px; line-height: 1.6; }
.form-status { font-size: 9px; }
.button { font-size: 12px; }
@media (max-width: 600px) {
  .section-heading { margin-bottom: 34px; }
  .section-index { font-size: 9px; }
  .heading-row > p { font-size: 12px; }
  .card-eyebrow { font-size: 8px; }
  .focus-card p { font-size: 10px; }
  .project-summary { font-size: 11px; }
  .form-intro { font-size: 10px; }
  .contact-form label { font-size: 10px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; }
  .contact-form input, .contact-form select { height: 46px; }
  .contact-form textarea { min-height: 130px; }
  .button { font-size: 10px; }
}

/* Home discovery: replace the first three covers with the user's supplied images, in order. */
.discovery-about .discovery-visual {
  background-image: url("/assets/discovery/cover-01.webp");
  background-position: center 42%;
}
.discovery-projects .discovery-visual {
  background-image: url("/assets/discovery/cover-02.jpg");
  background-position: center 48%;
}
.discovery-interests .discovery-visual {
  background-image: url("/assets/discovery/cover-03.jpg");
  background-position: center 43%;
}
.discovery-visual::after {
  background: linear-gradient(90deg, rgba(8,9,16,.28), rgba(8,9,16,.04)),
    linear-gradient(0deg, rgba(8,9,16,.48), transparent 76%);
}

/* Interests: a dim gallery wall with individual framed artworks. */
.section-human .interests-grid {
  position: relative;
  isolation: isolate;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(38px, 4.5vw, 58px) clamp(18px, 2.6vw, 32px);
  padding: clamp(28px, 4.5vw, 54px);
  overflow: visible;
  border: 1px solid rgba(201, 210, 255, .12);
  border-radius: 24px;
  background: radial-gradient(ellipse at 14% 0%, rgba(135,236,255,.075), transparent 38%),
    radial-gradient(ellipse at 88% 80%, rgba(168,154,255,.07), transparent 42%),
    linear-gradient(145deg, rgba(20,23,36,.96), rgba(10,12,21,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 24px 65px rgba(0,0,0,.2);
}
.section-human .interests-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0, rgba(255,211,155,.1), transparent 34%),
    linear-gradient(90deg, transparent 0 32.9%, rgba(255,255,255,.018) 33%, transparent 33.1% 66.5%, rgba(255,255,255,.014) 66.7%, transparent 66.9%);
}
.section-human .interest-card {
  --frame-tilt: -.7deg;
  position: relative;
  z-index: 1;
  grid-column: span 6;
  min-height: 0;
  margin-top: 27px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(var(--frame-tilt));
  transition: transform .35s var(--ease), filter .35s ease;
}
.section-human .interest-card:nth-child(2) { --frame-tilt: .8deg; grid-column: span 6; }
.section-human .interest-card:nth-child(3) { --frame-tilt: -.9deg; grid-column: span 5; }
.section-human .interest-card:nth-child(4) { --frame-tilt: .6deg; grid-column: span 7; }
.section-human .interest-card::before {
  content: "";
  position: absolute;
  top: -27px;
  left: 50%;
  width: 1px;
  height: 27px;
  background: linear-gradient(rgba(255,211,155,.72), rgba(255,211,155,.1));
  box-shadow: 0 0 8px rgba(255,211,155,.15);
}
.section-human .interest-card::after {
  content: "";
  position: absolute;
  top: -32px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255,235,194,.75);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff0c8, #c19a5c 70%);
  box-shadow: 0 2px 8px rgba(0,0,0,.5), 0 0 10px rgba(255,211,155,.2);
}
.section-human .interest-card:hover {
  z-index: 2;
  transform: translateY(-6px) rotate(0deg);
  border-color: transparent;
  box-shadow: none;
}
.section-human .interest-top { margin: 0; padding: 0 7px 10px; }
.section-human .interest-icon { font-size: 17px; }
.section-human .interest-index { font-size: 9px; }
.section-human .interest-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  height: clamp(230px, 24vw, 300px);
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,211,155,.38);
  border-radius: 4px;
  background: linear-gradient(135deg, #685337 0%, #26232a 7%, #11141f 13%, #0e1019 88%, #59472f 100%);
  box-shadow: 0 0 0 4px rgba(6,8,14,.92), 0 19px 36px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.32);
}
.section-human .interest-gallery[data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: clamp(230px, 24vw, 300px);
}
.section-human .interest-gallery[data-count="5"] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(245px, 26vw, 310px);
}
.section-human .interest-gallery[data-count="8"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(265px, 28vw, 330px);
}
.section-human .interest-gallery[data-count="5"] .interest-art:nth-child(1),
.section-human .interest-gallery[data-count="5"] .interest-art:nth-child(2) { grid-column: span 3; }
.section-human .interest-gallery[data-count="5"] .interest-art:nth-child(n+3) { grid-column: span 2; }
.section-human .interest-art { border: 1px solid rgba(255,255,255,.13); border-radius: 2px; }
.section-human .interest-art::after { inset: 55% 0 0; background: linear-gradient(transparent, rgba(6,8,14,.08)); }
.section-human .interest-art img { filter: saturate(1.04) contrast(1.04); }
.section-human .interest-card:hover .interest-art img { filter: saturate(1.12) contrast(1.05); }
.section-human .interest-card h3 { margin: 16px 7px 6px; font-size: 15px; letter-spacing: -.025em; }
.section-human .interest-description { margin: 0 7px 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.section-human .interest-chips { gap: 6px; padding: 0 7px; }
.section-human .interest-chips span { padding: 5px 8px; border-color: rgba(201,210,255,.12); border-radius: 999px; color: #c2c9dc; background: rgba(255,255,255,.035); font-size: 9px; line-height: 1.4; }
.section-human .interest-source-note,
.section-human .interest-footnote { font-size: 9px; line-height: 1.7; }
@media (max-width: 900px) {
  .section-human .interests-grid { gap: 36px 18px; }
  .section-human .interest-card:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 600px) {
  .section-human .interests-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 24px 18px;
  }
  .section-human .interest-card:nth-child(n) {
    grid-column: 1;
    width: min(100%, 520px);
    margin: 21px auto 0;
    --frame-tilt: 0deg;
  }
  .section-human .interest-gallery,
  .section-human .interest-gallery[data-count="1"] { height: clamp(230px, 62vw, 290px); }
  .section-human .interest-gallery[data-count="5"] { height: clamp(240px, 65vw, 300px); }
  .section-human .interest-gallery[data-count="8"] { height: clamp(265px, 72vw, 330px); }
  .section-human .interest-card h3 { font-size: 14px; }
  .section-human .interest-description { font-size: 11px; }
  .section-human .interest-chips span { font-size: 9px; }
}

/* Cinematic opening: a lightweight, skippable motion sequence, not a video download. */
html.intro-active, body.intro-active { overflow: hidden; }
.cinematic-intro[hidden] { display: none !important; }
.cinematic-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  background: #070811;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .55s ease, transform .8s var(--ease);
}
.cinematic-intro.is-visible { opacity: 1; transform: scale(1); }
.cinematic-intro.is-leaving { opacity: 0; transform: scale(1.035); pointer-events: none; }
.cinematic-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10%;
  background: radial-gradient(ellipse at 50% 48%, rgba(102,95,170,.27), transparent 42%),
    radial-gradient(ellipse at 72% 20%, rgba(135,236,255,.1), transparent 35%),
    radial-gradient(ellipse at 20% 82%, rgba(255,155,215,.09), transparent 32%),
    linear-gradient(145deg, #080910, #10101d 52%, #080910);
  animation: cinematic-nebula 7s ease-in-out infinite alternate;
}
.cinematic-intro__letterbox {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 7vh 70px rgba(0,0,0,.48), inset 0 -7vh 70px rgba(0,0,0,.5);
}
.cinematic-intro__sky { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.cinematic-intro__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(187,177,255,.75);
  animation: cinematic-twinkle 2.8s ease-in-out infinite alternate;
}
.cinematic-intro__star--one { top: 21%; left: 17%; }
.cinematic-intro__star--two { top: 28%; right: 17%; width: 2px; height: 2px; animation-delay: .7s; }
.cinematic-intro__star--three { right: 25%; bottom: 19%; width: 4px; height: 4px; background: var(--amber); animation-delay: 1.1s; }
.cinematic-intro__beam {
  position: absolute;
  top: 48%; left: -55%;
  width: 58vw; height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(135,236,255,.72), rgba(255,255,255,.92), transparent);
  box-shadow: 0 0 16px rgba(135,236,255,.5);
  transform: rotate(-17deg);
  animation: cinematic-beam 2.25s .2s ease-out forwards;
}
.cinematic-intro__skip {
  position: absolute;
  z-index: 5;
  top: clamp(18px, 4vh, 34px);
  right: clamp(18px, 4vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(216,222,255,.22);
  border-radius: 999px;
  color: #e2e5f2;
  background: rgba(12,14,24,.56);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.cinematic-intro__skip:hover { border-color: rgba(135,236,255,.55); color: var(--cyan); background: rgba(135,236,255,.08); }
.cinematic-intro__skip > span:last-child { color: var(--cyan); font-size: 14px; }
.cinematic-intro__stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  width: min(1000px, calc(100% - 72px));
  margin: 0 auto;
  padding: 38px 0 62px;
}
.cinematic-intro__portrait {
  position: relative;
  display: grid;
  width: min(100%, 290px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
}
.cinematic-intro__portrait::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,167,255,.32), rgba(135,236,255,.12) 42%, transparent 72%);
  filter: blur(24px);
  animation: cinematic-halo 2.6s ease-in-out infinite alternate;
}
.cinematic-intro__orbit { position: absolute; border: 1px solid rgba(201,210,255,.25); border-radius: 50%; pointer-events: none; }
.cinematic-intro__orbit--one {
  inset: 7%;
  border-right-color: rgba(135,236,255,.8);
  border-bottom-color: rgba(255,155,215,.5);
  transform: rotate(-24deg) scaleY(.62);
  animation: cinematic-orbit-one 4s linear infinite;
}
.cinematic-intro__orbit--two {
  inset: 0;
  border-style: dashed;
  border-color: rgba(168,154,255,.24);
  transform: rotate(28deg) scaleY(.78);
  animation: cinematic-orbit-two 13s linear infinite;
}
.cinematic-intro__portrait-window {
  position: relative;
  z-index: 1;
  width: 67%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid rgba(249,247,255,.9);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.38), 0 20px 68px rgba(0,0,0,.48), 0 0 55px rgba(168,154,255,.18);
  opacity: 0;
  transform: translateY(18px) scale(.82) rotate(-5deg);
  filter: blur(10px);
  animation: cinematic-portrait-in 1s .12s var(--ease) forwards;
}
.cinematic-intro__portrait-window img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cinematic-intro__portrait-star {
  position: absolute;
  z-index: 2;
  top: 11%; right: 13%;
  color: var(--amber);
  font-size: 24px;
  filter: drop-shadow(0 0 10px rgba(255,211,155,.85));
  opacity: 0;
  animation: cinematic-star-in .5s 1.05s ease forwards, star-flash 2.7s 1.55s ease-in-out infinite;
}
.cinematic-intro__copy { min-width: 0; }
.cinematic-intro__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .18em;
  opacity: 0;
  animation: cinematic-copy-in .65s .28s var(--ease) forwards;
}
.cinematic-intro__kicker::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.cinematic-intro__name {
  display: grid;
  gap: 0;
  margin: 19px 0 0;
  color: #eff2ff;
  font-size: clamp(3.2rem, 7.6vw, 6.7rem);
  font-weight: 620;
  letter-spacing: -.09em;
  line-height: .88;
}
.cinematic-intro__name > span {
  opacity: 0;
  transform: translateY(18px);
  animation: cinematic-copy-in .7s .5s var(--ease) forwards;
}
.cinematic-intro__name > strong {
  position: relative;
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: transparent;
  font-weight: 760;
  background: linear-gradient(98deg, #f2f5ff 0%, #a3f1ff 34%, #c1a8ff 69%, #ffb0d9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 24px rgba(149,130,255,.2));
  opacity: 0;
  transform: translateY(20px);
  animation: cinematic-copy-in .75s .72s var(--ease) forwards;
}
.cinematic-intro__rule {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(100%, 390px);
  margin: 24px 0 15px;
  opacity: 0;
  animation: cinematic-copy-in .65s 1.02s var(--ease) forwards;
}
.cinematic-intro__rule span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(135,236,255,.42), rgba(168,154,255,.1)); }
.cinematic-intro__rule span:last-child { background: linear-gradient(90deg, rgba(168,154,255,.1), transparent); }
.cinematic-intro__rule b { color: var(--quiet); font-family: ui-monospace, monospace; font-size: 8px; font-weight: 650; letter-spacing: .18em; white-space: nowrap; }
.cinematic-intro__descriptor {
  margin: 0;
  color: #bbc2d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.8;
  opacity: 0;
  animation: cinematic-copy-in .65s 1.18s var(--ease) forwards;
}
.cinematic-intro__footer {
  position: absolute;
  z-index: 3;
  right: 0; bottom: clamp(22px, 5vh, 46px); left: 0;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(1000px, calc(100% - 72px));
  margin: 0 auto;
}
.cinematic-intro__status { display: inline-flex; align-items: center; gap: 8px; color: var(--quiet); font-family: ui-monospace, monospace; font-size: 8px; font-weight: 700; letter-spacing: .14em; opacity: 0; animation: cinematic-copy-in .5s 1.35s ease forwards; }
.cinematic-intro__status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse-dot 2s ease-in-out infinite; }
.cinematic-intro__progress { height: 1px; overflow: hidden; background: rgba(201,210,255,.16); }
.cinematic-intro__progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); box-shadow: 0 0 12px rgba(135,236,255,.65); transform: scaleX(0); transform-origin: left; animation: cinematic-progress 3.75s linear forwards; }
@keyframes cinematic-nebula { from { transform: scale(1) translate3d(-1%,0,0); } to { transform: scale(1.08) translate3d(1%,1%,0); } }
@keyframes cinematic-twinkle { from { opacity: .28; transform: scale(.65); } to { opacity: 1; transform: scale(1.45); } }
@keyframes cinematic-beam { 0% { left: -55%; opacity: 0; } 16% { opacity: .9; } 75% { opacity: .5; } 100% { left: 110%; opacity: 0; } }
@keyframes cinematic-halo { from { transform: scale(.88); opacity: .55; } to { transform: scale(1.12); opacity: 1; } }
@keyframes cinematic-orbit-one { from { transform: rotate(-24deg) scaleY(.62); } to { transform: rotate(336deg) scaleY(.62); } }
@keyframes cinematic-orbit-two { from { transform: rotate(28deg) scaleY(.78); } to { transform: rotate(-332deg) scaleY(.78); } }
@keyframes cinematic-portrait-in { 0% { opacity: 0; transform: translateY(18px) scale(.82) rotate(-5deg); filter: blur(10px); } 68% { opacity: 1; transform: translateY(-3px) scale(1.035) rotate(1deg); filter: blur(0); } 100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); filter: blur(0); } }
@keyframes cinematic-star-in { from { opacity: 0; transform: scale(.3) rotate(-40deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes cinematic-copy-in { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes cinematic-progress { to { transform: scaleX(1); } }
@media (max-width: 680px) {
  .cinematic-intro__stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 23px;
    width: calc(100% - 38px);
    padding: 58px 0 68px;
  }
  .cinematic-intro__portrait { width: clamp(142px, 38vw, 205px); }
  .cinematic-intro__copy { text-align: center; }
  .cinematic-intro__kicker { justify-content: center; font-size: 8px; letter-spacing: .12em; }
  .cinematic-intro__kicker::before { width: 20px; }
  .cinematic-intro__name { justify-items: center; margin-top: 15px; font-size: clamp(2.9rem, 13vw, 5rem); }
  .cinematic-intro__name > strong { width: max-content; max-width: 100%; }
  .cinematic-intro__rule { margin: 18px auto 11px; }
  .cinematic-intro__descriptor { font-size: 8px; letter-spacing: .08em; }
  .cinematic-intro__footer { grid-template-columns: 1fr; justify-items: center; gap: 11px; width: calc(100% - 44px); bottom: 22px; }
  .cinematic-intro__progress { width: 100%; }
  .cinematic-intro__skip { top: 15px; right: 15px; min-height: 38px; font-size: 9px; }
  .cinematic-intro__letterbox { box-shadow: inset 0 4vh 42px rgba(0,0,0,.42), inset 0 -4vh 42px rgba(0,0,0,.45); }
}
@media (max-height: 650px) and (min-width: 681px) {
  .cinematic-intro__stage { grid-template-columns: minmax(150px, .62fr) minmax(0, 1.38fr); gap: 34px; padding: 24px 0 48px; }
  .cinematic-intro__portrait { width: min(100%, 220px); }
  .cinematic-intro__name { font-size: clamp(3rem, 6vw, 5.2rem); }
  .cinematic-intro__footer { bottom: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-player[data-sound="off"] .orbit-player__cover i { animation: orbit-sound-pulse 1.9s ease-in-out infinite; }
}
@keyframes orbit-sound-pulse { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  #starfield { opacity: .4; }
}

/* ------------------------------------------------------------------ *
 * Mobile home pass: telephony-sized type, touch targets and spacing.
 * Appended last so it wins over the earlier breakpoint blocks.
 * ------------------------------------------------------------------ */
@keyframes float-mobile {
  0%, 100% { transform: scale(.82) translateY(0); }
  50% { transform: scale(.82) translateY(-6px); }
}
@media (max-width: 600px) {
  /* 1. The fixed dock and the jump button must never sit on the last lines. */
  .site-footer { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .copyright { padding-bottom: 6px; }

  /* 2. Body-sized copy: 6-9px labels only worked on a desktop monitor. */
  .header-cv { font-size: 9px; letter-spacing: .04em; }
  .hero-signature, .scroll-cue { font-size: 9px; letter-spacing: .1em; }
  .ticker-track { font-size: 9px; }
  .art-index, .art-coordinate { font-size: 8px; }
  .section-index { font-size: 9px; }
  .home-discovery-heading > p { font-size: 12px; line-height: 1.7; }
  .discovery-visual > span { font-size: 8px; }
  .discovery-copy { padding: 10px 11px 12px; gap: 4px; }
  .discovery-copy strong { font-size: 12px; }
  .discovery-copy small { font-size: 10px; line-height: 1.5; }

  /* 3. Comfortable touch targets: 31-33px was a thumb trap. */
  .site-header { min-height: 60px; padding: 7px 8px 7px 11px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .language-toggle, .menu-toggle { width: 40px; height: 40px; border-radius: 11px; }
  .header-cv { min-height: 40px; padding-inline: 11px; border-radius: 11px; }
  .back-top { min-height: 40px; font-size: 9px; }
  .back-top b { width: 32px; height: 32px; }
  .scroll-cue { min-height: 36px; }
  .discovery-visual > b { width: 32px; height: 32px; font-size: 15px; }

  /* 4. Hero art: the float keyframes were overriding the mobile scale, so the
        cards rendered full size and covered the portrait. Scale inside the
        keyframes instead, and move the small labels off the orbit rings. */
  .hero { padding-top: 122px; padding-bottom: 46px; }
  .hero-art { height: 352px; min-height: 322px; margin: 8px auto 0; }
  .portrait-frame { width: 62%; }
  .float-card { min-width: 148px; max-width: 64%; padding: 7px 9px; border-radius: 11px; animation: float-mobile 5.6s ease-in-out infinite; }
  .float-card-top { top: 2%; left: 0; }
  .float-card-bottom { right: 0; bottom: 2%; animation-delay: -2.6s; }
  .float-card small { font-size: 7px; }
  .float-card b { font-size: 10px; }
  .art-index { top: 1%; right: auto; left: 3%; }
  .coord-one { left: 0; bottom: 27%; }
  .coord-two { top: 24%; right: 0; }
}
@media (max-width: 370px) {
  .hero-art { height: 320px; min-height: 300px; }
  .portrait-frame { width: 66%; }
  .float-card { min-width: 132px; padding: 6px 8px; }
  .float-card b { font-size: 9px; }
}
/* Landscape phones: the header eats the sky, so pull the hero up. */
@media (max-width: 900px) and (max-height: 520px) {
  .hero { padding-top: 92px; padding-bottom: 34px; }
  .hero-art { height: 300px; min-height: 280px; }
  .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* Mobile home pass, part 2: long discovery labels and the dock's small type. */
@media (max-width: 600px) {
  .discovery-visual { min-height: 96px; padding: 10px; }
  .discovery-visual > span { max-width: calc(100% - 40px); padding-right: 6px; line-height: 1.45; }
  .orbit-player__mini-title, .orbit-player__track strong { font-size: 12px; }
  .orbit-player__track small { font-size: 9px; }
  .orbit-player__volume { font-size: 8px; }
  .orbit-player__status { font-size: 9px; line-height: 1.5; }
  .orbit-player__time { font-size: 9px; }
  .orbit-player__playlist-label { font-size: 8px; }
  .orbit-player__track-option strong { font-size: 10px; }
  .orbit-player__track-option small { font-size: 8px; }
}
@media (max-width: 600px) {
  .brand { min-height: 40px; }
  .back-to-top { width: 40px; height: 40px; border-radius: 14px; }
}
@media (max-width: 600px) {
  /* Discovery tags sit on busy artwork; a small pill keeps them readable. */
  .discovery-visual > span {
    padding: 4px 7px;
    border: 1px solid rgba(225, 234, 255, .16);
    border-radius: 7px;
    background: rgba(8, 9, 16, .58);
    letter-spacing: .06em;
  }
}
@media (max-width: 600px) {
  /* 390px phones have room for a wider dock without touching the jump button. */
  .orbit-player { width: min(322px, calc(100vw - 76px)); }
  .orbit-player[data-expanded="true"] { width: min(390px, calc(100vw - 24px)); }
}
