/* ============================================
   Rames Saljuqi — Portfolio
   Editorial / typografisch ontwerp
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0f0d09;
    --ink: #ece3cf;
    --muted: #9c937e;
    --line: rgba(236, 227, 207, 0.14);
    --line-strong: rgba(236, 227, 207, 0.8);
    --accent: #d4af37;
    --pad: clamp(20px, 5vw, 72px);
    --font-sans: 'Inter Tight', 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

html.lenis {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--ink);
    color: var(--bg);
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Korrel-textuur over de hele site */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   Header
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px var(--pad);
    border-bottom: 1px solid var(--line);
    background-color: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-hidden {
    transform: translateY(-101%);
}

.header-name {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(14px, 2.5vw, 32px);
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-contact {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 8px 18px;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.header-contact:hover {
    background-color: var(--ink);
    color: var(--bg);
}

/* ============================================
   Hero
   ============================================ */

.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(110px, 14vh, 150px) var(--pad) 48px;
    position: relative;
}

.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 15px;
    color: var(--ink);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4cba78;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #4cba78;
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0%   { transform: scale(0.5); opacity: 1; }
    70%, 100% { transform: scale(1.4); opacity: 0; }
}

.hero-title {
    font-size: clamp(3.4rem, 14.5vw, 13rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.hero-title .accent {
    color: var(--accent);
    display: inline-block;
    animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

.hero-title .char {
    display: inline-block;
    will-change: transform;
}

.reveal-line {
    display: block;
    overflow: hidden;
}

.reveal-inner {
    display: inline-block;
    will-change: transform;
}

.hero-lower {
    margin-top: auto;
    padding-top: clamp(24px, 4vh, 40px);
    border-top: 1px solid var(--line);
}

.hero-info {
    max-width: 560px;
}

.hero-role {
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    max-width: 30ch;
    line-height: 1.35;
}

.hero-role em {
    font-size: 1.12em;
}

.hero-about {
    max-width: 44ch;
    color: var(--muted);
    font-size: 0.98rem;
    margin-top: 18px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 40px);
    margin-top: clamp(28px, 4vh, 44px);
}

.text-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line-strong);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.hero-scroll {
    position: absolute;
    right: var(--pad);
    bottom: 48px;
}

/* ============================================
   Hero code-kaart
   ============================================ */

.hero-code {
    position: absolute;
    top: clamp(110px, 14vh, 150px);
    right: var(--pad);
    width: min(440px, 31vw);
    background-color: #1a1712;
    color: var(--ink);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 0 0 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    transform: rotate(1.5deg);
    overflow: hidden;
}

.code-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(241, 238, 231, 0.12);
    margin-bottom: 18px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(241, 238, 231, 0.22);
}

.code-dot:first-child {
    background-color: var(--accent);
}

.code-file {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: rgba(241, 238, 231, 0.45);
}

.hero-code pre {
    margin: 0;
    padding: 0 22px;
    font-family: var(--font-mono);
    font-size: clamp(0.62rem, 0.78vw, 0.8rem);
    line-height: 1.75;
    overflow-x: auto;
}

.code-line {
    display: block;
    white-space: pre;
    min-height: 1.75em;
}

