:root {
  --ink: #f5f5f2;
  --muted: #a3a6ad;
  --soft: #d7d9dc;
  --line: rgba(255, 255, 255, .13);
  --panel: rgba(255, 255, 255, .06);
  --panel-strong: rgba(255, 255, 255, .1);
  --black: #08090b;
  --blue: #80a7ff;
  --violet: #b79cff;
  --green: #8ef0ba;
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { min-height: 100vh; overflow: hidden; position: relative; }
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.scroll-progress { position: fixed; z-index: 30; inset: 0 0 auto; height: 2px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: calc(var(--scroll, 0) * 100%); background: linear-gradient(90deg, var(--blue), var(--violet), var(--green)); transform-origin: left; }
.topbar { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0; }
.wordmark { font-size: 18px; letter-spacing: -.08em; font-weight: 700; }
.wordmark span { color: var(--blue); margin-left: 2px; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 38px; color: var(--muted); font-size: 13px; }
.desktop-nav a, .text-link, .footer-link { transition: color .45s var(--ease-spring); }
.desktop-nav a:hover, .text-link:hover, .footer-link:hover { color: var(--ink); }
.dynamic-island { position: relative; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); background: rgba(255,255,255,.075); padding: 10px 13px; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.2); transition: transform .6s var(--ease-spring), background .35s ease, border-color .35s ease; }
.dynamic-island:hover { transform: scale(1.045); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.status-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(142,240,186,.12), 0 0 18px rgba(142,240,186,.55); }
.island-label { font-size: 11px; letter-spacing: .02em; }
.island-chevron { color: var(--muted); transition: transform .6s var(--ease-spring); }
.dynamic-island[aria-expanded="true"] .island-chevron { transform: rotate(45deg); }
.island-panel { position: absolute; z-index: 25; top: 78px; right: 0; width: 280px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(21,22,27,.92); box-shadow: 0 28px 80px rgba(0,0,0,.45); opacity: 0; transform: translateY(-12px) scale(.96); transform-origin: top right; pointer-events: none; transition: opacity .55s var(--ease-spring), transform .65s var(--ease-spring); backdrop-filter: blur(22px); }
.island-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.panel-kicker, .eyebrow, .section-kicker, .card-kicker { display: block; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.island-panel strong { display: block; margin: 10px 0 18px; font-size: 15px; line-height: 1.35; letter-spacing: -.02em; }
.island-panel a { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; color: var(--blue); font-size: 12px; }
.dynamic-island.is-awake { border-color: rgba(142,240,186,.46); box-shadow: 0 0 0 5px rgba(142,240,186,.06), 0 8px 34px rgba(0,0,0,.28); }
.dynamic-island.is-awake .status-dot { animation: signalBlink 1.1s ease-in-out infinite; }
.island-panel { width: min(350px, calc(100vw - 32px)); padding: 20px; }
.signal-console-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.signal-state { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font: 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .14em; }
.signal-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(142,240,186,.85); }
.signal-console { display: grid; grid-template-columns: 92px 1fr; gap: 15px; align-items: center; margin: 18px 0 16px; }
.signal-radar { position: relative; width: 92px; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(142,240,186,.32); border-radius: 50%; background: radial-gradient(circle, rgba(142,240,186,.12), rgba(128,167,255,.05) 48%, transparent 70%); box-shadow: inset 0 0 25px rgba(142,240,186,.08), 0 0 22px rgba(142,240,186,.08); }
.signal-radar:before, .signal-radar:after { content: ""; position: absolute; background: rgba(142,240,186,.18); }
.signal-radar:before { top: 50%; right: 7%; left: 7%; height: 1px; }
.signal-radar:after { top: 7%; bottom: 7%; left: 50%; width: 1px; }
.radar-ring { position: absolute; border: 1px solid rgba(142,240,186,.2); border-radius: 50%; }
.radar-ring-one { inset: 20%; }
.radar-ring-two { inset: 38%; }
.radar-sweep { position: absolute; inset: -15%; background: conic-gradient(from 0deg, transparent 0deg 294deg, rgba(142,240,186,.42) 340deg, transparent 348deg); -webkit-mask: radial-gradient(circle, transparent 0 8%, #000 9% 100%); mask: radial-gradient(circle, transparent 0 8%, #000 9% 100%); animation: radarSweep 2.4s linear infinite; }
.radar-self { position: absolute; top: 49%; left: 49%; width: 7px; height: 7px; border-radius: 50%; background: #f0bf78; box-shadow: 0 0 0 4px rgba(240,191,120,.13), 0 0 14px rgba(240,191,120,.9); }
.signal-radar b { position: absolute; right: 9px; bottom: 8px; color: rgba(220,233,255,.62); font: 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; }
body.signal-pulse .signal-radar { animation: consolePulse 1.1s var(--ease-soft); }
.signal-copy strong { margin: 0 0 7px; font-size: 16px; line-height: 1.18; }
.signal-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.island-readouts { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 9px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.island-readouts span { display: grid; gap: 5px; min-width: 0; }
.island-readouts small { color: var(--muted); font: 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.island-readouts b { color: var(--soft); font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 500; }
.signal-action { align-items: center; margin-top: 15px; border-top: 0 !important; padding-top: 0 !important; font-size: 12px !important; }
.signal-action span:last-child { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(128,167,255,.35); border-radius: 50%; transition: transform .5s var(--ease-spring), background .3s ease; }
.signal-action:hover span:last-child { transform: translate(3px, -3px) rotate(8deg); background: rgba(128,167,255,.13); }
@keyframes radarSweep { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes consolePulse { 0% { scale: .82; opacity: .45; } 55% { scale: 1.06; opacity: 1; } 100% { scale: 1; opacity: 1; } }
@keyframes signalBlink { 0%, 100% { scale: 1; opacity: .72; } 50% { scale: 1.35; opacity: 1; } }
main { position: relative; }
.hero { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero h1 { max-width: 920px; margin: 22px 0; font-size: clamp(52px, 9vw, 120px); font-weight: 600; letter-spacing: -.085em; line-height: .94; }
.hero h1 .gradient { color: transparent; background: linear-gradient(110deg, #fff 15%, #9bb7ff 52%, #c8a9ff 90%); background-clip: text; -webkit-background-clip: text; }
.hero p.lede { max-width: 500px; color: var(--muted); font-size: 18px; line-height: 1.55; letter-spacing: -.02em; }
.hero .eyebrow { color: var(--blue); }
.hero-a { min-height: 840px; padding: clamp(80px, 13vw, 170px) 0 120px; }
.hero-a .hero-copy { position: relative; z-index: 2; }
.actions { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 999px; padding: 14px 17px 14px 20px; font-size: 13px; transition: transform .65s var(--ease-spring), background .35s ease, border-color .35s ease; will-change: transform; }
.button span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); transition: transform .65s var(--ease-spring); }
.button:hover { border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.09); }
.button:hover span { transform: translate(3px, -3px) rotate(8deg); }
.button.primary { color: #08090b; border-color: transparent; background: #f4f5f2; }
.button.primary:hover { background: #fff; }
.button.quiet { color: var(--muted); border-color: transparent; padding-left: 0; }
.button.quiet span { color: var(--ink); background: transparent; }
.hero-a .profile-orbit { position: absolute; right: -9vw; top: 110px; width: min(57vw, 680px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 31%, rgba(128,167,255,.38), transparent 24%), radial-gradient(circle at 72% 66%, rgba(183,156,255,.3), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.015)); filter: blur(.1px); box-shadow: inset -50px -30px 120px rgba(0,0,0,.35), 0 0 100px rgba(128,167,255,.12); animation: breathe 9s ease-in-out infinite alternate; }
.hero-a .profile-orbit:before, .hero-a .profile-orbit:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; inset: 7%; transform: rotate(28deg) scaleY(.3); }
.hero-a .profile-orbit:after { inset: 17%; transform: rotate(-35deg) scaleY(.23); border-color: rgba(155,181,255,.28); }
.portrait-card { position: absolute; right: 11%; top: 23%; width: min(250px, 29vw); aspect-ratio: .72; padding: 10px; border: 1px solid rgba(255,255,255,.23); border-radius: 26px; background: rgba(245,245,242,.09); box-shadow: 0 28px 80px rgba(0,0,0,.38); transform: rotate(7deg); backdrop-filter: blur(12px); }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; filter: grayscale(1) contrast(1.05); }
.portrait-card .portrait-tag { position: absolute; bottom: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; color: white; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.signal-line { position: absolute; left: 0; right: 0; bottom: 42px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.signal-line:before { content: ""; display: block; width: 44%; height: 1px; margin-top: 6px; background: linear-gradient(90deg, var(--blue), transparent); }
.scroll-cue { position: absolute; bottom: 42px; right: 0; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px; }
.section h2 { max-width: 600px; margin: 12px 0 0; font-size: clamp(38px, 5vw, 72px); font-weight: 500; line-height: .98; letter-spacing: -.07em; }
.section-intro { max-width: 280px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.work-a { padding-top: 100px; }
.work-list { display: grid; gap: 16px; }
.work-card { position: relative; min-height: 420px; overflow: hidden; display: flex; align-items: end; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, rgba(128,167,255,.14), rgba(255,255,255,.025)); isolation: isolate; transition: transform .8s var(--ease-spring), border-color .4s ease; }
.work-card:nth-child(2) { background: linear-gradient(135deg, rgba(183,156,255,.16), rgba(255,255,255,.025)); }
.work-card:nth-child(3) { background: linear-gradient(135deg, rgba(142,240,186,.12), rgba(255,255,255,.025)); }
.work-card:before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: 3%; top: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.32), transparent 61%); filter: blur(20px); opacity: .55; transition: transform 1s var(--ease-spring); }
.work-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.3); }
.work-card:hover:before { transform: scale(1.18) translate(-7%, 8%); }
.work-card .work-copy { max-width: 470px; }
.work-card h3 { margin: 10px 0; font-size: clamp(28px, 4vw, 47px); font-weight: 500; letter-spacing: -.06em; }
.work-card p { max-width: 400px; margin: 0; color: var(--muted); line-height: 1.5; }
.work-card .work-index { position: absolute; top: 28px; right: 30px; color: var(--muted); font: 12px/1 monospace; }
.work-card .work-shape { position: absolute; right: 15%; top: 22%; width: 130px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.28); border-radius: 36%; transform: rotate(24deg); opacity: .55; }
.work-card .work-shape:after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: rgba(255,255,255,.13); }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-value { display: block; margin-bottom: 10px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.07em; }
.proof-label { color: var(--muted); font-size: 12px; line-height: 1.4; }
.quote { max-width: 780px; margin: 0; font-size: clamp(28px, 4vw, 50px); line-height: 1.05; letter-spacing: -.06em; }
.quote em { color: var(--muted); font-style: normal; }
.contact-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; padding: clamp(32px, 6vw, 72px); background: linear-gradient(120deg, rgba(128,167,255,.16), rgba(183,156,255,.08) 50%, rgba(255,255,255,.03)); }
.contact-panel:after { content: ""; position: absolute; width: 380px; aspect-ratio: 1; right: -100px; bottom: -200px; border-radius: 50%; background: rgba(128,167,255,.2); filter: blur(60px); }
.contact-panel h2 { max-width: 740px; margin-bottom: 32px; }
.contact-panel p { position: relative; z-index: 1; max-width: 500px; color: var(--muted); line-height: 1.5; }
.site-footer { width: min(1180px, calc(100% - 48px)); display: flex; justify-content: space-between; gap: 30px; margin: 0 auto; padding: 0 0 110px; color: var(--muted); font-size: 12px; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a:hover { color: var(--ink); }

/* Variant B — editorial split */
.variant-b { background: #f1f0ec; color: #151515; }
.variant-b .hero, .variant-b .section, .variant-b .site-footer { color: #151515; }
.variant-b .eyebrow, .variant-b .panel-kicker, .variant-b .section-kicker, .variant-b .card-kicker { color: #827d72; }
.variant-b .hero h1 { max-width: 700px; font-size: clamp(58px, 9vw, 126px); }
.variant-b .hero h1 .gradient { color: #151515; background: none; }
.variant-b .hero p.lede, .variant-b .section-intro, .variant-b .work-card p, .variant-b .proof-label, .variant-b .contact-panel p { color: #716e68; }
.variant-b .topbar { color: #151515; }
.variant-b .wordmark span { color: #6b6af6; }
.variant-b .desktop-nav { color: #827d72; }
.variant-b .dynamic-island { color: #151515; background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.12); box-shadow: none; }
.variant-b .dynamic-island:hover { background: rgba(0,0,0,.09); border-color: rgba(0,0,0,.2); }
.variant-b .island-panel { background: rgba(248,247,243,.95); border-color: rgba(0,0,0,.12); box-shadow: 0 28px 80px rgba(0,0,0,.15); }
.variant-b .status-dot { background: #1b9b60; box-shadow: 0 0 0 4px rgba(27,155,96,.12), 0 0 18px rgba(27,155,96,.35); }
.variant-b .island-panel a { color: #5e5de8; border-color: rgba(0,0,0,.12); }
.variant-b .hero-b { min-height: 780px; padding: 100px 0 110px; display: grid; grid-template-columns: 80px 1fr 300px; gap: clamp(24px, 6vw, 90px); align-items: center; }
.editorial-rail { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; color: #9a9489; border-right: 1px solid rgba(0,0,0,.13); padding: 16px 24px 16px 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.editorial-rail strong { color: #151515; font-weight: 500; }
.portrait-editorial { position: relative; height: 390px; border-radius: 180px 180px 20px 20px; overflow: hidden; background: #d7d0c4; transform: translateY(30px); }
.portrait-editorial img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); mix-blend-mode: multiply; opacity: .83; }
.portrait-editorial:after { content: "G / 24"; position: absolute; left: 20px; bottom: 18px; color: white; font-size: 10px; letter-spacing: .14em; }
.variant-b .button { border-color: rgba(0,0,0,.15); }
.variant-b .button.primary { color: white; background: #151515; }
.variant-b .button.quiet { color: #716e68; }
.variant-b .button span { background: rgba(0,0,0,.08); }
.variant-b .button.primary span { background: rgba(255,255,255,.14); }
.variant-b .work-b { padding-top: 80px; }
.variant-b .work-b .section-header { align-items: start; }
.editorial-projects { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1px; background: rgba(0,0,0,.15); border-top: 1px solid rgba(0,0,0,.15); border-bottom: 1px solid rgba(0,0,0,.15); }
.editorial-project { min-height: 330px; padding: 28px; background: #f1f0ec; display: flex; flex-direction: column; justify-content: space-between; transition: background .5s var(--ease-spring); }
.editorial-project:first-child { grid-row: span 2; min-height: 660px; background: #e6e3dc; }
.editorial-project:hover { background: #dedbd3; }
.editorial-project h3 { max-width: 410px; margin: 12px 0 0; font-size: clamp(28px, 4vw, 60px); font-weight: 500; letter-spacing: -.07em; line-height: .96; }
.editorial-project p { max-width: 360px; color: #716e68; font-size: 14px; line-height: 1.45; }
.project-arrow { align-self: end; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(0,0,0,.18); border-radius: 50%; transition: transform .7s var(--ease-spring); }
.editorial-project:hover .project-arrow { transform: translate(4px, -4px) rotate(8deg); }
.variant-b .proof-strip { border-color: rgba(0,0,0,.15); }
.variant-b .proof-item { border-color: rgba(0,0,0,.15); }
.variant-b .contact-panel { background: #171717; color: white; border: 0; }
.variant-b .contact-panel h2 { color: white; }
.variant-b .site-footer { border-color: rgba(0,0,0,.15); }

/* Variant C — dark bento */
.variant-c { background: #121212; }
.variant-c .hero-c { padding: 95px 0 130px; }
.variant-c .hero-c h1 { max-width: 840px; }
.hero-c .hero-kicker { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--soft); font-size: 11px; }
.hero-c .hero-kicker span { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); }
.bento { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 220px 220px; gap: 14px; margin-top: 80px; }
.bento-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 24px; padding: 22px; background: rgba(255,255,255,.045); transition: transform .7s var(--ease-spring), background .5s ease; }
.bento-card:hover { transform: translateY(-7px) scale(1.012); background: rgba(255,255,255,.09); }
.bento-card.large { grid-row: span 2; background: linear-gradient(140deg, rgba(128,167,255,.2), rgba(255,255,255,.035)); }
.bento-card.wide { grid-column: span 2; }
.bento-card .bento-value { font-size: clamp(42px, 5vw, 78px); letter-spacing: -.09em; line-height: .9; }
.bento-card .bento-title { font-size: 14px; color: var(--soft); }
.bento-card .bento-note { color: var(--muted); font-size: 12px; line-height: 1.4; }
.bento-card .mini-orbit { position: absolute; right: -30px; top: 12px; width: 200px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 50px rgba(128,167,255,.12); }
.bento-card .mini-orbit:after { content: ""; position: absolute; inset: 35px; border-radius: 50%; background: rgba(255,255,255,.12); }
.variant-c .work-c { padding-top: 80px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case-card { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #191919; transition: transform .75s var(--ease-spring), background .5s ease; }
.case-card:hover { transform: translateY(-8px); background: #202020; }
.case-card:nth-child(1) { background: linear-gradient(140deg, #17243b, #191919 65%); }
.case-card:nth-child(2) { background: linear-gradient(140deg, #2a213c, #191919 65%); }
.case-card:nth-child(3) { background: linear-gradient(140deg, #1c342d, #191919 65%); }
.case-card h3 { max-width: 300px; margin: 10px 0; font-size: clamp(28px, 4vw, 48px); font-weight: 500; letter-spacing: -.07em; line-height: .95; }
.case-card p { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.case-card .card-footer { display: flex; justify-content: space-between; align-items: end; color: var(--muted); font-size: 11px; }
.case-card .card-footer span:last-child { color: var(--ink); font-size: 20px; transition: transform .6s var(--ease-spring); }
.case-card:hover .card-footer span:last-child { transform: translate(4px, -4px); }
.variant-c .quote { max-width: 900px; }

/* Shared animation system */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft), transform 1s var(--ease-spring); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="slow"] { transition-duration: 1.2s, 1.4s; }
@keyframes breathe { from { transform: scale(.97) rotate(-3deg); } to { transform: scale(1.03) rotate(3deg); } }

@media (max-width: 800px) {
  .topbar, .hero, .section, .site-footer { width: min(100% - 32px, 620px); }
  .desktop-nav { display: none; }
  .dynamic-island { margin-left: auto; }
  .island-label { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-a { min-height: 790px; padding-top: 80px; }
  .hero-a .profile-orbit { top: 370px; right: -20vw; width: 100vw; }
  .portrait-card { top: 48%; right: 18%; width: 170px; }
  .signal-line { display: none; }
  .section { padding: 92px 0; }
  .section-header { display: block; margin-bottom: 42px; }
  .section-intro { margin-top: 20px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .hero-b { display: block !important; min-height: auto !important; padding-top: 70px !important; }
  .editorial-rail { display: none; }
  .portrait-editorial { width: 70%; height: 320px; margin: 55px 0 0 auto; }
  .editorial-projects { grid-template-columns: 1fr; }
  .editorial-project:first-child { grid-row: auto; min-height: 400px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; margin-top: 50px; }
  .bento-card.large, .bento-card.wide { grid-column: span 2; grid-row: auto; min-height: 260px; }
  .bento-card { min-height: 170px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 300px; }
  .site-footer { display: block; padding-bottom: 130px; }
  .footer-socials { margin-top: 18px; }
}

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

/* Personal-profile directions — deliberately warmer and less portfolio-like. */
body.personal-a, body.personal-c { background: #090a0b; }
body.personal-b { background: #f2eee7; color: #1a1917; }
body.personal-b .noise { opacity: .035; }
.personal-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #8f9dff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.personal-eyebrow span { color: #f0bf78; font-size: 14px; }
.personal-lede { max-width: 470px; color: var(--muted); font-size: 19px; line-height: 1.5; letter-spacing: -.025em; }
.personal-hero, .personal-section, .scrap-hero, .scrap-section, .quiet-hero, .quiet-section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.personal-hero h1, .personal-section h2, .scrap-hero h1, .scrap-section h2, .quiet-hero h1, .quiet-section h2 { font-weight: 500; letter-spacing: -.075em; }
.personal-hero h1 em, .personal-section h2 em, .scrap-hero h1 em, .scrap-section h2 em, .quiet-hero h1 em, .quiet-section h2 em { color: #9caaff; font-style: normal; }
.personal-hero-a { position: relative; display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: clamp(30px, 8vw, 110px); min-height: 790px; padding: 100px 0 125px; }
.personal-copy { position: relative; z-index: 2; }
.personal-hero-a h1 { max-width: 700px; margin: 22px 0 24px; font-size: clamp(72px, 12vw, 150px); line-height: .88; }
.personal-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.personal-facts span, .quiet-details span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; color: var(--muted); font-size: 11px; }
.hand-note { position: absolute; color: #efbf78; font-family: "Bradley Hand", "Comic Sans MS", cursive; font-size: 19px; line-height: 1.05; transform: rotate(-10deg); }
.note-a { right: 35%; bottom: 120px; }
.personal-section { padding: 145px 0; }
.personal-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 64px; }
.personal-section h2 { margin: 14px 0 0; font-size: clamp(50px, 8vw, 96px); line-height: .9; }
.now-list { border-top: 1px solid var(--line); }
.now-item { display: grid; grid-template-columns: 65px 1fr 30px; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding: 27px 0; transition: padding .65s var(--ease-spring), background .45s ease; }
.now-item:hover { padding-left: 18px; background: rgba(255,255,255,.035); }
.now-number, .now-label { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.now-item h3 { margin: 9px 0 8px; font-size: clamp(24px, 4vw, 42px); font-weight: 450; letter-spacing: -.055em; }
.now-item p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.now-arrow { color: #9caaff; font-size: 24px; transition: transform .6s var(--ease-spring); }
.now-item:hover .now-arrow { transform: translate(3px, -3px); }
.personal-about { display: grid; grid-template-columns: 1fr 250px; gap: 12vw; align-items: start; border-top: 1px solid var(--line); }
.about-copy { max-width: 700px; }
.about-copy p { margin: 26px 0 0; color: var(--soft); font-size: clamp(23px, 3.2vw, 39px); line-height: 1.15; letter-spacing: -.045em; }
.about-copy p + p { color: var(--muted); font-size: 16px; line-height: 1.55; letter-spacing: -.01em; }
.about-copy a { color: #9caaff; text-decoration: underline; text-decoration-color: rgba(156,170,255,.4); text-underline-offset: 4px; }
.about-aside { display: grid; gap: 10px; padding-top: 5px; }
.aside-label { margin-top: 15px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.about-aside strong { color: var(--soft); font-size: 18px; font-weight: 450; letter-spacing: -.04em; }
.heritage-mark { position: relative; display: block; grid-column: 1 / -1; overflow: hidden; margin: 0 0 8px; padding: 16px 15px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px 5px 18px 5px; color: #f5f5f2 !important; background: linear-gradient(135deg, rgba(255,153,76,.13), rgba(255,255,255,.035) 48%, rgba(87,166,255,.13)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 14px 32px rgba(0,0,0,.16); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(21px, 2vw, 27px) !important; font-weight: 500 !important; letter-spacing: -.055em !important; line-height: 1.12; isolation: isolate; }
.heritage-mark::before { content: "LOCAL / ROOTED"; position: absolute; top: 9px; right: 12px; color: rgba(255,255,255,.48); font: 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; }
.heritage-mark::after { content: ""; position: absolute; right: -12%; bottom: 10px; left: 12px; height: 1px; background: linear-gradient(90deg, rgba(255,171,93,.75), rgba(255,255,255,.16), rgba(112,181,255,.75), transparent); box-shadow: 0 0 14px rgba(255,178,104,.25); transform: rotate(-4deg); transform-origin: left; }
body.personal-a.theme-light .heritage-mark { border-color: rgba(25,36,44,.16); color: #172027 !important; background: linear-gradient(135deg, rgba(238,128,53,.16), rgba(255,255,255,.64) 48%, rgba(74,137,215,.16)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 14px 32px rgba(56,75,75,.12); }
body.personal-a.theme-light .heritage-mark::before { color: rgba(23,32,39,.52); }
body.personal-a.theme-light .heritage-mark::after { background: linear-gradient(90deg, rgba(220,111,48,.72), rgba(23,32,39,.18), rgba(55,122,204,.72), transparent); }
.personal-link-card { display: grid; grid-template-columns: .8fr 1fr; gap: 40px; align-items: end; padding: clamp(28px, 6vw, 70px); border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(circle at 90% 10%, rgba(156,170,255,.18), transparent 36%), rgba(255,255,255,.035); }
.personal-link-card h2 { margin: 12px 0 0; font-size: clamp(42px, 6vw, 75px); }
.link-row { display: grid; gap: 0; border-top: 1px solid var(--line); }
.link-row a, .quiet-link-list a { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 15px 0; color: var(--soft); font-size: 14px; transition: padding .55s var(--ease-spring), color .3s ease; }
.link-row a:hover, .quiet-link-list a:hover { padding-left: 10px; color: #fff; }
.link-row a span, .quiet-link-list a span { color: #9caaff; }
.personal-footer { color: var(--muted); }

/* B: tactile scrapbook / personal notebook. */
.personal-b { background: #f2eee7; color: #1a1917; }
.personal-b .topbar { color: #1a1917; }
.personal-b .wordmark span { color: #ed675b; }
.personal-b .desktop-nav { color: #817a6f; }
.personal-b .desktop-nav a:hover, .personal-b .footer-link:hover { color: #1a1917; }
.personal-b .dynamic-island { color: #1a1917; background: rgba(0,0,0,.045); border-color: rgba(0,0,0,.14); box-shadow: none; }
.personal-b .dynamic-island:hover { background: rgba(0,0,0,.085); }
.personal-b .status-dot { background: #3b9d72; box-shadow: 0 0 0 4px rgba(59,157,114,.12); }
.personal-b .island-panel { color: #1a1917; background: rgba(246,242,235,.96); border-color: rgba(0,0,0,.13); box-shadow: 0 28px 80px rgba(52,44,33,.14); }
.personal-b .island-panel a { color: #dc645b; border-color: rgba(0,0,0,.12); }
.scrap-hero { min-height: 820px; padding: 74px 0 110px; }
.scrap-topline { display: flex; justify-content: space-between; color: #817a6f; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.scrap-grid { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: clamp(30px, 8vw, 110px); align-items: center; min-height: 650px; }
.scrap-title { position: relative; z-index: 2; }
.scrap-title h1, .scrap-section h2 { margin: 22px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(68px, 11vw, 142px); font-weight: 400; line-height: .84; }
.scrap-title h1 em, .scrap-section h2 em { color: #dd665a; }
.scrap-title p { max-width: 300px; color: #716b62; font-size: 17px; line-height: 1.45; }
.scrap-stamp { display: inline-block; border: 2px solid #e27064; border-radius: 50%; padding: 13px 8px; color: #e27064; font-size: 11px; letter-spacing: .14em; transform: rotate(-12deg); }
.personal-b .button.primary { color: #fff; background: #1a1917; }
.personal-b .button.primary:hover { background: #332f29; }
.personal-b .button span { background: rgba(0,0,0,.08); }
.scrap-photo { position: relative; z-index: 1; width: min(350px, 100%); aspect-ratio: .82; justify-self: center; padding: 12px 12px 48px; background: #fffdf8; box-shadow: 12px 18px 0 rgba(216,205,188,.8), 0 25px 60px rgba(50,40,28,.18); transform: rotate(7deg); }
.scrap-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.scrap-photo span { position: absolute; bottom: 17px; left: 20px; color: #565047; font-family: "Bradley Hand", "Comic Sans MS", cursive; font-size: 15px; transform: rotate(-3deg); }
.scrap-note { position: absolute; z-index: 3; max-width: 190px; padding: 17px; box-shadow: 5px 8px 0 rgba(39,29,18,.12); font-family: "Bradley Hand", "Comic Sans MS", cursive; font-size: 17px; line-height: 1.15; }
.note-yellow { right: 2%; bottom: 16%; background: #f4d982; transform: rotate(-7deg); }
.note-blue { left: 38%; bottom: 7%; background: #acc7dc; transform: rotate(5deg); }
.scrap-section { display: grid; grid-template-columns: .65fr 1fr; gap: 8vw; padding: 140px 0; border-top: 1px solid rgba(0,0,0,.15); }
.scrap-section-title > span, .scrap-links-card > span { color: #817a6f; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.scrap-section h2 { margin-top: 18px; font-size: clamp(54px, 8vw, 98px); }
.tab-stack { display: grid; gap: 0; }
.tab-stack article { position: relative; border-bottom: 1px solid rgba(0,0,0,.15); padding: 0 0 28px; margin-bottom: 28px; transition: padding-left .6s var(--ease-spring); }
.tab-stack article:hover { padding-left: 15px; }
.tab-stack article > span { color: #e27064; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.tab-stack h3 { margin: 9px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4vw, 48px); font-weight: 400; letter-spacing: -.045em; }
.tab-stack p, .scrap-copy p, .scrap-links-card p { max-width: 480px; color: #716b62; font-size: 16px; line-height: 1.5; }
.scrap-copy { padding-top: 16px; }
.scrap-copy p { max-width: 590px; color: #35312d; font-size: clamp(22px, 3vw, 35px); letter-spacing: -.035em; line-height: 1.15; }
.scrap-copy p + p { color: #716b62; font-size: 16px; letter-spacing: 0; line-height: 1.5; }
.mini-timeline { display: grid; gap: 10px; margin-top: 34px; color: #716b62; font-size: 12px; }
.mini-timeline b { display: inline-block; width: 58px; color: #e27064; text-transform: uppercase; }
.scrap-links-card { width: min(780px, 100%); margin-left: auto; padding: clamp(28px, 6vw, 70px); background: #1b1a18; color: #f2eee7; transform: rotate(-1.5deg); }
.scrap-links-card h2 { margin: 17px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(55px, 8vw, 95px); font-weight: 400; line-height: .85; }
.scrap-links-card > span { color: #e9b772; }
.scrap-links-card p { color: #b4aa9b; }
.scrap-links-card .link-row { border-color: rgba(255,255,255,.18); }
.scrap-links-card .link-row a { color: #f2eee7; border-color: rgba(255,255,255,.18); }
.scrap-links-card .link-row a span { color: #e9b772; }
.personal-b .personal-footer { color: #817a6f; }

/* C: quiet portrait / almost no portfolio language. */
.personal-c .topbar { position: absolute; top: 0; left: 50%; transform: translateX(-50%); right: auto; }
.quiet-hero { min-height: 900px; padding: 125px 0 130px; }
.quiet-hero-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.quiet-content { display: grid; grid-template-columns: .7fr 1fr; align-items: center; gap: clamp(40px, 9vw, 130px); min-height: 680px; }
.quiet-image { position: relative; width: min(360px, 100%); aspect-ratio: .8; overflow: hidden; border-radius: 8px; box-shadow: 20px 24px 0 rgba(156,170,255,.14); transform: rotate(-3deg); }
.quiet-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.quiet-image span { position: absolute; left: 20px; bottom: 20px; color: #fff; font-size: 10px; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.quiet-copy h1 { margin: 22px 0; font-size: clamp(64px, 9vw, 124px); line-height: .88; }
.quiet-copy > p { max-width: 490px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.quiet-details { display: flex; flex-wrap: wrap; gap: 8px; margin: 27px 0 7px; }
.quiet-section { display: grid; grid-template-columns: 90px 1fr; gap: 4vw; padding: 150px 0; border-top: 1px solid var(--line); }
.quiet-index { color: #9caaff; font: 14px/1 monospace; }
.quiet-section h2 { margin: 20px 0 55px; font-size: clamp(54px, 8vw, 100px); line-height: .9; }
.quiet-list { max-width: 620px; border-top: 1px solid var(--line); }
.quiet-list p { border-bottom: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 17px; line-height: 1.45; }
.quiet-list b { display: inline-block; min-width: 100px; color: var(--soft); font-weight: 450; }
.quiet-history { display: grid; max-width: 600px; gap: 0; border-top: 1px solid var(--line); }
.quiet-history span { border-bottom: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 16px; }
.quiet-history b { display: inline-block; min-width: 130px; color: var(--soft); font-weight: 450; }
.quiet-link-list { display: grid; max-width: 620px; border-top: 1px solid var(--line); }
.quiet-link-list a { font-size: 17px; }
.personal-c .personal-footer { width: min(1120px, calc(100% - 48px)); }

@media (max-width: 800px) {
  .personal-hero, .personal-section, .scrap-hero, .scrap-section, .quiet-hero, .quiet-section { width: min(100% - 32px, 620px); }
  .personal-hero-a, .quiet-content { display: block; min-height: auto; padding-top: 80px; }
  .personal-hero-a h1 { font-size: clamp(64px, 18vw, 112px); }
  .note-a { right: 8%; bottom: 32px; }
  .personal-section { padding: 96px 0; }
  .personal-section-heading { display: block; margin-bottom: 42px; }
  .now-item { grid-template-columns: 35px 1fr 24px; gap: 10px; }
  .now-item h3 { font-size: 28px; }
  .personal-about, .personal-link-card, .scrap-section, .quiet-section { display: block; }
  .about-aside { grid-template-columns: 1fr 1fr; margin-top: 45px; }
  .personal-link-card { padding: 30px 24px; }
  .personal-link-card h2 { margin-bottom: 40px; }
  .scrap-hero { min-height: auto; padding: 60px 0 95px; }
  .scrap-topline { font-size: 9px; }
  .scrap-grid { display: flex; flex-direction: column; align-items: stretch; min-height: auto; gap: 40px; padding-top: 80px; }
  .scrap-title h1 { font-size: clamp(68px, 19vw, 112px); }
  .scrap-photo { align-self: center; width: 76%; }
  .scrap-note { position: relative; right: auto; left: auto; bottom: auto; align-self: center; margin-top: -55px; }
  .note-blue { margin-top: -20px; }
  .scrap-section { padding: 95px 0; }
  .scrap-section h2 { margin-bottom: 46px; }
  .scrap-links-card { margin: 0; transform: rotate(-1deg); }
  .quiet-hero { min-height: auto; padding: 96px 0 100px; }
  .quiet-content { min-height: auto; }
  .quiet-image { margin: 60px auto 60px; width: 70%; }
  .quiet-copy h1 { font-size: clamp(61px, 16vw, 104px); }
  .quiet-section { padding: 100px 0; }
  .quiet-index { margin-bottom: 45px; }
  .quiet-section h2 { margin-bottom: 42px; }
  .quiet-list b, .quiet-history b { min-width: 85px; }
}

/* Electric theme switch — a small physical-feeling control in the corner. */
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.topbar-actions .dynamic-island { margin-left: 0; }
.electric-switch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 9px 6px 7px; color: var(--muted); background: rgba(255,255,255,.045); cursor: pointer; transition: transform .6s var(--ease-spring), border-color .35s ease, background .35s ease; }
.electric-switch:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.085); }
.switch-track { position: relative; display: block; width: 34px; height: 20px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: #15171b; box-shadow: inset 0 2px 5px rgba(0,0,0,.5), 0 0 0 rgba(121,219,255,0); transition: background .5s var(--ease-spring), box-shadow .5s ease; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #e8edf3; box-shadow: 0 1px 5px rgba(0,0,0,.55); transition: transform .6s var(--ease-spring), background .4s ease; }
.switch-spark { position: absolute; top: 1px; right: 4px; color: #7bdfff; font-size: 9px; opacity: .65; transition: opacity .4s ease, transform .6s var(--ease-spring); }
.switch-copy { display: grid; gap: 1px; text-align: left; line-height: 1; }
.switch-copy b { color: var(--soft); font-size: 8px; letter-spacing: .14em; }
.switch-copy small { color: var(--muted); font-size: 8px; }
.electric-switch[aria-pressed="true"] .switch-track { background: #f8d87a; border-color: #fff0af; box-shadow: inset 0 2px 5px rgba(107,76,0,.22), 0 0 14px rgba(255,216,122,.38); }
.electric-switch[aria-pressed="true"] .switch-knob { transform: translateX(14px); background: #fffaf0; box-shadow: 0 0 8px rgba(255,248,209,.95); }
.electric-switch[aria-pressed="true"] .switch-spark { opacity: 1; transform: rotate(25deg) scale(1.35); color: #fff4b0; }

body.personal-a.theme-light { --ink: #15171b; --muted: #6c717b; --soft: #30343b; --line: rgba(20,27,36,.15); background: #edf0eb; color: #15171b; }
body.personal-a.theme-light .noise { opacity: .025; }
body.personal-a.theme-light .topbar { color: #15171b; }
body.personal-a.theme-light .wordmark span { color: #6878ed; }
body.personal-a.theme-light .desktop-nav { color: #6c717b; }
body.personal-a.theme-light .dynamic-island { color: #30343b; background: rgba(255,255,255,.36); border-color: rgba(20,27,36,.15); box-shadow: 0 8px 25px rgba(67,75,81,.08); }
body.personal-a.theme-light .dynamic-island:hover { background: rgba(255,255,255,.6); border-color: rgba(20,27,36,.25); }
body.personal-a.theme-light .island-panel { color: #15171b; background: rgba(245,248,243,.95); border-color: rgba(20,27,36,.13); box-shadow: 0 28px 70px rgba(53,66,64,.16); }
body.personal-a.theme-light .island-panel a { color: #6978e8; border-color: rgba(20,27,36,.12); }
body.personal-a.theme-light .dynamic-island.is-awake { border-color: rgba(50,137,111,.4); box-shadow: 0 0 0 5px rgba(50,137,111,.07), 0 8px 30px rgba(67,75,81,.12); }
body.personal-a.theme-light .signal-radar { border-color: rgba(50,137,111,.35); background: radial-gradient(circle, rgba(50,137,111,.11), rgba(104,120,237,.05) 48%, transparent 70%); }
body.personal-a.theme-light .signal-radar:before, body.personal-a.theme-light .signal-radar:after, body.personal-a.theme-light .radar-ring { background-color: rgba(50,137,111,.16); border-color: rgba(50,137,111,.2); }
body.personal-a.theme-light .signal-copy p, body.personal-a.theme-light .island-readouts small { color: #6c717b; }
body.personal-a.theme-light .island-readouts b { color: #30343b; }
body.personal-a.theme-light .personal-eyebrow { color: #6d7be8; }
body.personal-a.theme-light .personal-hero h1 em, body.personal-a.theme-light .personal-section h2 em { color: #6878ed; }
body.personal-a.theme-light .personal-link-card { background: radial-gradient(circle at 90% 10%, rgba(104,120,237,.14), transparent 36%), rgba(255,255,255,.32); }
body.personal-a.theme-light .button.primary { color: #fff; background: #16181b; }
body.personal-a.theme-light .button.primary:hover { background: #30343b; }
body.personal-a.theme-light .button.quiet { color: #6c717b; }
body.personal-a.theme-light .link-row a, body.personal-a.theme-light .quiet-link-list a { color: #30343b; }
body.personal-a.theme-light .link-row a:hover, body.personal-a.theme-light .quiet-link-list a:hover { color: #15171b; }
body.personal-a.theme-light .link-row a span, body.personal-a.theme-light .quiet-link-list a span { color: #6878ed; }

@media (max-width: 800px) {
  .topbar-actions { gap: 6px; }
  .switch-copy { display: none; }
  .electric-switch { padding: 7px; }
  .electric-switch .switch-track { width: 34px; }
}

/* Opening sequence — the page arrives like a small gallery installation. */
.art-loader { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow: hidden; color: #f3f3ef; background: #070809; cursor: pointer; isolation: isolate; }
.art-loader:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(85,104,213,.17), transparent 34%), radial-gradient(circle at 76% 30%, rgba(226,185,255,.08), transparent 28%); }
.loader-grain { position: absolute; inset: -50%; z-index: 1; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); animation: grainShift .3s steps(2) infinite; pointer-events: none; }
.loader-orbit { position: absolute; z-index: 0; width: min(65vw, 790px); aspect-ratio: 1; border: 1px solid rgba(155,176,255,.25); border-radius: 50%; transform: rotate(28deg) scaleY(.22); animation: loaderSpin 12s linear infinite; }
.orbit-two { width: min(46vw, 560px); border-color: rgba(235,196,255,.2); transform: rotate(-34deg) scaleY(.19); animation-duration: 9s; animation-direction: reverse; }
.loader-copy { position: relative; z-index: 3; width: min(760px, calc(100% - 48px)); margin-top: 90px; text-align: center; pointer-events: none; }
.loader-kicker { display: block; color: #9cafff; font-size: 10px; letter-spacing: .18em; }
.loader-copy strong { display: block; margin: 34px 0 25px; font-size: clamp(70px, 13vw, 170px); font-weight: 500; letter-spacing: -.1em; line-height: .77; text-transform: uppercase; }
.loader-copy strong em { color: #aab8ff; font-style: normal; }
.loader-subtitle { color: #8e929c; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.loader-footer { position: absolute; z-index: 3; right: 28px; bottom: 25px; left: 28px; display: flex; justify-content: space-between; color: #858995; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.loader-footer span:last-child { color: #f2d681; }
.art-loader.is-leaving { pointer-events: none; animation: loaderExit 1.05s var(--ease-spring) forwards; }
@keyframes loaderSpin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes grainShift { 0% { translate: 0 0; } 25% { translate: 3% -2%; } 50% { translate: -2% 3%; } 75% { translate: 2% 2%; } 100% { translate: -3% -2%; } }
@keyframes loaderExit { 0% { opacity: 1; clip-path: circle(150% at 50% 50%); } 100% { opacity: 0; clip-path: circle(0% at 50% 50%); } }

.hero-canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .95; }
.hero-voyager { position: absolute; z-index: 4; top: 0; left: 0; width: 154px; height: 82px; pointer-events: auto; cursor: pointer; transform-origin: center; transition: filter .5s ease; will-change: transform; }
.hero-voyager:hover, .hero-voyager:focus-visible { filter: drop-shadow(0 0 18px rgba(255,199,116,.58)); outline: none; }
.voyager-ship { position: absolute; top: 15px; left: 21px; width: 110px; height: 47px; border: 1px solid rgba(255,255,255,.62); border-radius: 58% 48% 48% 58%; background: linear-gradient(145deg, #f7f4e9 0%, #b9c6d2 46%, #546476 100%); box-shadow: inset 8px 6px 13px rgba(255,255,255,.48), inset -12px -9px 17px rgba(18,29,44,.38), 0 12px 28px rgba(0,0,0,.36); transform: rotate(var(--voyager-angle, 0rad)); transform-origin: center; transition: box-shadow .35s ease; }
.hero-voyager:hover .voyager-ship, .hero-voyager:focus-visible .voyager-ship { box-shadow: inset 8px 6px 13px rgba(255,255,255,.58), inset -12px -9px 17px rgba(18,29,44,.38), 0 12px 34px rgba(255,180,86,.28); }
.voyager-nose { position: absolute; right: -2px; top: 6px; width: 31px; height: 33px; border-radius: 70% 35% 35% 70%; background: linear-gradient(145deg, #fff7d6, #e09c54 58%, #9c4c3c); clip-path: polygon(100% 50%, 0 0, 0 100%); }
.voyager-window { position: absolute; z-index: 2; top: 8px; left: 29px; width: 31px; height: 31px; overflow: hidden; border: 2px solid rgba(224,243,255,.88); border-radius: 50%; background: #182336; box-shadow: 0 0 0 3px rgba(42,61,80,.46), inset 0 0 13px rgba(118,190,255,.52); }
.voyager-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.45) saturate(.78) contrast(1.08); opacity: .92; }
.voyager-fin { position: absolute; z-index: -1; width: 31px; height: 19px; border: 1px solid rgba(234,162,99,.75); background: linear-gradient(135deg, #dd7758, #6c5266); clip-path: polygon(0 0, 100% 40%, 66% 100%, 11% 72%); }
.voyager-fin-top { top: -9px; left: 43px; transform: rotate(-9deg); }
.voyager-fin-bottom { bottom: -9px; left: 43px; transform: rotate(189deg); }
.voyager-flame { position: absolute; left: -25px; top: 15px; width: 34px; height: 17px; border-radius: 100% 0 0 100%; background: linear-gradient(90deg, transparent, #ee7156 33%, #ffd989 78%, #fff7c9); filter: blur(.2px); animation: voyagerFlame .26s ease-in-out infinite alternate; }
.hero-voyager.is-launching { pointer-events: none; }
.hero-voyager.is-launching:after { content: ""; position: absolute; z-index: -1; top: 38px; left: -26px; width: 210px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(170,202,255,.32), rgba(255,219,160,.2), transparent); filter: blur(5px); transform: rotate(-7deg) scaleX(.1); transform-origin: 0 50%; animation: voyagerHeroTrail 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero-voyager.is-launching .voyager-ship { animation: voyagerHeroTimeTravel 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero-voyager.is-launching .voyager-flame { animation: voyagerHeroFlame 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero-voyager.is-launching .voyager-trail { animation: voyagerHeroTrail 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.voyager-trail { position: absolute; top: 32px; left: -40px; width: 190px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,203,127,.05), rgba(196,216,255,.38), transparent); transform: rotate(-12deg); filter: blur(1px); opacity: .85; }
.voyager-signal { position: absolute; right: 3px; bottom: -1px; color: rgba(255,220,158,.72); font: 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; white-space: nowrap; transform: rotate(-7deg); }
@keyframes voyagerFlame { from { scale: .78 1; opacity: .65; } to { scale: 1.18 .82; opacity: 1; } }
@keyframes voyagerHeroTimeTravel { 0% { transform: rotate(var(--voyager-angle, 0rad)) translate(0, 0) scale(1); filter: blur(0) brightness(1); opacity: 1; } 14% { transform: rotate(var(--voyager-angle, 0rad)) translate(-2px, 1px) scale(1.04); filter: blur(.2px) brightness(1.12); } 36% { transform: rotate(var(--voyager-angle, 0rad)) translate(18px, -14px) scale(1.16); filter: blur(.4px) brightness(1.22); } 55% { transform: rotate(var(--voyager-angle, 0rad)) translate(48px, -34px) scale(1.02); filter: blur(1.3px) brightness(1.4); opacity: .82; } 71% { transform: rotate(var(--voyager-angle, 0rad)) translate(72px, -49px) scale(.82); filter: blur(3.2px) brightness(1.55); opacity: .38; } 84% { transform: rotate(var(--voyager-angle, 0rad)) translate(30px, -21px) scale(.9); filter: blur(1.8px) brightness(1.3); opacity: .68; } 100% { transform: rotate(var(--voyager-angle, 0rad)) translate(0, 0) scale(1); filter: blur(0) brightness(1); opacity: 1; } }
@keyframes voyagerHeroTrail { 0% { opacity: 0; transform: rotate(-12deg) scaleX(.1); } 27% { opacity: .35; transform: rotate(-12deg) scaleX(1.1); } 58% { opacity: 1; transform: rotate(-12deg) scaleX(2.2); } 78% { opacity: .42; transform: rotate(-12deg) scaleX(1.1); } 100% { opacity: 0; transform: rotate(-12deg) scaleX(.25); } }
@keyframes voyagerHeroFlame { 0% { transform: scaleX(.8); opacity: .7; } 32% { transform: scaleX(1.35); opacity: 1; } 57% { transform: scaleX(2.8); opacity: 1; } 76% { transform: scaleX(1.5); opacity: .8; } 100% { transform: scaleX(.8); opacity: .7; } }
.personal-hero-a .personal-copy, .personal-hero-a .hand-note { z-index: 2; }
.hero-art-label { position: absolute; z-index: 2; top: 50%; right: 2px; color: rgba(162,174,255,.65); font: 9px/1 monospace; letter-spacing: .17em; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.personal-a .personal-hero-a:after { content: ""; position: absolute; left: -15vw; right: -15vw; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(145,163,255,.46), transparent); box-shadow: 0 0 30px rgba(145,163,255,.28); }

@media (max-width: 800px) {
  .loader-copy { margin-top: 100px; }
  .loader-copy strong { font-size: clamp(65px, 19vw, 110px); }
  .loader-footer { right: 16px; bottom: 18px; left: 16px; font-size: 8px; }
  .loader-footer span:first-child { max-width: 190px; }
  .hero-art-label { right: -2px; font-size: 8px; }
  .hero-voyager { width: 132px; height: 72px; }
  .voyager-ship { top: 13px; left: 18px; scale: .86; }
  .voyager-signal { font-size: 7px; }
}

/* Scroll chapters: each one gets its own piece of visual language. */
.personal-now { position: relative; isolation: isolate; overflow: hidden; }
.personal-now:before { content: ""; position: absolute; z-index: -1; top: 190px; right: -18vw; width: 70vw; height: 1px; background: linear-gradient(90deg, transparent, rgba(141,161,255,.4), transparent); transform: rotate(-17deg); box-shadow: 0 0 20px rgba(141,161,255,.25); }
.now-art { position: absolute; z-index: -1; top: 80px; right: -9vw; width: min(600px, 62vw); aspect-ratio: 1; pointer-events: none; opacity: .78; }
.now-art-word { position: absolute; inset: 14% 0 0; color: rgba(142,159,255,.045); font-size: clamp(160px, 29vw, 350px); font-weight: 700; letter-spacing: -.14em; line-height: .8; }
.now-art-ring { position: absolute; inset: 14%; border: 1px solid rgba(143,162,255,.25); border-radius: 50%; transform: rotate(35deg) scaleY(.25); animation: chapterOrbit 13s linear infinite; }
.now-art-ring:after { content: ""; position: absolute; inset: 20%; border: 1px solid rgba(225,190,255,.22); border-radius: 50%; transform: rotate(-55deg) scaleY(.5); }
.now-art-dot { position: absolute; top: 31%; left: 31%; width: 8px; height: 8px; border-radius: 50%; background: #b7a2ff; box-shadow: 0 0 16px #a598ff, 0 0 50px rgba(135,151,255,.75); animation: dotPulse 4s ease-in-out infinite; }
.now-list { position: relative; z-index: 1; }
.now-item { background: linear-gradient(90deg, transparent, transparent); }
.now-item:hover { background: linear-gradient(90deg, rgba(125,146,255,.08), transparent 70%); }
.now-item:nth-child(2) { margin-left: 5vw; }
.now-item:nth-child(3) { margin-left: 10vw; }
.personal-about { position: relative; grid-template-columns: 260px 1fr 220px; gap: clamp(30px, 6vw, 85px); overflow: hidden; }
.personal-about:after { content: ""; position: absolute; right: -200px; bottom: -250px; width: 570px; aspect-ratio: 1; border: 1px solid rgba(145,163,255,.18); border-radius: 50%; transform: scaleY(.3) rotate(-22deg); box-shadow: 0 0 80px rgba(145,163,255,.08); pointer-events: none; }
.about-art { position: relative; display: grid; place-items: center; width: 220px; height: 300px; border: 1px solid rgba(142,159,255,.25); border-radius: 50% 50% 18px 18px; background: radial-gradient(circle at 50% 43%, rgba(142,159,255,.16), transparent 45%); transform: rotate(-6deg); }
.about-art span { color: rgba(177,190,255,.72); font-size: 175px; font-weight: 600; letter-spacing: -.18em; line-height: 1; transform: translateX(-8px); }
.about-art i { position: absolute; width: 320px; height: 92px; border: 1px solid rgba(216,185,255,.32); border-radius: 50%; transform: rotate(-30deg); }
.about-art small { position: absolute; bottom: 18px; left: 19px; color: var(--muted); font: 9px/1.3 monospace; letter-spacing: .1em; }
.about-copy, .about-aside { position: relative; z-index: 1; }
.personal-link-card { position: relative; overflow: hidden; }
.personal-link-card > *:not(.link-art) { position: relative; z-index: 1; }
.link-art { position: absolute; z-index: 0; right: 5%; top: 5%; width: 230px; height: 230px; pointer-events: none; opacity: .7; }
.link-art span { position: absolute; z-index: 1; left: 37%; top: 22%; color: #b9a5ff; font-size: 34px; text-shadow: 0 0 20px rgba(185,165,255,.7); animation: dotPulse 3s ease-in-out infinite; }
.link-art i { position: absolute; inset: 12%; border: 1px solid rgba(160,173,255,.35); border-radius: 50%; transform: rotate(27deg) scaleY(.35); }
.link-art i:after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(225,190,255,.22); border-radius: 50%; transform: rotate(-41deg) scaleY(.6); }
.link-art b { position: absolute; right: 0; bottom: 0; color: rgba(181,190,255,.34); font: 9px/1.35 monospace; letter-spacing: .1em; text-align: right; }
@keyframes chapterOrbit { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes dotPulse { 0%, 100% { scale: .8; opacity: .55; } 50% { scale: 1.35; opacity: 1; } }

@media (max-width: 800px) {
  .now-art { top: 130px; right: -32vw; width: 100vw; opacity: .55; }
  .now-item:nth-child(2), .now-item:nth-child(3) { margin-left: 0; }
  .personal-about { display: block; }
  .about-art { width: 160px; height: 220px; margin: 0 auto 55px; }
  .about-art span { font-size: 125px; }
  .about-art i { width: 240px; }
  .about-aside { margin-top: 45px; }
  .link-art { right: -8%; top: 3%; transform: scale(.8); transform-origin: top right; opacity: .45; }
}

/* Stronger entry pass: darkness -> ignition -> identity -> light pulse reveal. */
.art-loader { transition: background .8s ease; }
.art-loader:after { content: ""; position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle at 50% 44%, rgba(255,231,157,.5), transparent 12%, rgba(122,145,255,.08) 27%, transparent 48%); opacity: 0; transform: scale(.35); pointer-events: none; }
.loader-beam { position: absolute; z-index: 1; top: 10%; left: 50%; width: 2px; height: 80%; background: linear-gradient(180deg, transparent, rgba(255,236,165,.85), transparent); opacity: 0; filter: blur(8px); transform: translateX(-50%) scaleY(.1); transition: opacity .9s ease, transform 1.3s var(--ease-spring); }
.loader-sigil { position: absolute; z-index: 0; top: 50%; left: 50%; color: transparent; font-size: min(72vw, 900px); font-weight: 700; letter-spacing: -.18em; line-height: .6; opacity: 0; -webkit-text-stroke: 1px rgba(150,169,255,.38); transform: translate(-52%, -51%) scale(.72) rotate(-8deg); transition: opacity 1s ease, transform 1.5s var(--ease-spring); }
.loader-sigil span { position: absolute; top: 12%; right: 1%; color: #e9c875; font-size: .08em; -webkit-text-stroke: 0; text-shadow: 0 0 20px #e9c875; }
.loader-copy { z-index: 4; margin-top: 110px; }
.loader-copy strong { display: grid; gap: 0; margin: 35px 0 25px; font-size: clamp(74px, 14vw, 180px); line-height: .72; overflow: visible; }
.loader-copy strong > span { display: block; opacity: 0; transform: translateY(60px) scaleY(1.15); clip-path: inset(0 0 100% 0); }
.loader-copy strong > span em { color: #aab8ff; font-style: normal; }
.loader-subtitle { opacity: 0; transform: translateY(15px); transition: opacity .8s ease .9s, transform .9s var(--ease-spring) .9s; }
.loader-prompt { position: absolute; z-index: 4; right: 50%; bottom: 74px; display: flex; align-items: center; gap: 8px; color: #8b8f9d; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; transform: translateX(50%); opacity: 0; transition: opacity .6s ease 1.4s; }
.loader-prompt span { display: block; width: 5px; height: 5px; border: 1px solid #f0d681; border-radius: 50%; box-shadow: 0 0 12px #f0d681; animation: promptBlink 1.4s ease-in-out infinite; }
.loader-orbit { opacity: .25; transform: rotate(28deg) scaleY(.12); transition: opacity 1.2s ease, transform 1.8s var(--ease-spring); }
.orbit-two { transform: rotate(-34deg) scaleY(.1); }
.art-loader.is-igniting:after { opacity: .45; transform: scale(1.6); }
.art-loader.is-ignited:after { animation: ignitionBurst 1.7s var(--ease-spring) forwards; }
.art-loader.is-ignited .loader-sigil { opacity: 1; transform: translate(-52%, -51%) scale(1) rotate(-8deg); }
.art-loader.is-ignited .loader-beam { opacity: .45; transform: translateX(-50%) scaleY(1); }
.art-loader.is-ignited .loader-orbit { opacity: .78; transform: rotate(28deg) scaleY(.22); }
.art-loader.is-ignited .orbit-two { transform: rotate(-34deg) scaleY(.19); }
.art-loader.is-ignited .loader-copy strong > span { animation: titleRise 1.15s var(--ease-spring) forwards; }
.art-loader.is-ignited .loader-copy strong > span:nth-child(2) { animation-delay: .18s; }
.art-loader.is-ignited .loader-subtitle, .art-loader.is-ignited .loader-prompt { opacity: 1; transform: translateY(0); }
@keyframes titleRise { 0% { opacity: 0; transform: translateY(60px) scaleY(1.15); clip-path: inset(0 0 100% 0); } 60% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 1; transform: translateY(0) scaleY(1); clip-path: inset(0 0 0 0); } }
@keyframes ignitionBurst { 0% { opacity: .42; transform: scale(.4); } 45% { opacity: .95; transform: scale(2.4); } 100% { opacity: .12; transform: scale(1.2); } }
@keyframes promptBlink { 0%, 100% { opacity: .3; scale: .75; } 50% { opacity: 1; scale: 1.3; } }

@media (max-width: 800px) {
  .loader-copy { margin-top: 120px; }
  .loader-sigil { font-size: 115vw; }
  .loader-prompt { bottom: 70px; font-size: 8px; }
}

/* Make the entrance feel like crossing a threshold, not watching a title card. */
.loader-light-line { position: absolute; z-index: 3; top: 54%; left: 50%; width: 100vw; height: 1px; background: linear-gradient(90deg, transparent, #ffe7a0 25%, #fff8df 50%, #ffe7a0 75%, transparent); box-shadow: 0 0 14px #ffe7a0, 0 0 45px rgba(255,211,112,.8); opacity: 0; transform: translateX(-50%) scaleX(0); transition: opacity .65s ease, transform 1.4s var(--ease-spring); }
.loader-sigil { opacity: .03; -webkit-text-stroke: 2px rgba(150,169,255,.55); filter: drop-shadow(0 0 25px rgba(150,169,255,.2)); }
.loader-copy strong > span:first-child { transform: translateX(-80px) translateY(40px) scaleY(1.15); }
.loader-copy strong > span:last-child { transform: translateX(80px) translateY(40px) scaleY(1.15); }
.art-loader.is-igniting .loader-sigil { opacity: .17; transform: translate(-52%, -51%) scale(.88) rotate(-8deg); }
.art-loader.is-igniting .loader-light-line { opacity: .4; transform: translateX(-50%) scaleX(.55); }
.art-loader.is-ignited .loader-light-line { opacity: .8; transform: translateX(-50%) scaleX(1); }
.art-loader.is-ignited .loader-sigil { opacity: .34; transform: translate(-52%, -51%) scale(1.08) rotate(-8deg); }
.art-loader.is-ignited .loader-copy strong > span:first-child { transform: translateX(0) translateY(0) scaleY(1); }
.art-loader.is-ignited .loader-copy strong > span:last-child { transform: translateX(0) translateY(0) scaleY(1); }
.art-loader.is-leaving:after { opacity: .9; transform: scale(6); transition: opacity .95s ease, transform 1.2s var(--ease-spring); }
.art-loader.is-leaving .loader-light-line { opacity: 0; transform: translateX(-50%) scaleX(1.5); transition: opacity .4s ease, transform .7s var(--ease-spring); }
.art-loader.is-leaving .loader-copy { opacity: 0; transform: scale(1.08); transition: opacity .6s ease, transform .9s var(--ease-spring); }
.art-loader.is-leaving .loader-sigil { opacity: 0; transform: translate(-52%, -51%) scale(1.5) rotate(-8deg); transition: opacity .9s ease, transform 1s var(--ease-spring); }

.loader-kicker.mantra { color: #e6c879; font-family: Georgia, "Times New Roman", serif; font-size: clamp(15px, 2vw, 23px); font-weight: 400; letter-spacing: .045em; line-height: 1.35; text-transform: none; text-shadow: 0 0 22px rgba(232,200,121,.18); }
.loader-kicker.mantra:before, .loader-kicker.mantra:after { content: "·"; margin: 0 12px; color: rgba(230,200,121,.5); }
.loader-subtitle { letter-spacing: .14em; }

/* Public project gallery: proof of curiosity without exposing private work. */
.personal-projects { position: relative; }
.project-art { position: absolute; z-index: -1; top: 90px; right: -7vw; width: min(560px, 58vw); aspect-ratio: 1; pointer-events: none; opacity: .72; }
.project-art span { position: absolute; inset: 16% 0 0; color: rgba(145,164,255,.055); font-size: clamp(125px, 23vw, 290px); font-weight: 700; letter-spacing: -.16em; line-height: .8; }
.project-art i { position: absolute; inset: 16%; border: 1px solid rgba(145,164,255,.24); border-radius: 50%; transform: rotate(27deg) scaleY(.26); animation: chapterOrbit 15s linear infinite; }
.project-art i:after { content: ""; position: absolute; inset: 17%; border: 1px solid rgba(226,190,255,.2); border-radius: 50%; transform: rotate(-48deg) scaleY(.55); }
.project-art b { position: absolute; right: 14%; bottom: 16%; color: rgba(172,184,255,.52); font: 9px/1 monospace; letter-spacing: .15em; }
.project-list { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.project-item { position: relative; display: grid; grid-template-columns: 65px 1fr 42px; gap: 20px; align-items: start; overflow: hidden; border-bottom: 1px solid var(--line); padding: 30px 0; transition: padding .65s var(--ease-spring), border-color .4s ease; }
.project-item:before { content: ""; position: absolute; z-index: -1; inset: 0 -25vw; background: linear-gradient(90deg, rgba(128,155,255,.1), transparent 66%); opacity: 0; transform: translateX(-25px); transition: opacity .5s ease, transform .7s var(--ease-spring); }
.project-item:hover { padding-left: 18px; border-color: rgba(170,184,255,.35); }
.project-item:hover:before { opacity: 1; transform: translateX(0); }
.project-number { color: var(--muted); font: 11px/1 monospace; }
.project-meta { display: block; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.project-item h3 { position: relative; margin: 10px 0 8px; font-size: clamp(29px, 4.3vw, 49px); font-weight: 450; letter-spacing: -.065em; line-height: .96; }
.project-item h3 em { color: #e9cb77; font-style: normal; font-size: .68em; vertical-align: .14em; }
.project-item p { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.project-tags span { border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: 6px 8px; color: var(--muted); font-size: 9px; letter-spacing: .04em; }
.project-open { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(155,174,255,.35); border-radius: 50%; color: #a9b6ff; font-size: 19px; transition: transform .65s var(--ease-spring), background .35s ease, color .35s ease; }
.project-open:hover { color: #101117; background: #a9b6ff; transform: translate(4px, -4px) rotate(8deg); }
.project-kevin { --project-tone: #9fafff; }
.project-bitresearch { --project-tone: #9de3c1; }
.project-chronoquant { --project-tone: #deb5ff; }
.project-pager { --project-tone: #efc777; }
.project-item:after { content: ""; position: absolute; top: 36px; left: 54px; width: 4px; height: 4px; border-radius: 50%; background: var(--project-tone); box-shadow: 0 0 13px var(--project-tone); opacity: .75; }
.project-item:hover .project-number { color: var(--project-tone); }
body.personal-a.theme-light .project-tags span { border-color: rgba(20,27,36,.15); }
body.personal-a.theme-light .project-item:before { background: linear-gradient(90deg, rgba(104,120,237,.1), transparent 66%); }

@media (max-width: 800px) {
  .project-art { top: 130px; right: -26vw; width: 100vw; opacity: .5; }
  .project-item { grid-template-columns: 35px 1fr 34px; gap: 10px; padding: 28px 0; }
  .project-item:hover { padding-left: 8px; }
  .project-item:after { left: 27px; }
  .project-item h3 { font-size: 29px; }
  .project-meta { font-size: 8px; line-height: 1.35; }
}

/* Rocket jump: the theme switch is a tiny vehicle between two visual worlds. */
.rocket-switch { position: relative; display: block; flex: 0 0 76px; width: 76px; height: 82px; margin: -28px 0 -14px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; transition: transform .7s var(--ease-spring); }
.rocket-switch:hover { transform: translate(2px, -3px) rotate(3deg); }
.rocket-halo { position: absolute; z-index: 1; top: 3px; left: 3px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(151,184,255,.2), transparent 65%); opacity: .65; filter: blur(2px); transition: opacity .7s ease, transform .9s var(--ease-spring); }
.rocket-ship { position: absolute; z-index: 3; top: 14px; left: 26px; display: block; width: 27px; height: 42px; border: 1px solid rgba(219,229,255,.78); border-radius: 58% 58% 43% 43%; background: linear-gradient(135deg, #f3f6ff 0%, #9aa7c1 42%, #4c5870 100%); box-shadow: 0 0 13px rgba(137,173,255,.5), 0 12px 25px rgba(0,0,0,.28); transform: rotate(45deg); transform-origin: 50% 74%; transition: transform .8s var(--ease-spring), filter .6s ease, box-shadow .6s ease; }
.rocket-window { position: absolute; top: 8px; left: 7px; width: 10px; height: 10px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #82caff 42%, #3b5ca2 100%); box-shadow: 0 0 8px rgba(116,198,255,.8); }
.rocket-fin { position: absolute; bottom: 6px; width: 11px; height: 18px; background: #707d9a; clip-path: polygon(0 0, 100% 35%, 100% 100%, 18% 78%); }
.rocket-fin-left { left: -8px; transform: rotate(-14deg); }
.rocket-fin-right { right: -8px; transform: scaleX(-1) rotate(-14deg); }
.rocket-flame { position: absolute; left: 8px; bottom: -16px; width: 10px; height: 20px; border-radius: 50% 50% 62% 62%; background: linear-gradient(#fff5ba, #ffb13f 44%, rgba(255,88,78,.05)); filter: drop-shadow(0 0 8px #ffb54c); animation: rocketFlame .55s ease-in-out infinite alternate; }
.rocket-switch:hover .rocket-ship { transform: rotate(45deg) translate(3px, -3px) scale(1.08); filter: brightness(1.12); }
.rocket-switch .voyager-top-ship { top: 19px; left: 3px; width: 110px; height: 47px; transform: rotate(-7deg) scale(.62); transform-origin: center; transition: transform .8s var(--ease-spring), filter .6s ease, box-shadow .6s ease; }
.rocket-switch .voyager-top-ship .voyager-flame { left: -21px; top: 16px; width: 30px; height: 15px; }
.rocket-switch:hover .voyager-top-ship { transform: rotate(-3deg) translate(3px, -3px) scale(.68); filter: brightness(1.12); }
.rocket-switch.is-launching { pointer-events: none; }
.rocket-switch.is-launching:after { content: ""; position: absolute; z-index: 2; top: 29px; left: 19px; width: 58px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(170, 202, 255, .5), transparent); filter: blur(4px); transform: rotate(45deg) scaleX(.2); transform-origin: 8% 50%; animation: rocketTrail 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch.is-launching .rocket-ship { animation: rocketTimeTravel 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch.is-launching .rocket-flame { animation: rocketBoostFlame 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch.is-launching .rocket-halo { animation: rocketHaloTravel 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch.is-launching:after { top: 38px; left: 1px; width: 86px; background: linear-gradient(90deg, transparent, rgba(170, 202, 255, .58), rgba(255, 219, 160, .18), transparent); transform: rotate(-7deg) scaleX(.1); transform-origin: 0 50%; animation: voyagerTopTrail 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch.is-launching .voyager-top-ship { animation: voyagerTopTimeTravel 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch.is-launching .voyager-top-ship .voyager-flame { animation: voyagerTopFlame 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.rocket-switch[aria-pressed="true"] .rocket-halo { opacity: .95; transform: scale(1.2); background: radial-gradient(circle, rgba(255,191,111,.28), transparent 67%); }
.rocket-switch[aria-pressed="true"] .rocket-ship { border-color: #fff0b6; background: linear-gradient(135deg, #fffdf1, #ffc96a 47%, #c96b3b); box-shadow: 0 0 18px rgba(255,197,111,.78), 0 12px 25px rgba(0,0,0,.16); }
.rocket-switch[aria-pressed="true"] .rocket-fin { background: #d47a53; }
.rocket-switch[aria-pressed="true"] .voyager-top-ship { border-color: #fff0b6; background: linear-gradient(145deg, #fffdf1 0%, #ffc96a 48%, #c96b3b 100%); box-shadow: inset 8px 6px 13px rgba(255,255,255,.56), inset -12px -9px 17px rgba(113,55,35,.3), 0 0 20px rgba(255,197,111,.72), 0 12px 25px rgba(0,0,0,.16); }
.rocket-switch[aria-pressed="true"] .voyager-top-ship .voyager-nose { background: linear-gradient(145deg, #fffbe8, #ffc15e 58%, #c36342); }
.rocket-switch[aria-pressed="true"] .voyager-top-ship .voyager-fin { background: linear-gradient(135deg, #d47a53, #8d4f54); }
@keyframes rocketFlame { from { transform: scaleY(.76) translateY(-1px); opacity: .72; } to { transform: scaleY(1.16) translateY(2px); opacity: 1; } }
@keyframes rocketTimeTravel { 0% { transform: rotate(45deg) translate(0, 0) scale(1); filter: blur(0) brightness(1); opacity: 1; } 14% { transform: rotate(45deg) translate(-2px, 2px) scale(1.04); filter: blur(.2px) brightness(1.12); } 36% { transform: rotate(45deg) translate(18px, -22px) scale(1.22); filter: blur(.4px) brightness(1.22); } 55% { transform: rotate(45deg) translate(45px, -55px) scale(.98); filter: blur(1.3px) brightness(1.35); opacity: .82; } 71% { transform: rotate(45deg) translate(61px, -74px) scale(.76); filter: blur(3.2px) brightness(1.55); opacity: .38; } 84% { transform: rotate(45deg) translate(30px, -38px) scale(.86); filter: blur(1.8px) brightness(1.3); opacity: .68; } 100% { transform: rotate(45deg) translate(0, 0) scale(1); filter: blur(0) brightness(1); opacity: 1; } }
@keyframes rocketTrail { 0% { opacity: 0; transform: rotate(45deg) scaleX(.1); } 27% { opacity: .35; transform: rotate(45deg) scaleX(1.1); } 58% { opacity: 1; transform: rotate(45deg) scaleX(2.2); } 78% { opacity: .42; transform: rotate(45deg) scaleX(1.1); } 100% { opacity: 0; transform: rotate(45deg) scaleX(.25); } }
@keyframes rocketBoostFlame { 0% { transform: scaleY(.8); opacity: .7; } 32% { transform: scaleY(1.35); opacity: 1; } 57% { transform: scaleY(2.8); opacity: 1; } 76% { transform: scaleY(1.5); opacity: .8; } 100% { transform: scaleY(.8); opacity: .7; } }
@keyframes rocketHaloTravel { 0% { opacity: .6; transform: scale(.8); } 46% { opacity: 1; transform: scale(1.55); } 74% { opacity: .35; transform: scale(2.2); } 100% { opacity: .6; transform: scale(1); } }
@keyframes voyagerTopTimeTravel { 0% { transform: rotate(-7deg) translate(0, 0) scale(.62); filter: blur(0) brightness(1); opacity: 1; } 14% { transform: rotate(-7deg) translate(-2px, 1px) scale(.68); filter: blur(.2px) brightness(1.12); } 36% { transform: rotate(-7deg) translate(14px, -8px) scale(.84); filter: blur(.4px) brightness(1.22); } 55% { transform: rotate(-7deg) translate(36px, -21px) scale(1.02); filter: blur(1.3px) brightness(1.4); opacity: .82; } 71% { transform: rotate(-7deg) translate(52px, -30px) scale(.76); filter: blur(3.2px) brightness(1.55); opacity: .38; } 84% { transform: rotate(-7deg) translate(22px, -13px) scale(.72); filter: blur(1.8px) brightness(1.3); opacity: .68; } 100% { transform: rotate(-7deg) translate(0, 0) scale(.62); filter: blur(0) brightness(1); opacity: 1; } }
@keyframes voyagerTopTrail { 0% { opacity: 0; transform: rotate(-7deg) scaleX(.1); } 27% { opacity: .35; transform: rotate(-7deg) scaleX(1.1); } 58% { opacity: 1; transform: rotate(-7deg) scaleX(2.2); } 78% { opacity: .42; transform: rotate(-7deg) scaleX(1.1); } 100% { opacity: 0; transform: rotate(-7deg) scaleX(.25); } }
@keyframes voyagerTopFlame { 0% { transform: scaleX(.8); opacity: .7; } 32% { transform: scaleX(1.35); opacity: 1; } 57% { transform: scaleX(2.8); opacity: 1; } 76% { transform: scaleX(1.5); opacity: .8; } 100% { transform: scaleX(.8); opacity: .7; } }

/* A short tunnel of light makes the theme change feel like a jump between galaxies. */
.time-warp { position: fixed; z-index: 15; inset: -30%; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, transparent 0 16%, rgba(132,167,255,.16) 18%, transparent 21% 35%, rgba(218,183,255,.1) 37%, transparent 40%); mix-blend-mode: screen; transform: scale(.35); }
.time-warp:before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at center, transparent 0 4%, rgba(152,191,255,.16) 4.3% 4.55%, transparent 4.8% 9%); transform: scale(.15); }
.time-warp:after { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg, transparent 0 9deg, rgba(255,214,147,.1) 9.5deg 10deg, transparent 10.5deg 22deg); }
body.is-traveling .time-warp { opacity: .92; animation: warpArrival 2.4s cubic-bezier(.16, 1, .3, 1) both; }
body.is-traveling .time-warp:before { animation: warpTunnel 2.4s cubic-bezier(.16, 1, .3, 1) both; }
body.is-traveling .time-warp:after { animation: warpSpin 2.4s cubic-bezier(.16, 1, .3, 1) both; }
body.is-traveling .hero-canvas { animation: canvasTimeTravel 2.4s cubic-bezier(.16, 1, .3, 1) both; }
body.theme-light.is-traveling .time-warp { mix-blend-mode: multiply; }
@keyframes warpArrival { 0% { opacity: 0; transform: scale(.18) rotate(-8deg); } 17% { opacity: .65; } 42% { opacity: 1; transform: scale(.68) rotate(-2deg); } 63% { opacity: .84; transform: scale(1.06) rotate(3deg); } 82% { opacity: .32; transform: scale(1.56) rotate(7deg); } 100% { opacity: 0; transform: scale(2.2) rotate(11deg); } }
@keyframes warpTunnel { 0% { opacity: 0; transform: scale(.05); } 22% { opacity: .35; transform: scale(.24); } 48% { opacity: 1; transform: scale(.9); } 68% { opacity: .8; transform: scale(1.4); } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes warpSpin { 0% { opacity: 0; transform: rotate(0deg) scale(.35); } 28% { opacity: .6; transform: rotate(35deg) scale(.65); } 56% { opacity: .9; transform: rotate(115deg) scale(1); } 78% { opacity: .4; transform: rotate(220deg) scale(1.3); } 100% { opacity: 0; transform: rotate(330deg) scale(1.7); } }
@keyframes canvasTimeTravel { 0% { filter: blur(0) saturate(1); transform: scale(1); } 26% { filter: blur(1px) saturate(1.25); transform: scale(1.035); } 52% { filter: blur(4px) saturate(1.9); transform: scale(1.16); } 72% { filter: blur(2.4px) saturate(1.5); transform: scale(1.09); } 100% { filter: blur(0) saturate(1); transform: scale(1); } }

/* The status pill is a live transmission from the user's current orbit. */
.status-dot { animation: signalPulse 2.2s ease-in-out infinite; }
.island-label { text-transform: uppercase; letter-spacing: .08em; }
.island-panel { width: 320px; }
.island-panel strong { max-width: 250px; }
.island-coordinates { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 16px; color: #8b95a8; font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.island-coordinates span { border-left: 1px solid rgba(255,255,255,.22); padding-left: 8px; }
.island-coordinates span:first-child { border-left: 0; padding-left: 0; }
@keyframes signalPulse { 0%, 100% { transform: scale(.86); opacity: .72; } 50% { transform: scale(1.15); opacity: 1; } }
body.personal-a.theme-light .island-coordinates { color: #68717b; }
body.personal-a.theme-light .island-coordinates span { border-color: rgba(20,27,36,.18); }

/* Rocket version of the opening sequence. */
.loader-rocket { position: absolute; z-index: 5; top: 21%; left: 50%; width: 48px; height: 82px; border: 1px solid rgba(229,236,255,.84); border-radius: 60% 60% 43% 43%; background: linear-gradient(135deg, #fcfdff, #9ba9c5 45%, #48556e); box-shadow: 0 0 18px rgba(145,180,255,.6), 0 0 70px rgba(111,140,255,.3); transform: translateX(-50%) rotate(45deg); transform-origin: 50% 72%; opacity: .22; filter: saturate(.3) brightness(.65); animation: loaderRocketFloat 3.4s ease-in-out infinite; transition: opacity .55s ease, filter .8s ease, transform 1.1s var(--ease-spring); }
.loader-rocket:before, .loader-rocket:after { content: ""; position: absolute; bottom: 7px; width: 20px; height: 31px; background: #596680; clip-path: polygon(0 0, 100% 32%, 100% 100%, 18% 76%); }
.loader-rocket:before { left: -14px; transform: rotate(-15deg); }
.loader-rocket:after { right: -14px; transform: scaleX(-1) rotate(-15deg); }
.loader-rocket-window { position: absolute; top: 15px; left: 13px; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff, #86ccff 42%, #3b5aa0); box-shadow: 0 0 12px #87cbff; }
.loader-rocket-flame { position: absolute; left: 17px; bottom: -31px; width: 14px; height: 34px; border-radius: 50% 50% 65% 65%; background: linear-gradient(#fffbd4, #ffc34d 38%, rgba(255,82,82,.05)); filter: drop-shadow(0 0 10px #ffbc5b); animation: rocketFlame .55s ease-in-out infinite alternate; }
@keyframes loaderRocketFloat { 0%, 100% { margin-top: -6px; } 50% { margin-top: 10px; } }
.art-loader.is-igniting .loader-rocket { opacity: .72; filter: saturate(.85) brightness(1.06); transform: translateX(-50%) rotate(45deg) scale(1.12); }
.art-loader.is-ignited .loader-rocket { opacity: 1; filter: saturate(1) brightness(1.18); transform: translateX(-50%) rotate(45deg) scale(1.17); }
.art-loader.is-leaving .loader-rocket { transform: translateX(-50%) rotate(45deg) scale(2); filter: brightness(1.8) saturate(1.4); transition: transform .9s var(--ease-spring), filter .9s ease; }

@media (max-width: 800px) {
  .rocket-switch { flex-basis: 58px; width: 58px; height: 70px; margin-top: -18px; }
  .rocket-halo { left: -3px; transform: scale(.82); }
  .rocket-ship { top: 9px; left: 18px; transform: rotate(45deg) scale(.82); }
  .rocket-switch:hover .rocket-ship { transform: rotate(45deg) translate(2px, -2px) scale(.9); }
  .rocket-switch .voyager-top-ship { top: 21px; left: -1px; transform: rotate(-7deg) scale(.5); }
  .rocket-switch:hover .voyager-top-ship { transform: rotate(-3deg) translate(2px, -2px) scale(.55); }
  .island-panel { width: min(320px, calc(100vw - 32px)); }
  .loader-rocket { top: 18%; transform: translateX(-50%) rotate(45deg) scale(.82); }
  .art-loader.is-igniting .loader-rocket { transform: translateX(-50%) rotate(45deg) scale(.93); }
  .art-loader.is-ignited .loader-rocket { transform: translateX(-50%) rotate(45deg) scale(.98); }
}
