:root {
  color-scheme: light;
  --paper: #faf5f3;
  --ink: #382833;
  --muted: #786872;
  --line: #e8dcdf;
  --surface: #fffaf8;
  --pink: #eb477e;
  --shadow: #61354b12;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; transition: background .35s, color .35s; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 740px; pointer-events: none; background: radial-gradient(ellipse at 85% 30%, #f9d6e488, transparent 45%), radial-gradient(ellipse at 12% 5%, #efe4ff77, transparent 40%); z-index: -1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
::selection { background: #f5b7d0; color: #352230; }
.skip { position: fixed; top: -80px; left: 16px; padding: 15px; border-radius: 12px; background: var(--ink); color: var(--paper); z-index: 20; }
.skip:focus { top: 16px; }
.page { max-width: 1180px; padding: 0 42px; margin: 0 auto; }
.masthead { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font: italic 38px Georgia, serif; letter-spacing: -4px; display: flex; align-items: center; gap: 8px; }
.wordmark span { color: var(--pink); font: 25px sans-serif; letter-spacing: 0; }
.masthead-note { font-size: 12px; color: var(--muted); letter-spacing: .2px; }
.mood-toggle { border: 1px solid var(--line); background: var(--surface); border-radius: 30px; padding: 10px 15px; display: flex; align-items: center; gap: 8px; font-size: 11px; box-shadow: 0 2px 3px var(--shadow); }
.mood-icon { font-size: 18px; line-height: 1; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 40px; padding: 63px 0 70px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 650; letter-spacing: 1.6px; margin: 0 0 24px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8c9765; box-shadow: 0 0 0 4px #8c976512; flex-shrink: 0; }
h1 { font-size: clamp(50px, 5.8vw, 73px); letter-spacing: -4px; line-height: 1.04; margin: 0 0 23px; font-weight: 600; position: relative; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 em { color: var(--pink); }
.title-star { display: inline-block; color: var(--pink); font-size: 45px; margin-left: 15px; vertical-align: top; transform: rotate(-13deg); }
.bio { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 405px; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 24px; position: relative; }
.contact { display: inline-flex; align-items: center; gap: 29px; padding: 13px 20px; background: var(--ink); color: var(--paper); border-radius: 30px; font-size: 12px; box-shadow: 0 4px 8px var(--shadow); transition: transform .2s; }
.contact:hover { transform: translateY(-3px); }
.copy-email { display: flex; align-items: center; gap: 7px; padding: 10px 0; background: none; border: 0; font-size: 11px; color: var(--muted); }
.copy-email svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.copy-email:hover { color: var(--pink); }
.copy-status { flex-basis: 100%; font-size: 11px; color: var(--muted); }
.copy-status:empty { display: none; }
.portrait-scene { position: relative; width: 310px; height: 310px; justify-self: center; }
.portrait-card { position: absolute; inset: 7px 40px 13px 26px; padding: 10px 10px 0; background: #fffdf9; border: 1px solid #eee0e5; border-radius: 7px; box-shadow: 0 14px 32px #672c4620, 0 2px 3px #672c4610; transform: rotate(7deg); transition: transform .4s; }
.portrait-scene:hover .portrait-card { transform: rotate(2deg) translateY(-5px); }
.portrait-image { height: 226px; border-radius: 3px; overflow: hidden; background: #f4dce9; }
.portrait-image img { width: 100%; height: 100%; object-fit: cover; }
.portrait-caption { display: flex; justify-content: space-between; align-items: center; padding: 13px 3px; font: italic 19px Georgia, serif; color: #513544; }
.portrait-caption>span:last-child { color: #ce5a8d; font-size: 25px; }
.sticker { position: absolute; z-index: 2; box-shadow: 0 4px 9px #56394619; }
.otaku { right: -10px; top: 11px; transform: rotate(12deg); border: 4px solid #fffdf9; border-radius: 50%; background: #e1e99f; padding: 19px 14px; text-align: center; font: italic 14px Georgia, serif; color: #494d28; }
.otaku strong { font: 600 13px "Avenir Next", sans-serif; }
.location { bottom: 32px; left: -24px; background: #eedff9; padding: 11px 17px; transform: rotate(-9deg); border: 3px solid #fffdf9; border-radius: 9px; font-size: 10px; color: #654976; }
.location>span { margin-right: 6px; }
.scene-spark { position: absolute; color: #c4789c; }
.spark-one { top: 0; left: -20px; font: 60px Georgia,serif; transform: rotate(-12deg); }
.spark-two { bottom: 5px; right: 0; font-size: 38px; color: #989b62; }
.portrait-note { position: absolute; bottom: -22px; right: 39px; transform: rotate(-5deg); font: italic 17px Georgia, serif; color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
h2 { font-size: 23px; letter-spacing: -.8px; font-weight: 600; margin: 0; }
.orange { color: var(--pink); }
.section-heading>span { font-size: 8px; letter-spacing: 1.6px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: 25px; padding: 25px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #ffffff60; box-shadow: 0 3px 0 #442b3910; }
a.card { transition: transform .3s, box-shadow .3s; }
a.card:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: 0 14px 28px #442b391c; }
.card-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.arrow { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-size: 17px; opacity: .65; transition: transform .25s, opacity .25s; }
a.card:hover .arrow { transform: rotate(45deg); opacity: 1; }
.card h3 { font-size: 22px; line-height: 1.16; letter-spacing: -.8px; font-weight: 550; margin: 0 0 9px; }
.card p { font-size: 11px; line-height: 1.65; margin: 0; }
.card .kicker { font-size: 8px; font-weight: 600; letter-spacing: 1.7px; margin-bottom: 11px; }
.brand { width: 29px; height: 29px; }
.domain { display: block; font-size: 9px; margin-top: 14px; }
.portfolio { grid-column: span 6; min-height: 239px; color: #513647; background: #f2d7e3; }
.portfolio>div { position: relative; z-index: 1; max-width: 65%; }
.portfolio .card-top { max-width: 100%; }
.portfolio h3 { font-size: 33px; letter-spacing: -1px; }
.portfolio p:not(.kicker) { max-width: 240px; }
.code { font: 600 19px monospace; }
.github { grid-column: span 3; background: #322e3d; color: #fbf1f7; }
.github p, .github .domain { color: #d0bdd1; }
.github .domain { font-size: 8px; }
.linkedin { grid-column: span 3; color: #40526e; background: #dbe8f1; }
.linkedin-logo { font-size: 29px; line-height: 1; font-weight: 750; letter-spacing: -2px; }
.linkedin h3 { font-size: 20px; }
.annie { grid-column: span 5; grid-row: span 2; min-height: 374px; padding: 0; color: #fff6fb; background: #302032; }
.annie>img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; transition: transform .6s; }
.annie:hover>img { transform: scale(1.06); }
.annie::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #2517241a 25%, #251724eb 100%); }
.project-tag { position: absolute; top: 21px; left: 21px; z-index: 1; background: #fff5f22a; border: 1px solid #fff6; border-radius: 20px; padding: 8px 11px; font-size: 7px; letter-spacing: 1px; backdrop-filter: blur(12px); }
.annie>.arrow { position: absolute; right: 21px; top: 21px; z-index: 1; }
.project-caption { position: absolute; left: 25px; right: 25px; bottom: 26px; z-index: 1; }
.project-caption h3 { font-size: 43px; }
.project-caption p { color: #ecdce8; margin-bottom: 15px; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 20px; border: 1px solid #ffffff50; font-size: 8px; margin-right: 5px; }
.work { grid-column: 6 / 10; background: #ece7df; color: #594e46; min-height: 178px; }
.academia-logo { font: 35px/.8 Georgia,serif; }
.work .card-top { margin-bottom: 17px; }
.work h3 { font-size: 21px; }
.work .kicker { margin-bottom: 4px; }
.anilist { grid-column: 10 / 13; grid-row: span 2; background: #ded5f1; color: #514061; }
.anilist h3 { font-size: 28px; }
.anilist>div:last-child { position: relative; z-index: 1; }
.anilist::before { content: "♡"; position: absolute; font: 210px/1 Georgia,serif; right: -25px; top: 60px; color: #b89bd940; transform: rotate(-18deg); }
.anilist-logo { font-size: 26px; font-weight: 800; letter-spacing: -3px; }
.anilist-logo span { color: #8465a4; }
.spotify { grid-column: 6 / 10; min-height: 220px; background: #e3e9bc; color: #434d32; }
.spotify h3 { font-size: 25px; }
.spotify .card-top { margin-bottom: 16px; }
.music-copy { position: relative; z-index: 1; max-width: 78%; }
.listen { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; font-size: 9px; }
.listen>span { width: 24px; height: 24px; border-radius: 50%; background: #434d32; color: #e3e9bc; display: grid; place-items: center; font-size: 8px; }
.record { position: absolute; width: 157px; height: 157px; border-radius: 50%; right: -90px; bottom: 12px; border: 4px solid #33322e; background: repeating-radial-gradient(circle, #33322e 0 2px, #45483b 3px 4px); animation: spin 14s linear infinite; animation-play-state: paused; }
.spotify:hover .record, .spotify:focus-visible .record { animation-play-state: running; }
.record-label { position: absolute; inset: 44px; border-radius: 50%; background: #d9a6be; color: #563447; display: grid; place-content: center; text-align: center; font: italic 26px Georgia, serif; }
.record-label span { display: block; font: 5px sans-serif; letter-spacing: 1px; margin-top: 4px; }
.twitter, .medium { grid-column: span 6; min-height: 125px; flex-direction: row; align-items: center; gap: 24px; background: var(--surface); border-color: var(--line); }
.twitter .card-top, .medium .card-top { position: static; }
.twitter .arrow, .medium .arrow { position: absolute; top: 46px; right: 25px; }
.twitter>div:last-child, .medium>div:last-child { margin-right: auto; padding-right: 25px; }
.twitter h3, .medium h3 { font-size: 20px; }
.twitter p, .medium p { color: var(--muted); }
.x-logo { font-size: 30px; }
.medium-logo { font: 36px Georgia,serif; }
.second { margin-top: 43px; }
.off-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.off-grid .card { min-height: 161px; }
.gaming { background: #f0dfe5; color: #634457; padding-left: 78px; justify-content: center; }
.tiny-heart { position: absolute; right: 22px; top: 15px; font: 30px Georgia,serif; }
.gaming h3 { font-size: 23px; }
.gaming .kicker { margin-bottom: 7px; }
.music-profile { background: #ece3d5; color: #695946; flex-direction: row; align-items: center; justify-content: start; gap: 26px; }
.music-profile h3 { font-size: 23px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); margin-top: 43px; padding: 30px 0 35px; color: var(--muted); font-size: 9px; }
.footer-signature { font: italic 18px Georgia,serif; color: var(--ink); }
.footer-signature>span { color: var(--pink); }
footer a:hover { color: var(--pink); }
body.night { color-scheme: dark; --paper: #211c28; --ink: #f4e5ee; --muted: #bfaaba; --line: #453645; --surface: #302635; --pink: #f4a3c5; --shadow: #0003; }
body.night::before { opacity: .12; }
body.night .portrait-card { box-shadow: 0 12px 40px #0005; }
body.night .card { box-shadow: 0 3px 0 #0003; }
body.night .portfolio { background: #573747; color: #ffe5f1; }
body.night .github { background: #42344e; }
body.night .linkedin { background: #304356; color: #dfecf9; }
body.night .work { background: #49403e; color: #f1dfd5; }
body.night .anilist { background: #49365c; color: #f2e3ff; }
body.night .spotify { background: #414b32; color: #edf3ce; }
body.night .gaming { background: #523545; color: #f4dfea; }
body.night .music-profile { background: #4b4036; color: #f4e7d4; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .page { padding: 0 28px; }
  .hero { gap: 15px; }
  h1 { font-size: 60px; }
  .portrait-scene { transform: scale(.9); transform-origin: center; }
  .card { padding: 20px; }
  .portfolio { grid-column: span 6; }
  .portfolio h3 { font-size: 30px; }
  .github, .linkedin { grid-column: span 3; }
  .card h3 { font-size: 20px; }
  .annie { padding: 0; grid-column: span 6; grid-row: span 2; }
  .project-caption h3 { font-size: 38px; }
  .work { grid-column: 7 / 13; }
  .anilist { grid-column: span 6; grid-row: auto; min-height: 210px; }
  .spotify { grid-column: 7 / 13; grid-row: 3; }
  .twitter { grid-column: span 6; }
  .medium { grid-column: span 12; }
  .gaming { padding-left: 64px; }
  .gaming h3 { font-size: 21px; }
  .record { right: -55px; }
  .title-star { font-size: 32px; margin-left: 8px; }
}
@media (max-width: 700px) {
  .page { max-width: 520px; padding: 0 20px; }
  .masthead { height: 76px; }
  .masthead-note { font-size: 10px; max-width: 105px; text-align: center; }
  .wordmark { font-size: 32px; }
  .mood-toggle { font-size: 10px; padding: 9px 11px; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 48px; gap: 32px; }
  .eyebrow { font-size: 7px; letter-spacing: 1.15px; margin-bottom: 20px; }
  h1 { font-size: clamp(45px, 11.7vw, 60px); letter-spacing: -2.8px; }
  .title-star { font-size: 30px; }
  .bio { font-size: 12px; max-width: 340px; }
  .portrait-scene { width: 290px; height: 285px; transform: none; }
  .portrait-card { inset: 5px 39px 5px 27px; }
  .portrait-image { height: 211px; }
  .portrait-caption { font-size: 17px; }
  .location { left: -3px; bottom: 17px; }
  .otaku { right: 1px; }
  .spark-one { left: 0; }
  .spark-two { right: 10px; bottom: 0; }
  .portrait-note { bottom: -20px; }
  .section-heading { gap: 10px; }
  h2 { font-size: 23px; }
  .section-heading>span { font-size: 6px; letter-spacing: .8px; }
  .grid { gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { border-radius: 21px; padding: 20px; }
  .portfolio { grid-column: span 2; min-height: 233px; }
  .portfolio h3 { font-size: 35px; }
  .github, .linkedin { grid-column: span 1; min-height: 225px; }
  .github h3, .linkedin h3 { font-size: 20px; }
  .github .domain { overflow-wrap: anywhere; line-height: 1.5; }
  .annie { padding: 0; grid-column: span 2; grid-row: auto; min-height: 366px; }
  .work { grid-column: span 1; min-height: 195px; }
  .anilist { grid-column: span 1; min-height: 195px; }
  .anilist h3 { font-size: 23px; }
  .anilist::before { font-size: 130px; top: 42px; }
  .spotify { grid-column: span 2; grid-row: auto; min-height: 243px; }
  .spotify h3 { font-size: 31px; }
  .record { width: 185px; height: 185px; right: -67px; bottom: 5px; }
  .record-label { inset: 54px; }
  .twitter, .medium { grid-column: span 2; min-height: 114px; }
  .twitter .arrow, .medium .arrow { top: 40px; right: 20px; }
  .twitter h3, .medium h3 { font-size: 21px; }
  .second { margin-top: 33px; }
  .off-grid { grid-template-columns: 1fr; gap: 13px; }
  .off-grid .card { min-height: 150px; }
  .gaming { padding-left: 72px; }
  .gaming h3 { font-size: 23px; }
  footer { flex-wrap: wrap; gap: 15px; padding: 25px 0; margin-top: 30px; }
  .footer-signature { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Downloaded artwork is presented in small photo frames. */
.illustration { object-fit: contain; pointer-events: none; filter: drop-shadow(0 7px 5px #49304318); }
.code-cat { position: absolute; width: 43%; height: 205px; right: -5px; bottom: -5px; transform: rotate(7deg); transition: transform .4s; }
.portfolio:hover .code-cat { transform: rotate(-3deg) translateY(-6px); }
.off-grid .gaming { min-height: 340px; padding: 25px; justify-content: flex-end; }
.gaming > div { position: relative; z-index: 1; }
.off-grid .music-profile { padding: 25px; min-height: 340px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0; }
.music-cat { position: absolute; width: 210px; height: 210px; top: 10px; right: 15px; transform: rotate(9deg); transition: transform .4s; }
.music-profile:hover .music-cat { transform: rotate(-5deg) translateY(-5px); }
.music-profile > div { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .code-cat { width: 43%; height: 165px; right: -7px; bottom: 4px; }
  .off-grid .gaming, .off-grid .music-profile { min-height: 310px; padding: 23px; }
  .music-cat { width: 200px; height: 200px; right: 15px; top: 0; }
}

.code-cat { width: 34%; height: auto; right: 16px; bottom: 15px; padding: 5px; background: #fff; border: 1px solid #eadce4; border-radius: 18px; }
.music-cat { width: 185px; height: 185px; object-fit: contain; padding: 6px; background: #fff; border-radius: 20px; top: 16px; right: 25px; }
.hero-portraits { position: absolute; top: 25px; left: 22px; right: 22px; display: flex; justify-content: center; gap: 10px; }
.hero-portraits figure { width: 30%; max-width: 125px; margin: 0; padding: 5px 5px 8px; border-radius: 12px; background: #fffaf8; box-shadow: 0 5px 12px #39223620; transform: rotate(-7deg); }
.hero-portraits figure:nth-child(2) { transform: translateY(10px) rotate(2deg); }
.hero-portraits figure:nth-child(3) { transform: rotate(8deg); }
.hero-portraits img { display: block; width: 100%; height: auto; border-radius: 8px; background: #eadfeb; }
.hero-portraits figcaption { text-align: center; font: italic 15px Georgia, serif; color: #513544; margin-top: 7px; }
@media (max-width: 700px) {
  .code-cat { width: 34%; height: auto; right: 10px; bottom: 19px; }
  .hero-portraits { top: 27px; left: 16px; right: 16px; gap: 6px; }
}
.gaming > .hero-portraits { position: absolute; }