.code-comment { color: rgba(236, 227, 207, 0.38); font-style: italic; }
.code-keyword { color: #d4af37; }
.code-classname { color: #f5d76e; }
.code-key { color: #98b8e0; }
.code-string { color: #a8c98f; }
.code-punct { color: rgba(236, 227, 207, 0.7); }
.code-bool { color: #d4af37; }

.code-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background-color: var(--accent);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: cursor-blink 0.85s steps(1) infinite;
}

@keyframes cursor-blink {
    0%, 60% { opacity: 1; }
    61%, 100% { opacity: 0; }
}

/* ============================================
   Marquee
   ============================================ */

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 48px;
    padding-right: 48px;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Grote marquee voor het contact-blok */
.marquee-big {
    padding: clamp(28px, 5vh, 48px) 0;
}

.marquee-big .marquee-track {
    gap: clamp(28px, 4vw, 56px);
    padding-right: clamp(28px, 4vw, 56px);
    align-items: center;
    animation-duration: 36s;
}

.marquee-reverse {
    animation-direction: reverse;
}

.marquee-big .big-word {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

.marquee-big .big-word.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
}

.marquee-big .big-star {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: var(--accent);
    line-height: 1;
}

/* ============================================
   Secties
   ============================================ */

.section {
    padding: clamp(72px, 12vh, 140px) var(--pad);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.section:first-of-type {
    border-top: none;
}

/* Zachte gouden gloed achter de grote sectienummers */
.section-head::before {
    content: '';
    position: absolute;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 65%);
    pointer-events: none;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: clamp(36px, 6vh, 72px);
    position: relative;
}

/* Groot ghost-nummer rechts van elke sectiekop */
.section-head::after {
    content: attr(data-num);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-54%);
    font-size: clamp(5rem, 13vw, 11rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.4);
    pointer-events: none;
    user-select: none;
}

.sec-num {
    color: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
}

/* ============================================
   Over Mij
   ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(48px, 7vw, 120px);
    align-items: center;
    padding: clamp(16px, 3vh, 40px) 0;
}

.about-description {
    font-size: clamp(1.4rem, 2.8vw, 2.3rem);
    line-height: 1.5;
    letter-spacing: -0.015em;
    font-weight: 500;
    max-width: 36ch;
}

.about-logo-wrap {
    position: relative;
    width: clamp(240px, 27vw, 380px);
    aspect-ratio: 1;
    perspective: 900px;
    border-radius: 50%;
    animation: logo-glow 3.8s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.12); }
    50%      { box-shadow: 0 0 55px rgba(212, 175, 55, 0.35); }
}

/* Lichtstreep die periodiek over het logo veegt */
.logo-shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}

.logo-shine::before {
    content: '';
    position: absolute;
    top: -25%;
    bottom: -25%;
    left: -70%;
    width: 45%;
    background: linear-gradient(105deg,
        transparent,
        rgba(255, 240, 200, 0.38),
        transparent);
    transform: skewX(-20deg);
    animation: shine-sweep 4s ease-in-out infinite;
}

@keyframes shine-sweep {
    0%       { left: -70%; }
    45%, 100% { left: 140%; }
}

/* Draaiende gestreepte gouden ring om het logo */
.about-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 175, 55, 0.5);
    animation: ring-spin 28s linear infinite;
    pointer-events: none;
}

.about-logo-wrap::after {
    content: '';
    position: absolute;
    inset: -32px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    animation: ring-spin 45s linear infinite reverse;
    pointer-events: none;
}

@keyframes ring-spin {
    to { transform: rotate(360deg); }
}

.about-logo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(212, 175, 55, 0.25);
    transition: box-shadow 0.4s ease;
    will-change: transform;
}

.about-logo-wrap:hover .about-logo {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(212, 175, 55, 0.25),
                0 0 0 2px rgba(212, 175, 55, 0.55);
}

.about-facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
    margin-top: clamp(56px, 10vh, 104px);
}

.about-facts li {
    padding-top: 28px;
    border-top: 1px solid var(--line-strong);
}

.fact-label {
    display: block;
    margin-bottom: 12px;
}

.about-facts p {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.45;
}

/* ============================================
   Ervaring & Opleiding (rijen)
   ============================================ */

.entry-list {
    border-top: 1px solid var(--line);
}

.entry-row {
    display: grid;
    grid-template-columns: clamp(110px, 12vw, 170px) clamp(200px, 24vw, 340px) minmax(0, 1fr);
    gap: clamp(20px, 3.5vw, 56px);
    align-items: start;
    padding: clamp(28px, 5vh, 48px) 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-row:hover {
    padding-left: clamp(8px, 1.5vw, 20px);
}

.entry-row .duration {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 6px;
}

.entry-thumb {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background-color: color-mix(in srgb, var(--ink) 6%, transparent);
}

.entry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.02);
    transform: scale(1.01);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-row:hover .entry-thumb img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.entry-row h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.entry-row:hover h3 {
    color: var(--accent);
}

.entry-row .company {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--muted);
    margin-top: 4px;
}

.entry-row .entry-desc {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 62ch;
    margin-top: 12px;
}

.entry-row .technologies {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.9;
}

/* ============================================
   Skills
   ============================================ */

.skills-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(32px, 5vw, 64px);
}

.skill-group-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-strong);
    margin-bottom: 4px;
}

.skill-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-row:hover {
    padding-left: 10px;
}

