
  :root {
    --bg: #faf8f5;
    --bg2: #f3efe9;
    --bg3: #ede8e0;
    --text: #1a1714;
    --muted: #8a8178;
    --accent: #D496A7;
    --accent2: #E072A4;
    --accent-light: #f5dfe6;
    --border: rgba(26,23,20,0.08);
    --border2: rgba(26,23,20,0.15);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    cursor: none;
  }

  .cursor {
    width: 4px; height: 4px;
    background: var(--accent2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s;
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 3rem;
    transition: background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
  }
  nav.scrolled {
    background: rgba(250,248,245,0.94);
    border-color: var(--border);
    backdrop-filter: blur(14px);
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
  }
  .nav-logo span { color: var(--accent2); }

  .nav-links { display: flex; gap: 2rem; align-items: center; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 400;
    transition: color 0.2s;
    text-transform: uppercase;
  }
  .nav-links a:hover { color: var(--text); }

  .lang-toggle {
    display: flex;
    border: 1px solid var(--border2);
    border-radius: 20px;
    overflow: hidden;
  }
  .lang-btn {
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 0.1em;
    background: transparent;
    color: var(--muted);
    border: none;
    cursor: none;
    transition: all 0.25s;
    font-family: 'DM Mono', monospace;
  }
  .lang-btn.active {
    background: var(--accent);
    color: white;
  }

  /* logo */
  .logo-img {
    height: 32px;
    width: auto;
    display: block;
  }

  .nav-logo {
    display: flex;
    align-items: center;
  }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .hero-left {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 7rem 3rem 4rem;
    position: relative; z-index: 2;
  }

  .hero-right {
    position: relative;
    overflow: hidden;
    background: var(--bg2);
  }

  /* Decorative shapes in hero right */
  .hero-right::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,150,167,0.18) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
  }  

  .hero-floating-tag {
    position: absolute;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 14px;
    border-radius: 20px;
  }
  .tag-ml { top: 20%; left: 14%; animation: float1 5s ease-in-out infinite; }
  .tag-gcp { bottom: 50%; right: 15%; animation: float2 6s ease-in-out infinite; }
  .tag-bio { top: 70%; left: 10%; animation: float1 7s ease-in-out 1s infinite; }

  @keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
  @keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

  .hero-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
  }

  h1.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(60px, 7vw, 96px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
  }
  h1.hero-name em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent2);
  }

  .hero-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 380px;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
  }

  .hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
  }

  .avail {
    display: flex; align-items: center; gap: 7px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
  }
  .avail-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: blink 2.5s infinite;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 12px; letter-spacing: 0.12em;
    text-decoration: none; text-transform: uppercase;
    background: var(--text);
    color: var(--bg);
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    transition: all 0.25s;
    border: 1px solid var(--text);
  }
  .btn-primary:hover { background: var(--accent2); border-color: var(--accent2); }

  .btn-outline {
    padding: 12px 24px;
    font-size: 12px; letter-spacing: 0.12em;
    text-decoration: none; text-transform: uppercase;
    background: transparent;
    color: var(--muted);
    font-family: 'Jost', sans-serif;
    border: 1px solid var(--border2);
    transition: all 0.25s;
  }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

  /* SECTIONS */
  section {
    padding: 6rem 3rem;
    border-top: 1px solid var(--border);
  }

  .sec-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem; align-items: baseline;
    margin-bottom: 3.5rem;
  }
  .sec-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    padding-top: 4px;
  }
  .sec-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .sec-title em { font-style: italic; font-weight: 300; color: var(--accent); }

  /* SKILLS */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }
  .skill-block {
    background: var(--bg);
    padding: 2rem 1.8rem;
    transition: background 0.25s;
  }
  .skill-block:hover { background: var(--bg2); }
  .skill-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
  }
  .skill-pills { display: flex; flex-wrap: wrap; gap: 7px; }
  .skill-pill {
    font-size: 12px;
    padding: 5px 13px;
    background: var(--bg2);
    color: var(--muted);
    border-radius: 20px;
    border: 1px solid var(--border2);
    transition: all 0.2s;
    font-weight: 300;
  }
  .skill-pill:hover { background: var(--accent-light); border-color: var(--accent); color: var(--text); }

  /* PROJECTS */
  .proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }
  .proj-card {
    background: var(--bg);
    padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: background 0.3s;
  }
  .proj-card:hover { background: var(--bg2); }

  .proj-accent-line {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s ease;
  }
  .proj-card:hover .proj-accent-line { transform: scaleX(1); }

  .proj-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px; font-weight: 300;
    color: rgba(212,150,167,0.2);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
  }
  .proj-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
    line-height: 1.1;
  }
  .proj-desc {
    font-size: 13px; color: var(--muted); line-height: 1.75;
    margin-bottom: 1.5rem; font-weight: 300;
  }
  .proj-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .proj-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px; letter-spacing: 0.1em;
    padding: 3px 9px;
    border: 1px solid var(--border2);
    color: var(--muted);
  }
  .proj-arrow {
    position: absolute; bottom: 2rem; right: 2rem;
    font-size: 16px; color: var(--muted);
    transition: all 0.2s;
  }
  .proj-card:hover .proj-arrow { transform: translate(4px,-4px); color: var(--accent2); }

  /* EXPERIENCE */
  .xp-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    transition: padding-left 0.3s;
  }
  .xp-item:hover { padding-left: 1rem; }
  .xp-side { display: flex; flex-direction: column; gap: 5px; }
  .xp-date { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
  .xp-co { font-size: 13px; color: var(--muted); font-weight: 300; }
  .xp-loc { font-size: 11px; color: var(--muted); opacity: 0.6; font-weight: 300; }
  .xp-role {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
    margin-bottom: 0.8rem; line-height: 1.2;
  }
  .xp-detail { font-size: 13px; color: var(--muted); line-height: 1.8; font-weight: 300; }
  .xp-detail-list {
    list-style: none;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
  }
  .xp-co-logo {
    width: 70px;
    height: auto;
    margin-top: 6px;
    opacity: 0.8;
    display: block;
    margin-left: 30px;
    margin-right: auto;
  }
  .xp-detail-list li {
    margin-bottom: 0.35rem;
  }
  .xp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }

  /* EDUCATION */
  .edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px; background: var(--border); border: 1px solid var(--border);
  }
  /* .edu-card {
    background: var(--bg); padding: 2rem;
    transition: background 0.2s;
  } */
  .edu-card {
  background: var(--bg);
  padding: 2rem;
  transition: background 0.2s;
  min-height: 180px;
  height: 180px;
  overflow: hidden;
  }
  .edu-card:hover { background: var(--bg2); }
  /* flowers svg*/
  .edu-flower-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .edu-flower-card svg {
    width: 75%;
    height: 75%;
    max-width: 260px;
    max-height: 150px;
    opacity: 0.55;
  }
  .edu-year { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); margin-bottom: 0.7rem; }
  .edu-deg {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; font-weight: 500;
    margin-bottom: 0.4rem; line-height: 1.2;
  }
  .edu-school { font-size: 12px; color: var(--muted); font-weight: 300; }

  /* CONTACT */
  .contact-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
  }
  .contact-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 500; line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }
  .contact-big em { font-style: italic; font-weight: 300; color: var(--accent2); }
  .contact-sub { font-size: 13px; color: var(--muted); max-width: 300px; line-height: 1.8; font-weight: 300; }

  .contact-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
  .contact-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 1.5rem;
    background: var(--bg);
    text-decoration: none;
    color: var(--muted);
    font-size: 13px; font-weight: 300;
    transition: all 0.25s;
  }
  .contact-link:hover { background: var(--bg2); color: var(--text); padding-left: 2rem; }
  .contact-link span:last-child { font-size: 14px; color: var(--accent); }

  .lang-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
  .lang-badge {
    font-size: 11px; padding: 5px 14px;
    border: 1px solid var(--border2);
    color: var(--muted);
    border-radius: 20px;
    font-weight: 300;
  }

  footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
  }
  footer p { font-size: 11px; color: var(--muted); font-family: 'DM Mono', monospace; }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes blink {
    0%,100%{opacity:1} 50%{opacity:0.2}
  }

  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
  .d1 { transition-delay: 0.1s; }
  .d2 { transition-delay: 0.2s; }
  .d3 { transition-delay: 0.3s; }

  /* Neural canvas */
  #neuralCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }