:root{
	    --void: #0a0818;
	    --deep: #150f2c;
	    --purple: #362a5e;
	    --purple-mid: #6b52a8;
	    --lavender: #c9a3e8;
	    --ice: #8fd8ec;
	    --star: #f3eefc;
	    --line: rgba(201,163,232,0.18);
	  }
	
	  *{ box-sizing: border-box; }
	  html{ scroll-behavior: smooth; }
	
	  body{
	    margin:0;
	    background: radial-gradient(120% 90% at 50% -10%, var(--deep) 0%, var(--void) 55%, #060512 100%);
	    color: var(--star);
	    font-family: 'Space Grotesk', sans-serif;
	    overflow-x: hidden;
	  }
	
	  @media (prefers-reduced-motion: reduce){
	    *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	  }
	
	  ::selection{ background: var(--purple-mid); color: var(--star); }
	
	  a{ color: inherit; }
	
	  /* ---------- ambient stars ---------- */
	  #starfield{
	    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
	  }
	  .spark{
	    position: absolute;
	    width: 10px; height: 10px;
	    opacity: 0;
	    animation: twinkle 4.5s ease-in-out infinite;
	  }
	  .spark::before, .spark::after{
	    content:""; position:absolute; background: var(--star); border-radius: 1px;
	  }
	  .spark::before{ top:0; left:45%; width:10%; height:100%; }
	  .spark::after{ top:45%; left:0; width:100%; height:10%; }
	  @keyframes twinkle{
	    0%, 100%{ opacity:0; transform: scale(0.4) rotate(0deg); }
	    50%{ opacity: 0.85; transform: scale(1) rotate(8deg); }
	  }
	
	  /* ---------- tendril swirls ---------- */
	  .tendrils{ position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0.55; }
	  .tendrils path{ fill:none; stroke-width:1.4; }
	
	  section{ position: relative; z-index: 1; }
	
	  /* ---------- nav ---------- */
	  nav{
	    position: fixed; top:0; left:0; right:0; z-index: 50;
	    display:flex; align-items:center; justify-content: space-between;
	    padding: 22px 6vw;
	    backdrop-filter: blur(6px);
	    background: linear-gradient(to bottom, rgba(10,8,24,0.75), transparent);
	  }
	  .mark{
	    font-family:'JetBrains Mono', monospace;
	    font-size: 0.95rem;
	    letter-spacing: 0.05em;
	    color: var(--lavender);
	  }
	  .mark span{ color: var(--ice); }
	  .navlinks{ display:flex; gap: 28px; font-size: 0.85rem; letter-spacing: 0.06em; }
	  .navlinks a{
	    text-decoration:none; color: var(--star); opacity:0.75;
	    position:relative; padding-bottom: 4px;
	    transition: opacity 0.25s ease;
	  }
	  .navlinks a::after{
	    content:""; position:absolute; left:0; bottom:0; width:0%; height:1px;
	    background: var(--ice); transition: width 0.3s ease;
	  }
	  .navlinks a:hover{ opacity:1; }
	  .navlinks a:hover::after{ width:100%; }
	
	  /* ---------- hero ---------- */
	  .hero{
	    min-height: 100svh;
	    display:flex; align-items:center; justify-content:center;
	    padding: 120px 6vw 80px;
	  }
	  .hero-inner{
	    display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items:center;
	    max-width: 1160px; width:100%;
	  }
	  .eyebrow{
	    font-family:'JetBrains Mono', monospace;
	    font-size: 0.8rem; color: var(--ice);
	    letter-spacing: 0.12em; text-transform: uppercase;
	    display:flex; align-items:center; gap:10px; margin-bottom: 18px;
	  }
	  .eyebrow::before{ content:""; width:22px; height:1px; background: var(--ice); display:inline-block; }
	
	  .name-line{
	    font-family:'JetBrains Mono', monospace;
	    font-weight: 500;
	    font-size: clamp(2.4rem, 6vw, 4.2rem);
	    line-height: 1.05;
	    color: var(--star);
	    white-space: nowrap;
	  }
	  .name-line .dots{ color: var(--purple-mid); }
	  .cursor{
	    display:inline-block; width: 0.5ch; margin-left: 2px;
	    color: var(--ice);
	    animation: blink 1s steps(1) infinite;
	  }
	  @keyframes blink{ 0%, 49%{ opacity:1; } 50%, 100%{ opacity:0; } }
	
	  .tagline{
	    font-family:'Cormorant Garamond', serif;
	    font-style: italic; font-weight: 500;
	    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	    color: var(--lavender);
	    margin: 20px 0 26px;
	    max-width: 46ch;
	  }
	
	  .desc{ opacity: 0.75; line-height: 1.7; max-width: 48ch; margin-bottom: 32px; font-size: 0.98rem; }
	
	  .cta-row{ display:flex; gap: 16px; flex-wrap: wrap; }
	
	  .btn{
	    font-family:'JetBrains Mono', monospace;
	    font-size: 0.85rem;
	    padding: 13px 26px;
	    border-radius: 999px;
	    cursor: pointer;
	    border: 1px solid var(--line);
	    background: rgba(201,163,232,0.04);
	    color: var(--star);
	    transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
	    letter-spacing: 0.02em;
	  }
	  .btn.primary{
	    background: linear-gradient(135deg, var(--purple-mid), #4a3a80);
	    border-color: transparent;
	  }
	  .btn:hover{
	    transform: translateY(-2px);
	    border-color: var(--ice);
	    box-shadow: 0 0 22px rgba(143,216,236,0.28), 0 0 44px rgba(107,82,168,0.25);
	  }
	  .btn:active{ transform: translateY(0px) scale(0.97); }
	
	  .hero-art{
	    position:relative; display:flex; align-items:center; justify-content:center;
	  }
	  .orb-frame{
	    position:relative; width: min(380px, 90%); aspect-ratio: 1/1; border-radius: 50%;
	    overflow:hidden;
	    box-shadow: 0 0 0 1px var(--line), 0 0 60px rgba(107,82,168,0.4), 0 0 110px rgba(143,216,236,0.12);
	    animation: float 6s ease-in-out infinite;
	  }
	  .orb-frame img{ width:100%; height:100%; object-fit: cover; display:block; filter: saturate(1.05); }
	  .orb-frame::after{
	    content:""; position:absolute; inset:0; border-radius:50%;
	    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 55%);
	  }
	  @keyframes float{
	    0%, 100%{ transform: translateY(0px); }
	    50%{ transform: translateY(-14px); }
	  }
	
	  .scroll-hint{
	    position:absolute; bottom: 34px; left:50%; transform: translateX(-50%);
	    font-family:'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--lavender);
	    opacity: 0.6; letter-spacing: 0.15em; text-transform: uppercase;
	  }
	
	  /* ---------- shared section styling ---------- */
	  .wrap{ max-width: 1100px; margin: 0 auto; padding: 110px 6vw; }
	  .label{
	    font-family:'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--ice);
	    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
	    display:flex; align-items:center; gap:10px;
	  }
	  .label::before{ content:""; width:22px; height:1px; background: var(--ice); display:inline-block; }
	  h2{
	    font-family:'Cormorant Garamond', serif; font-style: italic; font-weight: 600;
	    font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 30px; color: var(--star);
	  }
	
	  /* ---------- about ---------- */
	  .about-grid{ display:grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items:center; }
	  .portrait{
	    width: 100%; aspect-ratio: 1/1.05; border-radius: 22px; overflow:hidden;
	    box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0,0,0,0.5);
	  }
	  .portrait img{ width:100%; height:100%; object-fit:cover; }
	  .about-text p{ line-height: 1.85; opacity:0.8; margin: 0 0 16px; font-size: 1rem; }
	  .about-text strong{ color: var(--lavender); font-weight: 500; }
	
	  /* ---------- skills ---------- */
	  .skills-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
	  .skill-card{
	    border: 1px solid var(--line); border-radius: 16px; padding: 26px 20px;
	    background: rgba(201,163,232,0.03);
	    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	    cursor: default;
	  }
	  .skill-card:hover{
	    transform: translateY(-4px);
	    border-color: var(--ice);
	    box-shadow: 0 0 24px rgba(143,216,236,0.18);
	  }
	  .skill-glyph{ font-family:'JetBrains Mono', monospace; font-size: 1.5rem; color: var(--ice); margin-bottom: 12px; }
	  .skill-name{ font-weight: 500; font-size: 0.95rem; margin-bottom: 4px; }
	  .skill-sub{ font-size: 0.78rem; opacity: 0.55; font-family:'JetBrains Mono', monospace; }
	
	  /* ---------- projects ---------- */
	  .project-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
	  .project-card{
	    border: 1px solid var(--line); border-radius: 18px; padding: 30px;
	    background: linear-gradient(160deg, rgba(107,82,168,0.08), rgba(10,8,24,0.2));
	    cursor: pointer;
	    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	  }
	  .project-card:hover{
	    transform: translateY(-5px);
	    border-color: var(--lavender);
	    box-shadow: 0 0 30px rgba(201,163,232,0.16);
	  }
	  .project-tag{ font-family:'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--ice); letter-spacing: 0.08em; text-transform: uppercase; }
	  .project-card h3{ font-family:'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 1.5rem; margin: 12px 0 10px; }
	  .project-card p{ opacity: 0.7; font-size: 0.92rem; line-height: 1.6; margin: 0; }
	
	  /* ---------- contact ---------- */
	  .contact-wrap{ text-align:center; }
	  .contact-wrap h2{ margin-bottom: 16px; }
	  .contact-wrap .desc{ margin: 0 auto 34px; text-align:center; }
	  .contact-row{ display:flex; gap:16px; justify-content:center; flex-wrap: wrap; }
	
	  footer{
	    text-align:center; padding: 40px 6vw 60px;
	    font-family:'JetBrains Mono', monospace; font-size: 0.75rem; opacity: 0.4;
	  }
	
	  @media (max-width: 820px){
	    .hero-inner{ grid-template-columns: 1fr; }
	    .hero-art{ order: -1; }
	    .name-line{ white-space: normal; }
	    .about-grid{ grid-template-columns: 1fr; }
	    .portrait{ max-width: 260px; margin: 0 auto; }
	    .skills-grid{ grid-template-columns: repeat(2, 1fr); }
	    .project-grid{ grid-template-columns: 1fr; }
	  }