    /* ─── TOKENS ─────────────────────────────────────────── */
    :root {
      --bg:         #fdf8f3;
      --bg2:        #fff4ec;
      --bg3:        #fef5f0;
      --bg-dark:    #2a1f1a;

      --amber:      #f5a623;
      --terracotta: #e05c3a;
      --coral:      #ff7f6b;
      --rose:       #f2a7b3;
      --blush:      #fcd5c0;
      --mauve:      #c9a0c4;
      --cream:      #f7ece0;

      --ink:        #1e1410;
      --ink2:       #4a2e22;
      --muted:      #9a7b6e;

      --radius:     16px;
      --radius-sm:  8px;
      --gap:        clamp(1rem, 3vw, 2.5rem);

      --font-display: 'Cormorant Garamond', Georgia, serif;
      --font-body:    'Outfit', sans-serif;
      --font-mono:    'DM Mono', monospace;
    }

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

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--ink);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ─── SKIP LINK ──────────────────────────────────────── */
    .skip-link {
      position: absolute; top: -100%; left: 1rem;
      background: var(--terracotta); color: #fff;
      padding: .5rem 1rem; border-radius: var(--radius-sm);
      font-weight: 600; z-index: 9999;
      transition: top .2s; text-decoration: none;
    }
    .skip-link:focus { top: 1rem; }

    /* ─── NAV ────────────────────────────────────────────── */
    header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(253,248,243,.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1.5px solid var(--blush);
    }
    nav {
      max-width: 1160px; margin: 0 auto;
      padding: 1rem var(--gap);
      display: flex; align-items: center;
      justify-content: space-between;
      flex-wrap: wrap; gap: .75rem;
    }
    .nav-logo {
      font-family: var(--font-display);
      font-size: 1.5rem; font-weight: 600;
      font-style: italic; color: var(--ink2);
      text-decoration: none; letter-spacing: .01em;
    }
    .nav-logo strong { font-style: normal; color: var(--terracotta); }

    .nav-links { list-style: none; display: flex; gap: clamp(.5rem, 2vw, 1.8rem); flex-wrap: wrap; }
    .nav-links a {
      font-family: var(--font-mono); font-size: .72rem;
      text-transform: uppercase; letter-spacing: .1em;
      color: var(--muted); text-decoration: none;
      padding: .3rem .5rem; border-radius: 4px;
      transition: color .2s, background .2s;
    }
    .nav-links a:hover, .nav-links a:focus-visible {
      color: var(--terracotta); background: var(--blush); outline: none;
    }
    .nav-links a[aria-current="page"] { color: var(--ink2); font-weight: 500; }

    /* ─── LAYOUT ─────────────────────────────────────────── */
    .wrapper { max-width: 1160px; margin: 0 auto; padding: 0 var(--gap); }
    section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

    .section-header {
      display: flex; align-items: flex-end; gap: 1.2rem;
      margin-bottom: 3rem;
      border-bottom: 1.5px solid var(--blush);
      padding-bottom: 1rem;
    }
    .section-num {
      font-family: var(--font-display);
      font-size: clamp(3rem, 7vw, 5.5rem);
      font-weight: 700; line-height: 1;
      color: var(--blush); flex-shrink: 0;
      letter-spacing: -.02em;
    }
    h2.section-title {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 600; color: var(--ink2); line-height: 1.15;
    }
    h2.section-title em { font-style: italic; color: var(--terracotta); }

    /* ─── HERO ───────────────────────────────────────────── */
    #inicio {
      background: var(--bg2);
      position: relative; overflow: hidden;
      padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
    }
    #inicio::before {
      content: ''; position: absolute;
      width: 520px; height: 520px; border-radius: 50%;
      background: radial-gradient(circle, var(--blush) 0%, transparent 68%);
      top: -160px; right: -120px; opacity: .7; pointer-events: none;
    }
    #inicio::after {
      content: ''; position: absolute;
      width: 280px; height: 280px; border-radius: 50%;
      background: radial-gradient(circle, var(--rose) 0%, transparent 68%);
      bottom: -60px; left: -60px; opacity: .5; pointer-events: none;
    }

    .hero-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: end; gap: 4rem; position: relative;
    }

    .hero-eyebrow {
      font-family: var(--font-mono); font-size: .73rem;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--terracotta); margin-bottom: 1.2rem;
      display: flex; align-items: center; gap: .5rem;
    }
    .hero-eyebrow::before {
      content: ''; display: inline-block;
      width: 28px; height: 1.5px; background: var(--terracotta);
    }

    h1 {
      font-family: var(--font-display);
      font-size: clamp(3rem, 8vw, 6rem);
      font-weight: 700; line-height: 1.0;
      color: var(--ink); margin-bottom: 1.4rem;
      letter-spacing: -.02em;
    }
    h1 em {
      font-style: italic; font-weight: 400;
      color: var(--terracotta); display: block;
    }

    .hero-sub {
      font-size: clamp(.95rem, 1.8vw, 1.1rem);
      color: var(--muted); line-height: 1.75;
      max-width: 420px; margin-bottom: 2.2rem;
    }
    .hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }

    /* ─── BUTTONS ────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: .45rem;
      padding: .7rem 1.8rem; border-radius: 4px;
      font-family: var(--font-body); font-weight: 500;
      font-size: .9rem; text-decoration: none;
      cursor: pointer; border: 2px solid transparent;
      transition: transform .2s, box-shadow .2s;
    }
    .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary {
      background: var(--terracotta); color: #fff;
      box-shadow: 3px 3px 0 var(--ink2);
    }
    .btn-primary:hover { box-shadow: 5px 5px 0 var(--ink2); }
    .btn-ghost { border-color: var(--terracotta); color: var(--terracotta); background: transparent; }
    .btn-ghost:hover { background: var(--blush); }

    .hero-aside { display: flex; flex-direction: column; gap: 1.6rem; padding-bottom: .5rem; }
    .hero-quote {
      font-family: var(--font-display); font-style: italic;
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      color: var(--ink2); line-height: 1.5;
      border-left: 3px solid var(--amber); padding-left: 1.2rem;
    }
    .hero-info-row { display: flex; gap: 2rem; flex-wrap: wrap; }
    .hero-info-item { display: flex; flex-direction: column; gap: .2rem; }
    .hi-label {
      font-family: var(--font-mono); font-size: .65rem;
      text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
    }
    .hi-val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink2); }

    /* ─── SOBRE MÍ ───────────────────────────────────────── */
    #sobre { background: var(--bg); }
    .about-body {
      display: grid; grid-template-columns: 5fr 4fr;
      gap: 4rem; align-items: start;
    }
    .about-text p {
      font-size: 1.05rem; line-height: 1.85;
      color: var(--ink2); margin-bottom: 1.1rem;
    }
    .about-text p:first-child {
      font-family: var(--font-display);
      font-size: clamp(1.1rem, 2.5vw, 1.35rem);
      font-style: italic; color: var(--ink); line-height: 1.65;
    }

    .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
    .chip {
      font-family: var(--font-mono); font-size: .7rem;
      padding: .3rem .85rem; border-radius: 2px;
      font-weight: 500; letter-spacing: .04em; border: 1.5px solid transparent;
    }
    .chip-amber      { background: #fff5d6; border-color: var(--amber);      color: #7a4f00; }
    .chip-terracotta { background: #fde8e3; border-color: var(--terracotta); color: #7a2010; }
    .chip-rose       { background: #fde8ee; border-color: var(--rose);       color: #7a2040; }
    .chip-mauve      { background: #f3eaf5; border-color: var(--mauve);      color: #5a3060; }
    .chip-coral      { background: #ffe8e4; border-color: var(--coral);      color: #7a2800; }
    .chip-blush      { background: #fff0e8; border-color: var(--blush);      color: #7a3c10; }

    .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-card {
      background: var(--cream); border-radius: var(--radius-sm);
      padding: 1.4rem; position: relative; overflow: hidden;
    }
    .stat-card::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 100%; height: 3px;
    }
    .stat-card:nth-child(1)::before { background: var(--amber); }
    .stat-card:nth-child(2)::before { background: var(--terracotta); }
    .stat-card:nth-child(3)::before { background: var(--rose); }
    .stat-card:nth-child(4)::before { background: var(--mauve); }

    .stat-num {
      font-family: var(--font-display); font-size: 2.6rem;
      font-weight: 700; color: var(--ink); line-height: 1;
    }
    .stat-label { font-size: .8rem; color: var(--muted); margin-top: .35rem; line-height: 1.3; }

    /* ─── PROYECTOS ──────────────────────────────────────── */
    #proyectos { background: var(--bg2); }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 1.4rem;
    }
    .project-card:nth-child(1) { grid-column: span 7; }
    .project-card:nth-child(2) { grid-column: span 5; }
    .project-card:nth-child(3) { grid-column: span 4; }
    .project-card:nth-child(4) { grid-column: span 4; }
    .project-card:nth-child(5) { grid-column: span 4; }
    .project-card:nth-child(6) { grid-column: span 12; }

    .project-card {
      background: #fff; border-radius: var(--radius);
      overflow: hidden; display: flex; flex-direction: column;
      transition: transform .25s, box-shadow .25s;
      border: 1.5px solid var(--cream);
    }
    .project-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(80,30,10,.1); }

    .project-thumb {
      display: flex; align-items: center; justify-content: center;
      font-size: 3rem; overflow: hidden;
    }
    .project-card:nth-child(1) .project-thumb,
    .project-card:nth-child(2) .project-thumb { height: 220px; }
    .project-card:nth-child(3) .project-thumb,
    .project-card:nth-child(4) .project-thumb,
    .project-card:nth-child(5) .project-thumb { height: 160px; }
    .project-card:nth-child(6) .project-thumb  { height: 140px; font-size: 2.2rem; }

    .thumb-a { background: linear-gradient(135deg, #fcd5c0, #f5a623); }
    .thumb-b { background: linear-gradient(135deg, #f2a7b3, #c9a0c4); }
    .thumb-c { background: linear-gradient(135deg, #ffc8a0, #e05c3a); }
    .thumb-d { background: linear-gradient(135deg, #f5a623, #e05c3a); }
    .thumb-e { background: linear-gradient(135deg, #f2a7b3, #fcd5c0); }
    .thumb-f { background: linear-gradient(135deg, #c9a0c4, #f2a7b3); }

    .project-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
    .project-body h3 {
      font-family: var(--font-display); font-size: 1.25rem;
      font-weight: 600; color: var(--ink); margin-bottom: .4rem;
    }
    .project-card:nth-child(1) .project-body h3 { font-size: 1.6rem; }
    .project-card:nth-child(6) .project-body h3 { font-size: 1.4rem; }
    .project-body p { font-size: .88rem; color: var(--muted); line-height: 1.65; flex: 1; }

    .project-footer {
      display: flex; justify-content: space-between;
      align-items: center; margin-top: .9rem;
    }
    .project-tag {
      font-family: var(--font-mono); font-size: .65rem;
      padding: .2rem .65rem; border-radius: 2px;
      font-weight: 500; letter-spacing: .05em;
    }
    .project-link {
      font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
      color: var(--terracotta); text-decoration: none;
      display: inline-flex; align-items: center; gap: .3rem;
      transition: color .2s;
    }
    .project-link:hover { color: var(--ink2); }
    .project-link:focus-visible { outline: 2px solid var(--terracotta); border-radius: 3px; }

    .project-card:nth-child(6) { flex-direction: row; }
    .project-card:nth-child(6) .project-thumb { width: 280px; flex-shrink: 0; height: auto; }

    /* ─── HABILIDADES ────────────────────────────────────── */
    #habilidades { background: var(--bg); }
    .skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.3rem; }
    .skill-group { background: var(--cream); border-radius: var(--radius); padding: 1.6rem; }
    .skill-group-title {
      font-family: var(--font-mono); font-size: .7rem;
      text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
      margin-bottom: 1.2rem; padding-bottom: .6rem;
      border-bottom: 1px solid var(--blush);
    }
    .skill-bar-wrap { margin-bottom: .8rem; }
    .skill-bar-label {
      font-size: .83rem; color: var(--ink2); font-weight: 500;
      margin-bottom: .3rem; display: flex; justify-content: space-between;
    }
    .skill-bar-bg { background: rgba(0,0,0,.07); border-radius: 100px; height: 6px; overflow: hidden; }
    .skill-bar-fill {
      height: 100%; border-radius: 100px;
      animation: fill-bar 1.2s cubic-bezier(.4,0,.2,1) both;
      animation-play-state: paused;
    }
    .skill-group:nth-child(1) .skill-bar-fill { background: linear-gradient(90deg, var(--amber),      var(--coral)); }
    .skill-group:nth-child(2) .skill-bar-fill { background: linear-gradient(90deg, var(--terracotta), var(--rose)); }
    .skill-group:nth-child(3) .skill-bar-fill { background: linear-gradient(90deg, var(--coral),      var(--amber)); }
    .skill-group:nth-child(4) .skill-bar-fill { background: linear-gradient(90deg, var(--mauve),      var(--rose)); }

    @keyframes fill-bar { from { width: 0 !important; } }

    /* ─── CONTACTO ───────────────────────────────────────── */
    #contacto {
      background: var(--bg-dark); color: #fff;
      padding: clamp(4rem, 9vw, 8rem) 0;
    }
    #contacto .section-num   { color: rgba(245,166,35,.18); }
    #contacto .section-title { color: #f7ece0; }
    #contacto .section-header { border-bottom-color: rgba(255,255,255,.1); }

    .contact-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; }
    .contact-info p { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
    .contact-big {
      font-family: var(--font-display); font-style: italic;
      font-size: clamp(1.3rem, 3vw, 1.9rem);
      color: var(--blush); line-height: 1.45; margin-bottom: 2rem;
    }

    .social-links { display: flex; flex-direction: column; gap: .85rem; }
    .social-link {
      display: inline-flex; align-items: center; gap: .8rem;
      color: rgba(255,255,255,.75); text-decoration: none;
      font-size: .9rem; transition: color .2s;
    }
    .social-link:hover { color: var(--amber); }
    .social-link:focus-visible { outline: 2px solid var(--amber); border-radius: 4px; }
    .social-icon {
      width: 34px; height: 34px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: .75rem; font-family: var(--font-mono); flex-shrink: 0;
    }
    .si-gh   { background: rgba(255,255,255,.08); }
    .si-li   { background: rgba(245,166,35,.2); }
    .si-be   { background: rgba(201,160,196,.2); }
    .si-mail { background: rgba(224,92,58,.25); }

    .contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
    .form-group { display: flex; flex-direction: column; gap: .4rem; }
    label {
      font-family: var(--font-mono); font-size: .68rem;
      text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4);
    }
    input, textarea {
      background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12);
      border-radius: var(--radius-sm); color: #fff;
      font-family: var(--font-body); font-size: .93rem;
      padding: .8rem 1rem; outline: none;
      transition: border-color .2s, background .2s; resize: vertical;
    }
    input::placeholder, textarea::placeholder { color: rgba(255,255,255,.25); }
    input:focus, textarea:focus { border-color: var(--amber); background: rgba(255,255,255,.09); }
    textarea { min-height: 110px; }

    .btn-send {
      align-self: flex-start;
      background: var(--amber); color: var(--ink); border: none;
      padding: .8rem 2.2rem; border-radius: 4px;
      font-family: var(--font-body); font-weight: 600; font-size: .93rem;
      cursor: pointer; box-shadow: 3px 3px 0 var(--terracotta);
      transition: transform .2s, box-shadow .2s;
    }
    .btn-send:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--terracotta); }
    .btn-send:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

    /* ─── FOOTER ─────────────────────────────────────────── */
    footer {
      background: #170e0a; color: rgba(255,255,255,.3);
      text-align: center; padding: 1.4rem var(--gap);
      font-size: .75rem; font-family: var(--font-mono); letter-spacing: .04em;
    }
    footer a { color: var(--amber); text-decoration: none; }
    footer a:hover { color: var(--coral); }

    /* ─── REVEAL ─────────────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(22px);
      transition: opacity .65s ease, transform .65s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    .reveal-stagger > * {
      opacity: 0; transform: translateY(18px);
      transition: opacity .5s ease, transform .5s ease;
    }
    .reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
    .reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
    .reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
    .reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }
    .reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.45s; }
    .reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.55s; }

    /* ─── RESPONSIVE ─────────────────────────────────────── */
    @media (max-width: 900px) {
      .hero-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
      .about-body    { grid-template-columns: 1fr; gap: 2.5rem; }
      .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
      .project-card:nth-child(1),
      .project-card:nth-child(2),
      .project-card:nth-child(3),
      .project-card:nth-child(4),
      .project-card:nth-child(5),
      .project-card:nth-child(6) { grid-column: span 6; }
      .project-card:nth-child(6) { flex-direction: column; }
      .project-card:nth-child(6) .project-thumb { width: 100%; height: 160px; }
    }
    @media (max-width: 600px) {
      .project-card { grid-column: span 12 !important; }
      .project-card:nth-child(6) { flex-direction: column; }
      .project-card:nth-child(6) .project-thumb { width: 100%; height: 160px; }
      .stats { grid-template-columns: 1fr 1fr; }
      .hero-ctas { flex-direction: column; }
      .btn { width: 100%; justify-content: center; }
    }
  