
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #04061a;
      --bg2: #080c24;
      --accent: #e8c84a;
      --text: #ffffff;
      --muted: #8a8fa8;
      --card-bg: #0c1230;
      --nav-height: 56px;
      --border: rgba(255,255,255,.10);
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Barlow', sans-serif;
      overflow-x: hidden;
    }

    a { text-decoration: none; color: inherit; }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: var(--nav-height);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 32px;
      background: rgba(4,6,26,.97);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo {
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: .5px;
      color: #fff;
    }
    .nav-links { display: flex; gap: 36px; }
    .nav-links a {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #ccd;
      transition: color .2s;
    }
    .nav-links a:hover { color: #fff; }
    .nav-links a.active { color: var(--accent); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { display: block; width: 22px; height: 2px; background: #fff; }

    /* ── PAGE WRAPPER ── */
    .page {
      max-width: 860px;
      margin: 0 auto;
      padding: 0 32px;
    }

    /* ── PAGE HEADER ── */
    .portfolio-header {
      padding-top: calc(var(--nav-height) + 40px);
      padding-bottom: 32px;
    }
    .portfolio-header h1 {
      font-family: 'Barlow', sans-serif;
      font-style: italic;
      font-weight: 700;
      font-size: clamp(42px, 9vw, 80px);
      letter-spacing: 1px;
      line-height: 1;
      color: #fff;
    }

    /* ── DIVIDER ── */
    .divider { height: 1px; background: var(--border); }

    /* ── GRID ── */
    .portfolio-grid {
      padding: 48px 0 64px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px 28px;
    }

    /* last item (Characters) sits alone on the left */
    .grid-item {
      display: flex;
      flex-direction: column;
      gap: 14px;
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .55s ease, transform .55s ease;
    }
    .grid-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .grid-item:nth-child(2) { transition-delay: .08s; }
    .grid-item:nth-child(3) { transition-delay: .04s; }
    .grid-item:nth-child(4) { transition-delay: .12s; }
    .grid-item:nth-child(5) { transition-delay: .08s; }
    .grid-item:nth-child(6) { transition-delay: .16s; }
    .grid-item:nth-child(7) { transition-delay: .04s; }

    /* lone last card */
    .grid-item.solo {
      grid-column: 1 / 2;
    }

    .thumb {
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: 10px;
      overflow: hidden;
      background: #111630;
      position: relative;
    }
    .thumb img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .5s ease;
    }
    .grid-item:hover .thumb img { transform: scale(1.05); }

    /* Characters card has a taller/portrait-ish thumb */
    .grid-item.solo .thumb {
      aspect-ratio: 16/11;
      background: #c8cdd8;
    }
    .grid-item.solo .thumb img {
      object-fit: contain;
      object-position: center;
      padding: 12px;
    }

    .item-title {
      font-family: 'Barlow', sans-serif;
      font-style: italic;
      font-weight: 700;
      font-size: clamp(15px, 2.2vw, 19px);
      letter-spacing: .5px;
      color: #fff;
      transition: color .2s;
    }
    .grid-item:hover .item-title { color: var(--accent); }

/* ── FOOTER ── */

footer {
    background: var(--bg2);
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
}


/* main card – clean white panel, exactly replicating structure from the image */
.card {
    width: 100%;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 3rem 3rem 2.8rem 3rem;
}

/* grid layout: 4 columns exactly like the image shows:
           Main | Learn | Legal | Social */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 2rem;
    margin-bottom: 2rem;
}

/* each column styling */
.nav-col h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #c8c8e9;
    margin-bottom: 1.25rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #eaeef2;
    display: inline-block;
}

.nav-col ul {
    list-style: none;
}

.nav-col li {
    margin-bottom: 0.8rem;
}

.nav-col a {
    text-decoration: none;
    color: #8a8a96;
    font-weight: 450;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-col a:hover {
    color: #e8c84a;
    transform: translateX(3px);
}

/* specific style for social links (icons) */
.social-links a i {
    width: 1.4rem;
    font-size: 1.2rem;
    color: #b0b8d0;
}

.social-links a:hover i {
    color: #e8c84a;
}

/* bottom extra line – optional separator (matching minimal style) */
.footer-bottom {
    margin: 2rem;
    padding: 1.2rem;
    border-top: 1px solid #edf0f5;
    text-align: center;
    font-size: 0.8rem;
    color: #8a8a96;
    width: 100%;
}

/* responsive: on smaller screens, two columns then stacked */
@media (max-width: 750px) {
    .card {
        padding: 2rem;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-col h3 {
        margin-bottom: 0.9rem;
    }
}

/* additional heading style: image like plain modern */
.site-header {
    margin-bottom: 2rem;
    text-align: left;
}

.site-header h2 {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8f8f9e;
    border-left: 4px solid #cbd5e1;
    padding-left: 12px;
}

/* ── ARROW SVG ── */
.arrow-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── DIVIDER LINE ── */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, .06);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 24px 32px;
        gap: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .hero-name {
        font-size: 72px;
    }


    .chars-grid {
        grid-template-columns: 1fr 1fr;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}


.back-top {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    color: #8a8fa8;
    transition: color .2s;

}

.back-top:hover {
    color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 24px 32px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
    }

    .summary-section {
        grid-template-columns: 1fr;
    }

    .summary-photo {
        max-width: 320px;
        margin: 0 auto;
    }

    .edu-skills-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .edu-skills-divider {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-col.center,
    .footer-col.right {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 0 20px;
    }

    .edu-skills-inner,
    .contact-inner {
        padding: 48px 20px;
    }

    .footer-top,
    .footer-bottom {
        padding: 20px;
    }
}.back-top {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    color: #8a8fa8;
    transition: color .2s;

}

.back-top:hover {
    color: var(--accent);
}

    /* ── RESPONSIVE ── */
    @media (max-width: 640px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; top: var(--nav-height); left: 0; right: 0;
        background: var(--bg); padding: 24px 32px; gap: 18px;
        border-bottom: 1px solid var(--border);
      }
      .portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
      .grid-item.solo { grid-column: 1 / -1; }
      .footer-top { grid-template-columns: 1fr; gap: 10px; }
      .footer-col.center, .footer-col.right { text-align: left; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    }
    @media (max-width: 480px) {
      .page { padding: 0 20px; }
      .footer-top, .footer-bottom { padding: 16px 20px; }
    }
    