:root {
  --ink: #272438;
  --muted: #716b82;
  --line: rgba(88, 72, 122, .15);
  --lavender: #e9e2ff;
  --lilac: #cfc1ff;
  --blue: #c8dbff;
  --rose: #ffd7e7;
  --glass: rgba(255, 255, 255, .46);
  --glass-strong: rgba(255, 255, 255, .64);
  --shadow: 0 18px 60px rgba(77, 59, 120, .12);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: #f7f5fc;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: linear-gradient(135deg, #fbfaff 0%, #f1eefb 48%, #faf8ff 100%); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .26; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); mix-blend-mode: multiply; z-index: 5; }
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(4px); z-index: -1; }
.ambient-one { width: 44vw; height: 44vw; top: -20vw; right: -12vw; background: rgba(209, 197, 255, .35); }
.ambient-two { width: 32vw; height: 32vw; bottom: 12vh; left: -18vw; background: rgba(203, 225, 255, .3); }
.section-shell, .site-header { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-weight: 700; letter-spacing: -.03em; }
.brand-name { font-size: 15px; }
.nav-links { display: flex; gap: 30px; color: var(--muted); font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { min-width: 39px; padding-inline: 0; justify-content: center; cursor: pointer; font-family: inherit; color: var(--ink); font-size: 14px; }
.nav-links a, .text-link, .site-footer a { transition: color .2s ease; }
.nav-links a:hover, .text-link:hover, .site-footer a:hover { color: #765fbb; }
.glass-button { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 45px; padding: 0 17px; border: 1px solid rgba(255,255,255,.75); border-radius: 15px; background: linear-gradient(140deg, rgba(255,255,255,.65), rgba(237,228,255,.34)); box-shadow: inset 0 1px rgba(255,255,255,.8), inset 0 -1px rgba(120,96,166,.08), 0 10px 28px rgba(95,76,139,.11); backdrop-filter: blur(17px) saturate(125%); -webkit-backdrop-filter: blur(17px) saturate(125%); font-size: 13px; font-weight: 700; transform: translate3d(var(--mx), var(--my), 0); transition: box-shadow .25s ease, background .25s ease, transform .22s cubic-bezier(.2,.8,.2,1); }
.glass-button::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.55), transparent 38%); opacity: .7; pointer-events: none; }
.glass-button:hover { background: linear-gradient(140deg, rgba(255,255,255,.83), rgba(225,213,255,.54)); box-shadow: inset 0 1px rgba(255,255,255,.95), 0 15px 34px rgba(93,70,148,.18); }
.glass-button span { position: relative; z-index: 1; }
.glass-button.compact { min-height: 39px; padding-inline: 15px; font-size: 12px; }
.glass-button.primary { min-height: 49px; padding-inline: 21px; background: linear-gradient(135deg, #8d78ce, #ad95e4); border-color: rgba(255,255,255,.62); color: white; box-shadow: 0 14px 30px rgba(117,88,187,.25); }
.glass-button.primary:hover { background: linear-gradient(135deg, #806bc3, #a98bdc); }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 44px; min-height: 670px; padding-block: 54px 84px; }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 4vw, 58px); }
.eyebrow, .section-kicker { margin: 0 0 18px; color: #7d6eaa; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #8dcaa2; box-shadow: 0 0 0 4px rgba(141,202,162,.14); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 560px; margin-bottom: 24px; font-size: clamp(48px, 6.2vw, 82px); line-height: .98; letter-spacing: -.075em; font-weight: 700; }
h1 em, h2 em { color: #8e79c9; font-style: normal; }
h1 i { color: #272438; font-family: "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; font-weight: 400; }
.pixel-heading { font-family: "Fusion Pixel 12px Mono latin", "Noto Sans SC", "PingFang SC", monospace; letter-spacing: 0; }
.hero-lede { max-width: 470px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.text-link { color: #645a7b; font-size: 13px; font-weight: 700; }
.hero-meta { display: flex; align-items: center; gap: 13px; margin-top: 72px; color: #9690a7; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.meta-divider { width: 28px; height: 1px; background: var(--line); }
.hero-visual { position: relative; min-height: 505px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.hero-visual::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.78); border-radius: inherit; pointer-events: none; z-index: 2; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual img { width: 100%; height: 100%; min-height: 505px; object-fit: cover; display: block; }
.visual-glass { position: absolute; z-index: 3; border: 1px solid rgba(255,255,255,.82); background: rgba(250,248,255,.74); box-shadow: inset 0 1px rgba(255,255,255,.9), 0 14px 34px rgba(34,26,64,.24); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); }
.visual-note { right: 22px; bottom: 22px; display: grid; gap: 4px; min-width: 190px; padding: 15px 17px; border-radius: 16px; }
.note-kicker { color: #5b4c88; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.visual-note strong { color: #1d1730; font-size: 15px; }
.note-line { color: #413859; font-size: 11px; }
.visual-chip { top: 20px; left: 20px; padding: 9px 12px; border-radius: 12px; color: #4c3f72; font-size: 13px; font-weight: 700; }
.visual-chip span { display: block; margin-top: 3px; color: #7c7591; font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.intro-grid, .interests-section, .projects-section { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 44px; padding-block: 108px; border-top: 1px solid var(--line); }
.section-label { display: flex; flex-direction: column; gap: 11px; color: #8e87a3; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.section-label span:first-child { color: #b4a6dd; }
.intro-content { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .8fr); gap: 65px; }
h2 { margin-bottom: 0; font-size: clamp(35px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.065em; }
.intro-text { padding-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.intro-text p { margin-bottom: 22px; }
.quote-line { display: flex; align-items: baseline; gap: 10px; margin-top: 36px; color: #7b69ab; font-size: 13px; font-weight: 700; }
.quote-line span:first-child { font-family: Georgia, serif; font-size: 32px; font-weight: 400; line-height: 0; }
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.glass-card { border: 1px solid rgba(255,255,255,.72); background: rgba(255,255,255,.4); box-shadow: inset 0 1px rgba(255,255,255,.84), var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.interest-card { --rx: 0deg; --ry: 0deg; min-height: 295px; padding: 21px; border-radius: 20px; transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.interest-card:hover { box-shadow: inset 0 1px rgba(255,255,255,.9), 0 24px 45px rgba(95,76,139,.16); }
.accent-lilac { background: linear-gradient(145deg, rgba(241,235,255,.75), rgba(255,255,255,.25)); }
.accent-blue { background: linear-gradient(145deg, rgba(231,242,255,.78), rgba(255,255,255,.25)); }
.accent-rose { background: linear-gradient(145deg, rgba(255,237,245,.8), rgba(255,255,255,.25)); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 52px; color: #968caf; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.card-symbol { color: #8e78c8; font-size: 25px; font-weight: 400; line-height: 1; }
.interest-card h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.05em; }
.interest-card p { min-height: 73px; margin-bottom: 19px; color: #746d85; font-size: 13px; line-height: 1.75; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { padding: 6px 9px; border: 1px solid rgba(126,104,177,.14); border-radius: 8px; color: #877c9e; font-size: 10px; }
.projects-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.projects-intro { max-width: 380px; margin-top: 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 15px; min-height: 86px; padding-block: 14px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.project-row:hover { padding-inline: 13px; background: rgba(255,255,255,.38); }
.project-kind { color: #a19aac; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.project-main { display: grid; gap: 4px; }
.project-row strong { font-size: 18px; letter-spacing: -.04em; }
.project-desc { color: var(--muted); font-size: 12px; line-height: 1.5; }
.project-arrow { color: #8a75c2; font-size: 19px; }
.connect-section { padding-block: 48px 116px; }
.connect-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 50px; border-radius: 25px; border: 1px solid rgba(255,255,255,.78); background: linear-gradient(120deg, rgba(225,217,255,.65), rgba(255,240,247,.55)); box-shadow: inset 0 1px rgba(255,255,255,.9), 0 20px 55px rgba(100,78,150,.13); }
.connect-links { display: grid; align-content: center; gap: 11px; }
.connect-links .glass-button { width: 100%; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 0 30px; color: #9992a7; font-size: 10px; letter-spacing: .04em; }
.site-footer a { color: #7d6eaa; font-weight: 700; }
@media (max-width: 860px) {
  .section-shell, .site-header { width: min(100% - 40px, 680px); }
  .site-header { min-height: 72px; padding-block: 14px; flex-wrap: wrap; row-gap: 12px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 28px; padding-top: 10px; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; gap: 38px; min-height: 0; padding-top: 44px; }
  .hero-copy { padding-left: 0; }
  .hero-meta { margin-top: 40px; }
  .hero-visual, .hero-visual img { min-height: 400px; }
  .hero-visual img { object-position: right center; }
  .intro-grid, .interests-section, .projects-section { grid-template-columns: 1fr; gap: 26px; padding-block: 76px; }
  .section-label { flex-direction: row; gap: 12px; }
  .intro-content, .projects-layout, .connect-panel { grid-template-columns: 1fr; gap: 30px; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-card { min-height: 0; }
  .card-top { margin-bottom: 38px; }
  .connect-panel { padding: 30px 24px; }
  .connect-section { padding-bottom: 82px; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
html[data-theme="dark"] {
  --ink: #eeeaf8;
  --muted: #b2aac8;
  --line: rgba(196, 178, 255, .16);
  --glass: rgba(31, 25, 49, .7);
  --glass-strong: rgba(42, 34, 66, .82);
  --shadow: 0 18px 60px rgba(7, 4, 18, .48);
  background: #120f1d;
}
html[data-theme="dark"] body {
  background: linear-gradient(135deg, #120f1d 0%, #191428 50%, #100d1a 100%);
}
html[data-theme="dark"] body::before { opacity: .14; mix-blend-mode: soft-light; }
html[data-theme="dark"] .ambient-one { background: rgba(132, 102, 214, .18); }
html[data-theme="dark"] .ambient-two { background: rgba(94, 134, 214, .14); }
html[data-theme="dark"] h1 i { color: #eeeaf8; }
html[data-theme="dark"] h1 em, html[data-theme="dark"] h2 em { color: #b79eff; }
html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .section-kicker { color: #b49ef5; }
html[data-theme="dark"] .text-link { color: #cbbef2; }
html[data-theme="dark"] .nav-links a:hover, html[data-theme="dark"] .text-link:hover, html[data-theme="dark"] .site-footer a:hover { color: #cbb8ff; }
html[data-theme="dark"] .glass-button {
  border-color: rgba(205, 188, 255, .2);
  background: linear-gradient(140deg, rgba(44, 36, 68, .78), rgba(29, 23, 47, .64));
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 10px 28px rgba(6, 4, 15, .36);
}
html[data-theme="dark"] .glass-button::before { background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 38%); }
html[data-theme="dark"] .glass-button:hover {
  background: linear-gradient(140deg, rgba(58, 47, 89, .88), rgba(38, 30, 61, .78));
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 14px 32px rgba(6, 4, 15, .48);
}
html[data-theme="dark"] .glass-button.primary {
  background: linear-gradient(135deg, #7f66c7, #9e84e2);
  border-color: rgba(235, 224, 255, .28);
  color: #ffffff;
}
html[data-theme="dark"] .hero-visual::after { border-color: rgba(205, 188, 255, .22); }
html[data-theme="dark"] .visual-glass {
  border-color: rgba(205, 188, 255, .26);
  background: rgba(21, 17, 34, .76);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 14px 34px rgba(4, 2, 12, .52);
}
html[data-theme="dark"] .note-kicker { color: #cbb9ff; }
html[data-theme="dark"] .visual-note strong { color: #ffffff; }
html[data-theme="dark"] .note-line { color: #ded7f2; }
html[data-theme="dark"] .glass-card {
  border-color: rgba(205, 188, 255, .16);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), var(--shadow);
}
html[data-theme="dark"] .accent-lilac { background: linear-gradient(145deg, rgba(46, 36, 74, .78), rgba(26, 21, 43, .62)); }
html[data-theme="dark"] .accent-blue { background: linear-gradient(145deg, rgba(31, 42, 72, .78), rgba(22, 24, 44, .62)); }
html[data-theme="dark"] .accent-rose { background: linear-gradient(145deg, rgba(58, 33, 56, .78), rgba(28, 20, 38, .62)); }
html[data-theme="dark"] .card-top { color: #a79bc7; }
html[data-theme="dark"] .card-symbol { color: #bfa8ff; }
html[data-theme="dark"] .interest-card p { color: #c4bdd8; }
html[data-theme="dark"] .tag-row span { border-color: rgba(205, 188, 255, .18); color: #beb4da; }
html[data-theme="dark"] .project-kind { color: #9a90b8; }
html[data-theme="dark"] .project-row:hover { background: rgba(45, 36, 70, .48); }
html[data-theme="dark"] .project-arrow { color: #b79eff; }
html[data-theme="dark"] .connect-panel {
  border-color: rgba(205, 188, 255, .18);
  background: linear-gradient(120deg, rgba(42, 33, 68, .78), rgba(52, 30, 56, .66));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), var(--shadow);
}
html[data-theme="dark"] .site-footer { color: #8c83a6; }
html[data-theme="dark"] .site-footer a { color: #b79eff; }
