@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fira+Code:wght@300;400;500&family=JetBrains+Mono:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:    #070707;
      --bg2:   #0d0d0d;
      --bg3:   #131313;
      --bg4:   #1a1a1a;
      --white: #ede9e2;
      --w2:    #aaa79f;
      --dim:   #5c5a55;
      --dim2:  #2a2926;
      --gold:  #00ff88;
      --gold2: #4dffa8;
      --g2:    rgba(0,255,136,0.1);
      --g3:    rgba(0,255,136,0.06);
      --brd:   rgba(0,255,136,0.12);
      --brd2:  rgba(0,255,136,0.2);
      --fd:    'Bebas Neue', sans-serif;
      --fp:    'Playfair Display', serif;
      --fsc:   'Cormorant Garamond', serif;
      --fm:    'Fira Code', monospace;
      --fmh:   'JetBrains Mono', monospace;
      --grn:   #00ff88;
      --grn2:  rgba(0,255,136,0.08);
      --grn3:  rgba(0,255,136,0.04);
      --grn4:  #0d1117;
      --grn5:  #161b22;
      --grn6:  #4dffa8;
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg); color: var(--white);
      font-family: var(--fm);
      overflow-x: hidden; -webkit-font-smoothing: antialiased;
    }
    ::selection { background: var(--grn); color: #000; }
 
    /* ── NOISE ── */
    .noise {
      position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: .04;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 160px;
    }
 
    /* ── PROGRESS ── */
    #bar { position: fixed; top: 0; left: 0; height: 1px; z-index: 9997; background: linear-gradient(90deg,var(--gold),var(--gold2)); width: 0; }
 
    #header { position: relative; z-index: 100; }
    #footer { position: relative; z-index: 2; }
 
    /* =========================================================
       HERO — PROFESSIONAL DEV STYLE
    ========================================================= */
    #hero {
      position: relative; min-height: 100svh; overflow: hidden;
      display: grid; grid-template-columns: 52% 48%;
      border-bottom: 1px solid var(--brd);
    }
    #hero ::selection { background: var(--grn); color: #000; }

    /* Code-grid background */
    #hero::before {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background-image:
        linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
      background-size: 42px 42px;
    }

    /* ── Text column ── */
    .hero-text {
      grid-column: 1; grid-row: 1; z-index: 3;
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 3rem 2rem 6.5rem 5.5rem;
    }

    .h-eye {
      display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.7rem;
      opacity: 0; animation: fu .7s ease 1.8s forwards;
    }
    .h-eye::before { content: ''; width: 28px; height: 1px; background: var(--grn); display: block; flex-shrink: 0; }
    .h-eye span { font-family: var(--fmh); font-size: .5rem; letter-spacing: .28em; color: var(--grn); text-transform: uppercase; }

    .h-title {
      margin-bottom: 2rem; position: relative; z-index: 1;
      opacity: 0; animation: fu .9s ease 2s forwards;
    }
    .h-sub {
      display: block; font-family: var(--fmh); font-size: clamp(.68rem, 1vw, .85rem);
      color: rgba(0,255,136,.8); margin-bottom: .9rem; font-weight: 400;
      letter-spacing: .01em;
    }
    .h-big {
      display: block; font-family: var(--fd);
      font-size: clamp(3.8rem, 7.5vw, 8.5rem);
      line-height: .84; letter-spacing: .02em; color: var(--white);
    }
    .h-accent { color: var(--grn); }

    .h-desc {
      max-width: 460px; font-family: var(--fmh); font-size: .66rem; font-weight: 300;
      line-height: 2.05; color: var(--dim);
      margin-bottom: 2.2rem; z-index: 1; position: relative;
      opacity: 0; animation: fu .9s ease 2.2s forwards;
    }
    .h-desc .comment { color: var(--dim); font-style: italic; }

    .h-chips {
      display: flex; flex-wrap: wrap; gap: .4rem;
      margin-bottom: 2.8rem; z-index: 1; position: relative;
      opacity: 0; animation: fu .9s ease 2.35s forwards;
    }
    .chip {
      font-family: var(--fmh); font-size: .5rem; letter-spacing: .1em;
      padding: .3rem .75rem; border: 1px solid rgba(0,255,136,.18);
      color: var(--dim); text-transform: uppercase;
      transition: border-color .3s, color .3s, background .3s;
    }
    .chip.hi, .chip:hover { border-color: rgba(0,255,136,.55); color: var(--grn); }
    .chip.hi { background: var(--grn2); }

    .h-cta {
      display: flex; align-items: center; gap: 2.5rem;
      z-index: 1; position: relative; padding-bottom: 4rem;
      opacity: 0; animation: fu .9s ease 2.5s forwards;
    }
    .btn-g {
      display: inline-flex; align-items: center; gap: .8rem;
      background: var(--grn); color: #000;
      font-family: var(--fmh); font-size: .54rem; font-weight: 500;
      letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
      padding: .95rem 2rem; position: relative; overflow: hidden;
      transition: box-shadow .35s, transform .3s;
    }
    .btn-g::before {
      content: ''; position: absolute; inset: 0; background: var(--grn6);
      transform: scaleX(0); transform-origin: left;
      transition: transform .4s cubic-bezier(.77,0,.175,1);
    }
    .btn-g > * { position: relative; z-index: 1; }
    .btn-g:hover::before { transform: scaleX(1); }
    .btn-g:hover { transform: translateY(-1px); }
    .btn-g svg { width: 13px; height: 13px; transition: transform .3s; flex-shrink: 0; }
    .btn-g:hover svg { transform: translateX(4px); }

    .btn-ghost {
      color: var(--dim); font-family: var(--fmh); font-size: .5rem;
      letter-spacing: .22em; text-transform: uppercase;
      text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
      transition: color .3s;
    }
    .btn-ghost:hover { color: var(--grn); }
    .btn-ghost::after { content: '→'; transition: transform .3s; font-family: sans-serif; }
    .btn-ghost:hover::after { transform: translateX(4px); }

    /* ── Terminal panel ── */
    .term-panel {
      grid-column: 2; grid-row: 1; z-index: 2;
      display: flex; align-items: center; justify-content: center;
      padding: 3rem 3rem 6.5rem 1rem;
      position: relative;
    }
    .dev-col {
      display: flex; flex-direction: column; gap: 1.1rem;
      width: 100%; max-width: 500px;
    }

    /* Profile card (GitHub style) */
    .profile-card {
      display: flex; align-items: center; gap: 1.2rem;
      background: var(--grn5);
      border: 1px solid rgba(0,255,136,.15);
      padding: 1.2rem 1.3rem;
      position: relative;
      opacity: 0; animation: fu .7s ease 2.1s forwards;
    }
    .profile-card::after {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
      background: var(--grn);
    }
    .profile-avatar {
      width: 96px; height: 96px; border-radius: 50%;
      overflow: hidden; border: 2px solid var(--grn);
      flex-shrink: 0;
    }
    .profile-avatar img {
      width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
      filter: grayscale(.15) brightness(.95) contrast(1.05);
      transition: transform .5s ease, filter .5s ease;
    }
    .profile-card:hover .profile-avatar img {
      transform: scale(1.06); filter: none;
    }
    .profile-info { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
    .profile-name {
      font-family: var(--fmh); font-size: 1.15rem; font-weight: 700;
      color: var(--white); letter-spacing: .02em; line-height: 1.2;
    }
    .profile-handle {
      font-family: var(--fmh); font-size: .68rem; color: var(--grn);
      line-height: 1.35;
    }
    .profile-meta {
      font-family: var(--fmh); font-size: .56rem; color: #a8a6a3;
      line-height: 1.4;
    }
    .profile-status {
      margin-left: auto; display: flex; align-items: center; gap: .5rem;
      font-family: var(--fmh); font-size: .54rem; letter-spacing: .16em;
      text-transform: uppercase; color: var(--grn); white-space: nowrap;
    }
    .status-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #3ddc97; animation: pulser 2s ease infinite;
    }
    .term-window {
      width: 100%; max-width: 500px;
      background: var(--grn4);
      border: 1px solid rgba(0,255,136,.15);
      box-shadow: 0 24px 60px rgba(0,0,0,.45);
      font-family: var(--fmh); font-size: .68rem;
      position: relative;
      opacity: 0; animation: fu .8s ease 2.1s forwards;
    }
    .term-bar {
      display: flex; align-items: center; gap: 7px;
      padding: .75rem 1.1rem;
      background: var(--grn5); border-bottom: 1px solid rgba(0,255,136,.12);
    }
    .term-dot { width: 11px; height: 11px; border-radius: 50%; }
    .term-dot.r { background: #ff5f57; }
    .term-dot.y { background: #ffbd2e; }
    .term-dot.g { background: #28ca42; }
    .term-title {
      margin-left: auto; font-size: .48rem; letter-spacing: .16em;
      color: rgba(232,230,227,.35); text-transform: uppercase;
    }
    .term-body { padding: 1.3rem 1.3rem 1.5rem; line-height: 2.05; }
    .term-line { display: flex; align-items: center; gap: .6rem; }
    .term-anim .term-line {
      opacity: 0; transform: translateY(4px);
      transition: opacity .25s ease, transform .25s ease;
    }
    .term-anim .term-line.in { opacity: 1; transform: translateY(0); }
    .term-prompt { color: var(--grn); flex-shrink: 0; }
    .term-cmd { color: var(--white); }
    .term-out { color: #a8a6a3; padding-left: 1.05rem; }
    .term-out .hi-grn { color: var(--grn); }
    .term-out.ok { color: var(--grn); }
    .term-out.ok .dot {
      display: inline-block; width: 6px; height: 6px; border-radius: 50%;
      background: #3ddc97; margin-right: .55rem;
      animation: pulser 2s ease infinite;
    }
    .term-cursor {
      display: inline-block; width: 7px; height: 14px;
      background: var(--grn); vertical-align: middle;
      animation: blink 1.1s step-end infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }

    /* ── Status bar ── */
    .statusbar {
      position: absolute; bottom: 0; left: 0; right: 0; z-index: 12;
      display: flex; align-items: center;
      background: rgba(10,10,10,.92); backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-top: 1px solid rgba(0,255,136,.12);
      font-family: var(--fmh); font-size: .46rem;
      letter-spacing: .18em; text-transform: uppercase; color: #5a5a5a;
      opacity: 0; animation: fu .7s ease 2.6s forwards;
    }
    .sb-item {
      padding: .75rem 1.4rem; white-space: nowrap;
      display: flex; align-items: center; gap: .55rem;
    }
    .sb-item + .sb-item { border-left: 1px solid rgba(0,255,136,.1); }
    .sb-right { margin-left: auto; color: var(--grn); }
    .sb-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: #3ddc97; animation: pulser 2s ease infinite;
    }
    @keyframes pulser { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.6)} }
 
    /* =========================================================
       SYSTEM REPORT — TERMINAL
    ========================================================= */
    #sys-report {
      background: var(--bg2);
      border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd);
      padding: 6rem 6rem;
    }
    .sys-term {
      max-width: 1180px; margin: 0 auto;
      background: var(--grn4);
      border: 1px solid var(--brd);
      box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 42px rgba(0,255,136,.05);
      overflow: hidden;
    }
    .sys-term .term-body { padding: 1.5rem; }
    .sys-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 1px; background: var(--brd);
      border: 1px solid var(--brd);
      margin: 1.1rem 0;
    }
    .sys-cell {
      background: var(--bg2);
      padding: 2.2rem 1.8rem;
      display: flex; flex-direction: column; gap: .5rem;
      position: relative; overflow: hidden;
    }
    .sys-cell::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
      background: var(--grn);
      transform: scaleY(0); transform-origin: bottom;
      transition: transform .45s cubic-bezier(.77,0,.175,1);
    }
    .sys-cell:hover::before { transform: scaleY(1); }
    .sys-num {
      font-family: var(--fd); font-size: 3.2rem; line-height: 1;
      color: var(--grn);
    }
    .sys-lbl {
      font-family: var(--fmh); font-size: .5rem;
      letter-spacing: .2em; text-transform: uppercase; color: var(--w2);
    }
    .sys-desc {
      font-family: var(--fmh); font-size: .5rem; font-weight: 300;
      color: var(--dim); line-height: 1.8;
    }
    .sys-desc::before { content: '// '; color: var(--dim2); }
 
    /* =========================================================
       MARQUEE
    ========================================================= */
    .mq {
      padding: 1.3rem 0; overflow: hidden;
      border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd);
    }
    .mq-track { display: flex; width: max-content; animation: tkroll 38s linear infinite; }
    .mq-item {
      font-family: var(--fd); font-size: .95rem;
      letter-spacing: .4em; color: rgba(0,255,136,.35);
      text-transform: uppercase; white-space: nowrap; padding: 0 2.5rem;
    }
    .mq-dot { color: rgba(0,255,136,.15); }
 
    /* =========================================================
       PORTFOLIO SHOWCASE
    ========================================================= */
    #portfolio-showcase {
      position: relative; overflow: hidden;
      padding: 7rem 6rem 8rem;
      background: var(--bg);
      border-top: 1px solid var(--brd);
      border-bottom: 1px solid var(--brd);
    }
    #portfolio-showcase::before {
      content: ''; position: absolute; top: 0; left: 6rem;
      width: min(18rem, 32vw); height: 1px;
      background: linear-gradient(90deg, var(--grn), transparent);
    }
    .pf-intro, .pf-categories {
      width: min(100%, 1440px); margin-inline: auto;
    }
    .pf-intro {
      display: flex; align-items: flex-end; justify-content: space-between;
      gap: 2rem; padding-bottom: 3.5rem;
    }
    .pf-intro-copy { max-width: 700px; }
    .pf-kicker {
      display: block; margin-bottom: 1.1rem;
      color: var(--grn); font-family: var(--fmh); font-size: .55rem;
      letter-spacing: .22em; text-transform: uppercase;
    }
    .pf-kicker::before { content: '// '; color: var(--dim); }
    .pf-intro-title {
      color: var(--white); font-family: var(--fd);
      font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .92;
      letter-spacing: .025em;
    }
    .pf-intro-text {
      max-width: 34rem; margin-top: 1.1rem;
      color: var(--w2); font-family: var(--fmh);
      font-size: .68rem; font-weight: 300; line-height: 1.9;
    }
    .pf-intro-index {
      padding-bottom: .35rem; color: var(--dim);
      font-family: var(--fmh); font-size: .58rem; letter-spacing: .16em;
      white-space: nowrap;
    }
    .pf-intro-index span { color: var(--grn); padding: 0 .45rem; }
    .pf-categories { border-top: 1px solid var(--brd); }
    .pf-category {
      padding: 3.4rem 0 4.2rem;
      display: flex; flex-direction: column;
      border-bottom: 1px solid var(--brd);
    }
    .pf-category:last-child { padding-bottom: 0; border-bottom: 0; }
    .pf-header {
      display: flex; align-items: center; gap: 1.2rem;
      margin-bottom: 2rem; position: relative;
    }
    .pf-num {
      font-family: var(--fmh); font-size: .72rem; font-weight: 500;
      letter-spacing: .1em; color: var(--dim);
      padding-right: 1.1rem; border-right: 1px solid var(--brd2);
      flex-shrink: 0;
    }
    .pf-head-text { position: relative; z-index: 1; }
    .pf-eye {
      display: block; font-family: var(--fmh); font-size: .48rem;
      letter-spacing: .18em; text-transform: uppercase;
      color: var(--dim); margin-bottom: .45rem;
    }
    .pf-eye::before { content: '// '; color: var(--grn); }
    .pf-title {
      font-family: var(--fd); font-size: clamp(1.8rem, 3vw, 2.6rem);
      line-height: 1; letter-spacing: .04em; color: var(--white);
    }
    .pf-more {
      margin-left: auto;
      display: inline-flex; align-items: center; gap: .6rem;
      padding: .7rem 0 .7rem .8rem;
      font-family: var(--fmh); font-size: .52rem; font-weight: 500;
      letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
      color: var(--w2); white-space: nowrap;
      transition: color .25s, transform .25s;
    }
    .pf-more:hover, .pf-more:focus-visible {
      color: var(--grn); transform: translateX(2px);
    }
    .pf-more span {
      color: var(--grn); font-size: 1rem; line-height: 1;
      transition: transform .25s; display: inline-block;
    }
    .pf-more:hover span, .pf-more:focus-visible span { transform: translateX(4px); }
    .pf-more:focus-visible { outline: 1px solid var(--grn); outline-offset: 4px; }

    .pf-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    /* ── Dev card ── */
    .pf-card-dev {
      background: var(--bg2); overflow: hidden; position: relative;
      display: flex; flex-direction: column;
      border: 1px solid var(--brd);
      transition: border-color .4s, background .3s;
    }
    .pf-card-dev::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
      background: var(--gold);
      transform: scaleY(0); transform-origin: bottom;
      transition: transform .5s cubic-bezier(.77,0,.175,1);
      z-index: 2;
    }
    .pf-card-dev:hover::before { transform: scaleY(1); }
    .pf-card-dev:hover { background: var(--bg3); border-color: rgba(0,255,136,.2); }

    /* File-path terminal bar */
    .pf-dev-filepath {
      display: flex; align-items: center; gap: .4rem;
      padding: .6rem .9rem;
      background: var(--grn4);
      border-bottom: 1px solid var(--brd);
      font-family: var(--fmh); font-size: .46rem; letter-spacing: .08em;
    }
    .pfp-path { color: var(--dim2); }
    .pfp-file { color: var(--grn); }
    .pfp-num { margin-left: auto; color: var(--dim2); font-size: .4rem; letter-spacing: .12em; }

    .pf-dev-img {
      aspect-ratio: 16/9; overflow: hidden; position: relative;
      background: var(--bg3);
    }
    .pf-dev-img::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to bottom, transparent 60%, rgba(0,255,136,.04));
      opacity: 0; transition: opacity .5s;
    }
    .pf-card-dev:hover .pf-dev-img::after { opacity: 1; }
    .pf-dev-img img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform .9s cubic-bezier(.2,.8,.2,1);
    }
    .pf-card-dev:hover .pf-dev-img img { transform: scale(1.05); }

    .pf-dev-body {
      padding: 1.4rem 1.4rem 1.2rem;
      flex: 1; display: flex; flex-direction: column;
    }
    .pf-dev-title {
      font-family: var(--fd); font-size: 1.3rem;
      letter-spacing: .04em; color: var(--white); line-height: 1;
      margin-bottom: .5rem; transition: color .3s;
    }
    .pf-card-dev:hover .pf-dev-title { color: var(--gold); }
    .pf-dev-desc {
      font-family: var(--fmh); font-size: .6rem; font-weight: 300;
      line-height: 1.85;
      color: var(--dim); margin-bottom: .9rem; flex: 1;
      transition: color .3s;
    }
    .pf-dev-desc::before { content: '// '; color: var(--dim2); }
    .pf-card-dev:hover .pf-dev-desc { color: var(--w2); }
    .pf-dev-tags {
      display: flex; flex-wrap: wrap; gap: .3rem;
      margin-bottom: 1rem;
    }
    .pf-dev-tag {
      font-family: var(--fm); font-size: .38rem;
      letter-spacing: .12em; color: var(--dim2);
      border: 1px solid var(--brd);
      padding: .1rem .45rem; text-transform: uppercase;
    }
    .pf-dev-actions {
      display: flex; gap: .6rem;
    }
    .pf-dev-actions a {
      display: inline-flex; align-items: center; gap: .4rem;
      font-family: var(--fm); font-size: .42rem;
      letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
      color: var(--gold); padding: .45rem .9rem;
      border: 1px solid rgba(0,255,136,.3);
      transition: background .3s, color .3s, border-color .3s;
    }
    .pf-dev-actions a:hover {
      background: var(--gold); color: #000; border-color: var(--gold);
    }
    .pf-dev-actions a svg { width: 10px; height: 10px; flex-shrink: 0; }

    /* ── Photo & Design card (gallery label) ── */
    .pf-card-design {
      background: var(--bg2); overflow: hidden;
      border: 1px solid var(--brd);
      transition: border-color .4s;
    }
    .pf-card-design:hover { border-color: rgba(0,255,136,.2); }

    .pf-design-img {
      aspect-ratio: 4/3; overflow: hidden; position: relative;
      background: var(--bg3);
    }
    .pf-design-img img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform .9s cubic-bezier(.2,.8,.2,1);
    }
    .pf-card-design:hover .pf-design-img img { transform: scale(1.05); }

    .pf-design-label {
      padding: 1rem 1.2rem 1.2rem;
      border-top: 1px solid var(--brd);
    }
    .pf-design-cat {
      font-family: var(--fm); font-size: .38rem;
      letter-spacing: .25em; text-transform: uppercase; color: var(--dim2);
      display: block; margin-bottom: .2rem;
    }
    .pf-design-title {
      font-family: var(--fd); font-size: 1.1rem;
      letter-spacing: .04em; color: var(--white); line-height: 1;
      margin: 0; transition: color .3s;
    }
    .pf-card-design:hover .pf-design-title { color: var(--grn); }

    .pf-design-actions {
      display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem;
    }
    .pfd-btn {
      display: inline-flex; align-items: center; gap: .4rem;
      font-family: var(--fm); font-size: .42rem;
      letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
      color: var(--grn); padding: .45rem .9rem;
      border: 1px solid rgba(0,255,136,.3);
      background: transparent; cursor: pointer;
      transition: background .3s, color .3s, border-color .3s;
    }
    .pfd-btn:hover {
      background: var(--grn); color: #000; border-color: var(--grn);
    }
    .pfd-btn svg { width: 10px; height: 10px; flex-shrink: 0; }

    /* =========================================================
       DISCIPLINES
    ========================================================= */
    #disciplines { padding: 8rem 6rem; }
    .sec-eye {
      display: flex; align-items: center; gap: 1.2rem; margin-bottom: 5rem;
    }
    .sec-eye::before { content: ''; display: block; width: 26px; height: 1px; background: var(--gold); }
    .sec-eye span { font-family: var(--fm); font-size: .5rem; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; }
 
    .disc-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1px; background: var(--brd); border: 1px solid var(--brd);
    }
    .disc-card {
      background: var(--bg2); padding: 3rem 2.5rem;
      position: relative; overflow: hidden;
      transition: background .4s; cursor: default;
    }
    .disc-card::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
      background: linear-gradient(to bottom, var(--gold), var(--gold2));
      transform: scaleY(0); transform-origin: bottom;
      transition: transform .5s cubic-bezier(.77,0,.175,1);
    }
    .disc-card:hover { background: var(--bg3); }
    .disc-card:hover::before { transform: scaleY(1); }
    .disc-n {
      position: absolute; top: 1.5rem; right: 2rem;
      font-family: var(--fd); font-size: 3.5rem;
      color: rgba(0,255,136,.05); line-height: 1;
      transition: color .4s;
    }
    .disc-card:hover .disc-n { color: rgba(0,255,136,.09); }
    .disc-ic {
      font-size: 1.4rem; margin-bottom: 1.2rem;
      color: var(--gold); opacity: .65; transition: opacity .3s; line-height: 1;
    }
    .disc-card:hover .disc-ic { opacity: 1; }
    .disc-t {
      font-family: var(--fd); font-size: 1.9rem;
      letter-spacing: .04em; color: var(--white);
      margin-bottom: .8rem; line-height: 1; transition: color .3s;
    }
    .disc-card:hover .disc-t { color: var(--gold2); }
    .disc-b {
      font-family: var(--fm); font-size: .62rem;
      line-height: 1.95; color: var(--dim); transition: color .3s;
    }
    .disc-card:hover .disc-b { color: var(--w2); }
    .disc-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1.4rem; }
    .dtag {
      font-family: var(--fm); font-size: .46rem;
      letter-spacing: .1em; color: var(--dim); border: 1px solid rgba(0,255,136,.2);
      padding: .15rem .45rem; text-transform: uppercase;
      transition: border-color .3s, color .3s;
    }
    .disc-card:hover .dtag { border-color: rgba(0,255,136,.5); color: var(--gold); }
 
    /* =========================================================
       TESTIMONIALS
    ========================================================= */
    #testimonials {
      padding: 8rem 6rem;
      border-top: 1px solid var(--brd);
      background: var(--bg2);
    }
 
    .test-head {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 5rem; flex-wrap: wrap; gap: 2rem;
    }
    .test-head-text { flex: 1; min-width: 240px; }
    .test-eye {
      display: block; font-family: var(--fmh); font-size: .5rem;
      letter-spacing: .3em; text-transform: uppercase;
      color: var(--dim2); margin-bottom: .6rem;
    }
    .test-eye::before { content: '// '; color: var(--grn); }
    .test-heading {
      font-family: var(--fd); font-size: clamp(2.6rem, 5vw, 5.5rem);
      line-height: 1; letter-spacing: .02em; color: var(--white);
    }
    .test-heading .outline {
      display: block; color: transparent;
      -webkit-text-stroke: 1px rgba(0,255,136,.45);
    }
    .test-sub {
      font-family: var(--fmh); font-weight: 300;
      font-size: .62rem; letter-spacing: .04em;
      color: var(--dim); max-width: 300px; line-height: 1.9; text-align: right;
    }
    .test-sub::before { content: '/* '; color: var(--dim2); }
    .test-sub::after { content: ' */'; color: var(--dim2); }
 
    /* Slider */
    .test-slider-wrap { position: relative; overflow: hidden; }
    .test-slider {
      display: flex; gap: 2px;
      transition: transform .7s cubic-bezier(.25,.46,.45,.94);
    }
    .test-card {
      flex: 0 0 calc(33.333% - 2px);
      position: relative;
    }
 
    /* ── Shared feedback card (homepage + feedback page) ── */
    .fb-card {
      display: flex; flex-direction: column;
      background: var(--grn4);
      border: 1px solid var(--brd);
      position: relative; overflow: hidden;
      transition: border-color .3s, box-shadow .3s;
    }
    .fb-card:hover {
      border-color: var(--brd2);
      box-shadow: 0 18px 50px rgba(0,0,0,.4);
    }
    .fb-card-head {
      display: flex; align-items: center; gap: .6rem;
      padding: .6rem 1.1rem;
      background: var(--grn5);
      border-bottom: 1px solid var(--brd);
      font-family: var(--fm); font-size: .46rem; letter-spacing: .08em;
    }
    .fb-id { color: var(--grn); }
    .fb-file { margin-left: auto; color: var(--dim); }
    .fb-stars {
      display: flex; gap: .3rem;
      padding: 1.3rem 1.3rem 0;
    }
    .fb-stars span { color: var(--grn); font-size: .85rem; }
    .fb-quote {
      font-family: var(--fmh); font-weight: 300;
      font-size: .64rem; line-height: 1.95; color: var(--w2);
      padding: .8rem 1.3rem 1.2rem; flex: 1;
    }
    .fb-author {
      margin-top: auto;
      display: flex; align-items: center; gap: .9rem;
      padding: 1rem 1.3rem;
      background: rgba(0,255,136,.03);
      border-top: 1px solid var(--brd);
    }
    .fb-avatar {
      width: 44px; height: 44px; border-radius: 50%;
      border: 1px solid var(--brd2); object-fit: cover; flex-shrink: 0;
    }
    .fb-meta { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
    .fb-name {
      font-family: var(--fm); font-size: .55rem; letter-spacing: .12em;
      text-transform: uppercase; color: var(--white);
    }
    .fb-role { font-family: var(--fm); font-size: .44rem; color: var(--dim); }
    .fb-cat {
      margin-left: auto; flex-shrink: 0;
      font-family: var(--fm); font-size: .42rem; letter-spacing: .1em;
      color: var(--grn); border: 1px solid var(--brd2);
      padding: .2rem .55rem; white-space: nowrap;
    }

    /* Slider controls */
    .test-controls {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 3rem;
    }
    .test-dots { display: flex; gap: .7rem; align-items: center; }
    .test-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--dim2); cursor: pointer;
      transition: background .3s, transform .3s;
    }
    .test-dot.on { background: var(--gold); transform: scale(1.4); }
 
    .test-arrows { display: flex; gap: .5rem; }
    .t-arr {
      width: 44px; height: 44px; border: 1px solid var(--brd);
      background: none; color: var(--dim); cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; font-family: sans-serif;
      transition: border-color .3s, color .3s, background .3s;
    }
    .t-arr:hover { border-color: var(--gold); color: var(--gold); background: var(--g2); }
 
    /* =========================================================
       CTA STRIP
    ========================================================= */
    #cta-strip {
      display: grid; grid-template-columns: 1fr auto;
      align-items: center; gap: 4rem;
      padding: 6rem 6rem;
      border-top: 1px solid var(--brd);
      background: var(--bg);
    }
    .cta-left {}
    .cta-eye {
      font-family: var(--fm); font-size: .48rem;
      letter-spacing: .44em; color: var(--gold); text-transform: uppercase;
      display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem;
    }
    .cta-eye::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: block; }
    .cta-title {
      font-family: var(--fp); font-style: italic;
      font-size: clamp(1.6rem, 3vw, 3rem);
      color: var(--white); line-height: 1.3;
    }
    .cta-title em { color: var(--gold2); font-style: normal; }
    .cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; }
    .cta-note {
      font-family: var(--fm); font-size: .44rem;
      letter-spacing: .22em; color: var(--dim); text-transform: uppercase;
    }
 
    /* =========================================================
       ANIMATIONS
    ========================================================= */
    @keyframes fu {
      from { opacity: 0; transform: translateY(26px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes tkroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    .reveal {
      opacity: 0; transform: translateY(32px);
      transition: opacity .85s ease, transform .85s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .disc-grid .disc-card:nth-child(2) { transition-delay: .07s; }
    .disc-grid .disc-card:nth-child(3) { transition-delay: .14s; }
    .disc-grid .disc-card:nth-child(4) { transition-delay: .05s; }
    .disc-grid .disc-card:nth-child(5) { transition-delay: .12s; }
    .disc-grid .disc-card:nth-child(6) { transition-delay: .19s; }
 
    /* =========================================================
       LIGHTBOX
    ========================================================= */
    .lightbox {
      position: fixed; inset: 0; z-index: 10000;
      display: flex; align-items: center; justify-content: center;
      padding: 2rem;
      background: rgba(5,7,9,.93);
      backdrop-filter: blur(6px);
      opacity: 0; visibility: hidden;
      transition: opacity .35s ease, visibility .35s ease;
    }
    .lightbox.open { opacity: 1; visibility: visible; }
    .lb-fig {
      margin: 0; max-width: min(1200px, 92vw); max-height: 88vh;
      display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
    }
    .lb-fig img {
      max-width: 100%; max-height: 78vh;
      border: 1px solid var(--brd);
      box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 40px rgba(0,255,136,.05);
    }
    .lb-cap {
      font-family: var(--fmh); font-size: .55rem; font-weight: 400;
      letter-spacing: .22em; text-transform: uppercase;
      color: var(--dim); text-align: center;
    }
    .lb-cap::before { content: '~/galeria/ '; color: var(--grn); }
    .lb-close {
      position: absolute; top: 1.4rem; right: 1.6rem;
      width: 44px; height: 44px;
      display: flex; align-items: center; justify-content: center;
      background: none; border: 1px solid var(--brd);
      color: var(--grn); font-size: 1.5rem; line-height: 1; cursor: pointer;
      transition: background .3s, color .3s, border-color .3s;
    }
    .lb-close:hover { background: var(--grn); color: #000; border-color: var(--grn); }

    /* =========================================================
       CESARIO MESSAGE POPUP
    ========================================================= */
    .cesario-popup {
      position: fixed; inset: 0; z-index: 11000;
      display: flex; align-items: center; justify-content: center;
      padding: 1.5rem; background: rgba(5,7,9,.84);
      backdrop-filter: blur(10px);
      opacity: 0; visibility: hidden; pointer-events: none;
      transition: opacity .35s ease, visibility .35s ease;
    }
    .cesario-popup.open { opacity: 1; visibility: visible; pointer-events: auto; }
    .cesario-popup-card {
      position: relative; display: flex; align-items: flex-end;
      width: min(760px, 100%); min-height: 460px; aspect-ratio: 16 / 10; overflow: hidden;
      background-image: linear-gradient(0deg, rgba(5,7,9,.97) 0%, rgba(5,7,9,.76) 30%, rgba(5,7,9,.04) 72%), url('/assets/images/richard-x-tomas.png');
      background-size: cover; background-position: center;
      border: 1px solid var(--brd2);
      box-shadow: 0 30px 100px rgba(0,0,0,.65), 0 0 50px rgba(0,255,136,.07);
      transform: translateY(18px) scale(.97); opacity: 0;
      transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
    }
    .cesario-popup.open .cesario-popup-card { transform: translateY(0) scale(1); opacity: 1; }
    .cesario-popup-content { position: relative; z-index: 1; width: min(68%, 500px); padding: 2rem 3rem 2.5rem; }
    .cesario-popup-kicker {
      margin-bottom: 1rem; color: var(--grn); font-family: var(--fmh); font-size: .5rem;
      letter-spacing: .2em; text-transform: uppercase;
    }
    .cesario-popup-kicker::before { content: ''; display: inline-block; width: 22px; height: 1px; margin: 0 .7rem .2rem 0; background: var(--grn); }
    /* .cesario-popup-content h2 { color: var(--white); font-family: var(--fd); font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .92; letter-spacing: .02em; } */
    .cesario-popup-content h2 { color: var(--white); font-family: var(--fd); font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: .92; letter-spacing: .02em; }
    .cesario-popup-content p { max-width: 270px; margin: 1.2rem 0 2rem; color: var(--w2); font-family: var(--fmh); font-size: .65rem; line-height: 1.8; }
    .cesario-popup-cta {
      display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: fit-content;
      padding: .9rem 1.1rem; color: #000; background: var(--grn); border: 1px solid var(--grn);
      font-family: var(--fmh); font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
      transition: background .3s, color .3s, transform .3s;
    }
    .cesario-popup-cta:hover { color: var(--grn); background: transparent; transform: translateX(3px); }
    .cesario-popup-close {
      position: absolute; top: .8rem; right: .8rem; z-index: 1; width: 34px; height: 34px;
      display: grid; place-items: center; color: var(--w2); background: rgba(7,7,7,.65); border: 1px solid var(--brd);
      cursor: pointer; font-size: 1.3rem; line-height: 1; transition: color .3s, border-color .3s, background .3s;
    }
    .cesario-popup-close:hover, .cesario-popup-close:focus-visible { color: #000; background: var(--grn); border-color: var(--grn); outline: none; }

    /* =========================================================
       RESPONSIVE
    ========================================================= */
    @media (max-width: 1200px) {
      #hero { display: flex; flex-direction: column; min-height: 100svh; }
      .term-panel { flex: none; order: -1; padding: 6.5rem 3rem 1.25rem; justify-content: flex-start; align-items: flex-start; }
      .term-window { display: none; }
      .dev-col { max-width: 100%; }
      .hero-text { flex: 1; order: 0; position: relative; z-index: 2; background: none; padding: 1rem 3rem 5rem; justify-content: center; }
      .h-cta { padding-bottom: 0; }
      .h-br { display: none; }
      .h-big { font-size: clamp(1.6rem, 4.2vw, 3rem); white-space: nowrap; }
      #sys-report { padding: 4rem 3rem; }
      .sys-grid { grid-template-columns: repeat(2,1fr); }
      .disc-grid { grid-template-columns: repeat(2,1fr); }
      .pf-grid { grid-template-columns: repeat(2,1fr); }
      #portfolio-showcase { padding: 5rem 3rem; }
      #disciplines, #testimonials, #cta-strip { padding: 5rem 3rem; }
      .test-card { flex: 0 0 calc(50% - 2px); }
    }
    @media (max-width: 900px) {
      .test-card { flex: 0 0 100%; }
    }
    @media (max-width: 768px) {
      #sys-report { display: none; }
      .sys-grid { grid-template-columns: 1fr 1fr; }
      #portfolio-showcase, #disciplines, #testimonials, #cta-strip { padding: 4rem 2rem; }
      .hero-text { padding: 1rem 1.5rem 5rem; }
      .term-panel { padding: 6rem 1.5rem 1.25rem; }
      #cta-strip { grid-template-columns: 1fr; }
      .cta-right { align-items: flex-start; }
      .test-head { flex-direction: column; }
      .test-sub { text-align: left; }
    }
    @media (max-width: 560px) {
      .cesario-popup { padding: 1rem; }
      .cesario-popup-card { min-height: 78svh; aspect-ratio: auto; }
      .cesario-popup-content { width: 100%; padding: 2rem 1.5rem 1.8rem; }
      .cesario-popup-content h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
      .sys-grid { grid-template-columns: 1fr; }
      #sys-report { padding: 3rem 1.25rem; }
      .sys-term .term-body { padding: .8rem; }
      .pf-intro { padding-bottom: 2.5rem; }
      .pf-intro-index { display: none; }
      .pf-category { padding: 2.6rem 0 3rem; }
      .pf-header { flex-wrap: wrap; align-items: flex-start; }
      .pf-more { margin-left: auto; }
      .disc-grid { grid-template-columns: 1fr; }
      .pf-grid { grid-template-columns: 1fr; }
      .h-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
      .h-desc { max-width: 100%; }
      .h-eye { display: none; }
      .h-sub { font-size: clamp(.62rem, 1.2vw, .8rem); letter-spacing: 0; margin-bottom: .7rem; }
      .h-title { margin-bottom: 1.4rem; }
      .h-big { font-size: clamp(1.65rem, 5vw, 3rem); }
      .h-desc { margin-bottom: 1.5rem; line-height: 1.9; }
      .h-chips { margin-bottom: 1.8rem; gap: .35rem; }
      .chip { padding: .28rem .7rem; }
      .btn-g { padding: .85rem 1.6rem; font-size: .5rem; }
      .profile-avatar { width: 76px; height: 76px; }
      .profile-name { font-size: 1.05rem; }
      .profile-handle { font-size: .62rem; }
      .profile-meta { font-size: .52rem; }
      .h-eye, .h-title, .h-desc, .h-chips, .h-cta, .profile-card, .term-window, .statusbar { animation-duration: .55s; }
      .profile-card { animation-delay: .2s; }
      .h-title { animation-delay: .3s; }
      .h-desc { animation-delay: .4s; }
      .h-chips { animation-delay: .5s; }
      .h-cta { animation-delay: .6s; }
      .statusbar { animation-delay: .7s; }
      .statusbar { flex-wrap: wrap; }
      .sb-right { margin-left: 0; width: 100%; justify-content: center; border-left: none !important; }
      .profile-card { flex-wrap: wrap; gap: .8rem; }
      .profile-status { margin-left: 0; }
    }