.skill-row h4 {
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.skill-row:hover h4 {
    color: var(--accent);
}

.skill-level {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    transition: color 0.25s ease;
}

.skill-row:hover .skill-level {
    color: var(--accent);
}

.skill-meter {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0;
    background-color: var(--accent);
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.skill-row:hover .skill-meter {
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.65);
}

/* ============================================
   Projecten
   ============================================ */

.project-list {
    border-top: 1px solid var(--line);
}

.project-row {
    display: grid;
    grid-template-columns: auto clamp(200px, 24vw, 340px) minmax(0, 1fr) auto;
    align-items: start;
    gap: clamp(20px, 3.5vw, 56px);
    padding: clamp(32px, 6vh, 56px) 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-thumb {
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background-color: color-mix(in srgb, var(--ink) 6%, transparent);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.02);
    transform: scale(1.01);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-row:hover .project-thumb img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.project-row:hover {
    padding-left: clamp(8px, 1.5vw, 20px);
}

.project-index {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    padding-top: 10px;
}

.project-row h3 {
    font-size: clamp(1.7rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    transition: color 0.25s ease;
}

.project-row:hover h3 {
    color: var(--accent);
}

.project-row .project-desc {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 62ch;
    margin-top: 12px;
}

.project-row .project-tech {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-arrow {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1;
    padding-top: 8px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-row:hover .project-arrow {
    transform: translate(6px, -6px);
}

.project-cta {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ============================================
   Contact
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}

.section-contact {
    padding-top: clamp(48px, 7vh, 72px);
    padding-bottom: clamp(32px, 5vh, 56px);
}

.section-contact .section-head {
    margin-bottom: clamp(28px, 4vh, 48px);
}

.contact-pitch {
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 600;
    max-width: 20ch;
    margin-bottom: clamp(24px, 4vh, 40px);
}

.contact-pitch em {
    color: var(--accent);
}

.contact-links {
    border-top: 1px solid var(--line);
}

.contact-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-item:hover {
    padding-left: 10px;
}

.contact-item strong {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--accent);
    min-width: 90px;
}

.contact-item span {
    flex: 1;
    font-size: 0.98rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-item .arrow {
    transition: transform 0.3s ease;
}

.contact-item:hover .arrow {
    transform: translate(4px, -4px);
    color: var(--accent);
}

/* Formulier */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    background: transparent;
    padding: 8px 0 12px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--ink);
    border-radius: 0;
    transition: border-color 0.25s ease;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background-color: var(--accent);
    color: #16140f;
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 14px 32px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.form-status {
    min-height: 1.2em;
}

.form-status.ok {
    color: var(--ink);
}

.form-status.error {
    color: var(--accent);
}

/* ============================================
   Toast popup
   ============================================ */

.toast {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: min(420px, calc(100vw - 32px));
    background-color: var(--ink);
    color: var(--bg);
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(22, 20, 15, 0.3);
    font-size: 0.92rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--bg) 10%, transparent);
    font-size: 0.85rem;
    font-weight: 700;
}

.toast.success .toast-icon::before {
    content: '✓';
    color: #2e7d44;
}

.toast.error .toast-icon::before {
    content: '!';
    color: #b54708;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    padding: clamp(20px, 3vh, 36px) var(--pad) 24px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
    overflow: hidden;
}

.footer-ghost {
    font-size: clamp(3rem, 11vw, 9.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 35%, transparent);
    transition: color 0.5s ease;
    user-select: none;
    margin-bottom: clamp(20px, 3vh, 36px);
}

.footer-ghost:hover {
    color: var(--ink);
    -webkit-text-stroke-color: var(--ink);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.back-top {
    text-decoration: none;
    transition: color 0.25s ease;
}

.back-top:hover {
    color: var(--ink);
}

/* ============================================
   Reveal animaties (JS voegt .is-inview toe)
   ============================================ */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
    }

    .marquee-track,
    .status-dot::after,
    .about-logo-wrap,
    .about-logo-wrap::before,
    .about-logo-wrap::after,
    .logo-shine::before,
    .hero-title .accent {
        animation: none;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
    .hero-code {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: 520px;
        transform: rotate(0deg);
        margin-top: clamp(28px, 5vh, 44px);
    }

    .hero-lower {
        margin-top: clamp(32px, 5vh, 48px);
    }
}

@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .entry-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .entry-row .duration {
        padding-top: 0;
    }

    .entry-thumb {
        max-width: 360px;
    }

    .about-grid {
        justify-items: start;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-scroll {
        display: none;
    }

    .project-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-thumb {
        order: -1;
    }

    .project-index,
    .project-arrow {
        display: none;
    }

    .footer-ghost {
        white-space: normal;
    }

    .about-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
