/* =========================================================
   JAN SCHLOSSER — PORTFOLIO
   DARK, BOLD, GAME-DEVELOPER FOCUS
========================================================= */

:root {
    --bg: #05070b;
    --bg-soft: #090e15;
    --surface: #0d131c;
    --surface-raised: #121d29;
    --surface-hover: #192838;
    --text: #f3f7fb;
    --muted: #a4b2c1;
    --dim: #718296;
    --accent: #79bdff;
    --accent-bright: #b4dcff;
    --accent-dark: #367bb7;
    --line: rgba(160, 190, 220, .14);
    --line-bright: rgba(121, 189, 255, .48);
    --glow: rgba(75, 158, 235, .17);
    --sans: 'Archivo', 'Manrope', sans-serif;
    --mono: 'DM Mono', monospace;
    --content: 1240px;
    --radius: 14px;
    --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: radial-gradient(ellipse at 50% -18%, rgba(42, 91, 139, .18), transparent 55%), var(--bg);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
}
body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .12;
    background-image: linear-gradient(rgba(140, 180, 220, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 180, 220, .035) 1px, transparent 1px);
    background-size: 52px 52px;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #06111d; background: var(--accent); }
.section-wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.heading-dot { color: var(--accent); }

/* HEADER */
.site-header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 76px; padding: 0 max(32px, calc((100vw - var(--content)) / 2));
    background: rgba(5, 7, 11, .9); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.wordmark { font-size: 16px; font-weight: 900; letter-spacing: .055em; }
.wordmark span { padding-inline: 4px; color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; transition: color var(--transition); }
.main-nav a:hover { color: var(--accent-bright); }
.main-nav i { margin-left: 5px; color: var(--dim); font-size: 9px; font-style: normal; }
.menu-toggle { display: none; padding: 9px 12px; color: var(--text); background: transparent; border: 1px solid var(--line); cursor: pointer; }

/* HERO */
.hero { position: relative; padding: 72px 0 32px; }
.hero-topline, .hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.status-indicator { display: flex; align-items: center; gap: 11px; color: var(--muted); }
.status-indicator i, .live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #65d69a; box-shadow: 0 0 12px rgba(101, 214, 154, .8); }
.status-indicator i::after, .live-dot::after { position: absolute; inset: -5px; content: ""; border: 1px solid rgba(101, 214, 154, .5); border-radius: 50%; animation: status-pulse 2s infinite; }
.hero-location span { color: var(--accent); }
.hero-content { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 70px; padding: 78px 0 80px; }
.hero-copy h1 { margin: 0; font-size: clamp(64px, 9vw, 116px); font-weight: 900; line-height: .91; letter-spacing: -.075em; }
.hero-copy h1 > span { color: var(--accent); text-shadow: 0 0 42px rgba(118, 186, 255, .24); }
.hero-copy h1 small { display: block; margin-top: 20px; color: var(--muted); font-family: var(--sans); font-size: clamp(15px, 2vw, 21px); font-weight: 700; letter-spacing: -.02em; }
.hero-intro { max-width: 560px; margin: 35px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 0 23px; font-family: var(--mono); border-radius: 8px; font-size: 10px; letter-spacing: .08em; transition: all var(--transition); }
.button-primary { color: #06111d; background: var(--accent); border: 1px solid var(--accent); box-shadow: 0 0 25px rgba(118, 186, 255, .2); }
.button-primary:hover { background: var(--accent-bright); box-shadow: 0 0 36px rgba(118, 186, 255, .4); transform: translateY(-3px); }
.button-primary span { font-size: 16px; }
.text-link { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; transition: color var(--transition); }
.text-link:hover { color: var(--accent); }
.hero-info-frame { position: relative; padding: 24px; background: linear-gradient(145deg, #172535, #0b121b 75%); border: 1px solid var(--line-bright); border-radius: 5px; box-shadow: 0 25px 65px rgba(0,0,0,.4), inset 0 0 45px rgba(75,139,196,.07), 0 0 35px var(--glow); }
.hero-info-frame::before, .hero-info-frame::after { position: absolute; width: 32px; height: 32px; content: ""; border-color: var(--accent); border-style: solid; pointer-events: none; }
.hero-info-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-info-frame::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.frame-heading, .frame-footer { display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.frame-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.profile-card { display: flex; flex-direction: column; padding: 18px 5px; border-bottom: 1px solid var(--line); transition: padding var(--transition), background var(--transition); }
.profile-card:hover { padding-left: 13px; background: rgba(118,186,255,.05); }
.profile-label { color: var(--dim); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.profile-card strong { margin: 2px 0; color: var(--text); font-size: 30px; font-weight: 900; line-height: 1.4; letter-spacing: -.04em; }
.profile-card strong span { color: var(--accent); }
.profile-card small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.frame-footer { padding-top: 20px; font-size: 8px; }
.hero-bottom { padding-top: 20px; border-top: 1px solid var(--line); }
.hero-bottom a { color: var(--accent); transition: letter-spacing var(--transition); }
.hero-bottom a:hover { letter-spacing: .2em; }

/* SECTION HEADINGS */
.work-section, .expertise-section, .experience-section { padding-top: 125px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 6vw, 68px); font-weight: 900; line-height: 1; letter-spacing: -.065em; }
.section-heading > p { max-width: 360px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }



/* PROJECTS */
.project-group + .project-group {
    margin-top: 75px;
}

.group-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.group-number {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 11px;
}

.group-heading h3 {
    margin: 0;
    color: var(--text);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
}

.group-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.group-count {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .08em;
}

/* GRID — 3 CARDS WITH EQUAL HEIGHTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 22px;
    align-items: stretch;
}

/* CARD */
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-bright);
    box-shadow: 0 16px 38px rgba(0,0,0,.3), 0 0 22px rgba(118,186,255,.09);
}

/* 16:9 THUMBNAIL */
.project-image {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #080d13;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 400ms ease, filter 400ms ease;
}

.project-card:hover .project-image img {
    transform: scale(1.045);
    filter: brightness(1.08);
}

.project-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--dim);
    background: linear-gradient(135deg, #101c29, #080d13);
    font-size: 28px;
}

/* IMAGE OPEN ICON */
.project-open {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin: 0;
    color: var(--text);
    background: rgba(5,7,11,.78);
    border: 1px solid var(--line);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: background 250ms ease, transform 250ms ease;
}

.project-card:hover .project-open {
    background: var(--accent);
    color: #05070b;
    transform: translate(2px, -2px);
}

/* CARD INFORMATION */
.project-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px 22px 23px;
    min-width: 0;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-bottom: 11px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.project-classification {
    color: var(--accent-bright);
}

.project-info h3 {
    margin: 0 0 10px;
    font-size: clamp(19px, 1.6vw, 24px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.035em;
}

/* DEDICATED CARD DESCRIPTION */
.project-card-description {
    min-height: 4.1em;
    margin-bottom: 14px;
}

.project-card-description p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* PROJECT ROLE */
.project-role {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
}

/* PLATFORM */
.project-detail {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.project-detail strong,
.project-technologies > strong {
    display: block;
    margin-bottom: 7px;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.project-detail > span {
    color: var(--text);
}

/* TECHNOLOGIES */
.project-technologies {
    margin-bottom: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span {
    padding: 6px 9px;
    color: #c7d8e8;
    background: rgba(121,189,255,.08);
    border: 1px solid rgba(121,189,255,.2);
    border-radius: 5px;
    font-family: var(--mono);
    font-size: 9px;
}

/* PROJECT LINK — ALIGNED AT BOTTOM */
.project-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: auto;
    padding-top: 17px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .07em;
    transition: gap var(--transition), color var(--transition);
}

.project-link:hover {
    gap: 16px;
    color: var(--accent-bright);
}

/* EMPTY STATE */
.work-empty {
    padding: 35px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.empty-icon {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 30px;
}

/* CARD INDEX */
.card-index {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    padding: 7px 10px;
    color: var(--text);
    background: rgba(5,7,11,.78);
    border: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9px;
    backdrop-filter: blur(8px);
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-info {
        padding: 20px;
    }

    .group-heading {
        gap: 10px;
    }

    .group-heading h3 {
        font-size: 10px;
    }

    .group-count {
        font-size: 8px;
    }
}




/* INDEPENDENT PROJECTS — INFINITE CAROUSEL */

.project-grid.independent-project-grid {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-grid.independent-project-grid::-webkit-scrollbar {
    display: none;
}

.project-grid.independent-project-grid > .project-card {
    flex: 0 0 calc((100% - 44px) / 3);
    width: calc((100% - 44px) / 3);
    min-width: 0;
    height: auto;
    scroll-snap-align: none;
}

@media (max-width: 1050px) {
    .project-grid.independent-project-grid > .project-card {
        flex-basis: calc((100% - 22px) / 2);
        width: calc((100% - 22px) / 2);
    }
}

@media (max-width: 640px) {
    .project-grid.independent-project-grid {
        gap: 20px;
    }

    .project-grid.independent-project-grid > .project-card {
        flex-basis: 100%;
        width: 100%;
    }
}





/* EXPERTISE / SKILLS */
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.expertise-card { min-height: 250px; padding: 28px; background: linear-gradient(145deg, var(--surface-raised), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.expertise-card:hover { transform: translateY(-5px); border-color: var(--line-bright); box-shadow: 0 15px 35px rgba(0,0,0,.25), 0 0 24px var(--glow); }
.expertise-icon { display: grid; width: 52px; height: 52px; margin-bottom: 25px; place-items: center; color: var(--accent); background: rgba(121,189,255,.1); border: 1px solid rgba(121,189,255,.25); border-radius: 12px; font-size: 24px; box-shadow: 0 0 22px rgba(121,189,255,.08); }
.expertise-card h3 { margin: 0 0 12px; font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.expertise-card p { min-height: 75px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.supporting-skills { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; margin-top: 20px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.supporting-skills h3 { margin: 0; font-size: 20px; font-weight: 800; }

/* New detailed skill-card layout */
.skill-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.skill-feature-card { position: relative; min-height: 260px; padding: 32px; overflow: hidden; background: linear-gradient(135deg, #142538, #0b121b 75%); border: 1px solid var(--line-bright); border-radius: var(--radius); box-shadow: inset 0 0 45px rgba(75,139,196,.045); transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease; }
.skill-feature-card::after { position: absolute; right: 20px; bottom: -48px; color: rgba(121,189,255,.055); font-size: 190px; font-weight: 900; line-height: 1; pointer-events: none; }
.skill-feature-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 45px rgba(0,0,0,.3), 0 0 32px var(--glow); }
.skill-feature-card h3 { position: relative; z-index: 1; margin: 0 0 12px; font-size: clamp(25px, 3vw, 34px); font-weight: 900; letter-spacing: -.05em; }
.skill-feature-card p { position: relative; z-index: 1; max-width: 540px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.skill-feature-icon { display: grid; width: 58px; height: 58px; margin-bottom: 25px; place-items: center; color: var(--accent-bright); background: rgba(121,189,255,.11); border: 1px solid rgba(121,189,255,.35); border-radius: 13px; font-size: 28px; box-shadow: 0 0 25px rgba(121,189,255,.12); }
.skill-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.skill-category-card { padding: 27px 29px; background: linear-gradient(145deg, #111b27, #0b1119); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.skill-category-card:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: 0 12px 30px rgba(0,0,0,.25), 0 0 22px rgba(121,189,255,.07); }
.skill-category-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.skill-category-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; color: var(--accent); background: rgba(121,189,255,.1); border: 1px solid rgba(121,189,255,.24); border-radius: 10px; font-size: 21px; }
.skill-category-card h3 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.035em; }
.skill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.skill-list span { padding: 8px 12px; color: #d4e3f1; background: rgba(121,189,255,.075); border: 1px solid rgba(121,189,255,.19); border-radius: 6px; font-size: 12px; font-weight: 700; transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition); }
.skill-list span:hover { color: #06111d; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* EXPERIENCE */
.experience-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 55px; align-items: start; }
.timeline { position: relative; }
.timeline::before { position: absolute; top: 8px; bottom: 10px; left: 7px; width: 1px; content: ""; background: var(--line-bright); }
.timeline-item { position: relative; display: grid; grid-template-columns: 145px 1fr; gap: 25px; padding: 0 0 42px 35px; }
.timeline-marker { position: absolute; top: 5px; left: 2px; width: 11px; height: 11px; background: var(--accent); border: 3px solid var(--bg); border-radius: 50%; box-shadow: 0 0 13px rgba(121,189,255,.55); }
.timeline-date { color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.timeline-item h3 { margin: 0 0 5px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.timeline-company { margin-bottom: 12px; color: var(--dim); font-family: var(--mono); font-size: 10px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.clients-panel { padding: 29px; background: var(--surface); border: 1px solid var(--line-bright); border-radius: var(--radius); box-shadow: 0 0 30px rgba(121,189,255,.05); }
.clients-panel h3 { margin: 0 0 22px; font-size: 23px; letter-spacing: -.04em; }
.client-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.client-names span { padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .03em; transition: color var(--transition), padding var(--transition); }
.client-names span:hover { padding-left: 6px; color: var(--accent); }
.clients-note { margin: 20px 0 0; color: var(--dim); font-size: 10px; line-height: 1.7; }

/* EDUCATION & LANGUAGES */
.credentials-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 50px; }
.credential-card { padding: 27px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.credential-card h3 { margin: 0 0 5px; font-size: 20px; font-weight: 800; }
.credential-card > p:not(.eyebrow) { margin: 0; color: var(--accent); font-family: var(--mono); font-size: 10px; }
.credential-card > span { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; }
.language-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.language-row:last-child { border-bottom: 0; }
.language-row strong { font-size: 13px; }
.language-row span { color: var(--accent); font-family: var(--mono); font-size: 9px; }

/* CONTACT */
.contact-section { padding: 120px 0 100px; }
.contact-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 65px; overflow: hidden; background: radial-gradient(ellipse at 85% 50%, rgba(57,113,166,.2), transparent 55%), linear-gradient(120deg, #17283a, #0b121b); border: 1px solid var(--line-bright); border-radius: 6px; box-shadow: 0 0 45px rgba(75,158,235,.08); }
.contact-panel::after { position: absolute; right: 10%; bottom: -100px; content: "JS"; color: rgba(118,186,255,.04); font-size: 330px; font-weight: 900; line-height: 1; letter-spacing: -.1em; pointer-events: none; }
.contact-panel h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(45px, 7vw, 80px); font-weight: 900; line-height: .98; letter-spacing: -.07em; }
.contact-panel h2 span { color: var(--accent); }
.contact-panel > div > p:last-child { max-width: 400px; margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.contact-link { position: relative; z-index: 2; display: flex; align-items: center; border-radius: 8px; justify-content: space-between; gap: 35px; min-width: 190px; padding: 18px 20px; color: #07111b; background: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; transition: all var(--transition); }
.contact-link:hover { background: var(--accent-bright); box-shadow: 0 0 32px rgba(118,186,255,.35); transform: translateY(-4px); }
.contact-link span { font-size: 18px; }

/* FOOTER */
.site-footer { padding: 55px max(32px, calc((100vw - var(--content)) / 2)) 25px; background: #030508; border-top: 1px solid var(--line); }
.footer-top { padding-bottom: 50px; }
.footer-cta { display: inline-block; font-size: clamp(40px, 7vw, 78px); font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.footer-cta em, .footer-cta span { color: var(--accent); }
.footer-cta em { font-style: normal; }
.footer-cta span { font-size: .5em; vertical-align: top; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 20px; color: var(--dim); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 9px; }
.footer-bottom a:hover { color: var(--accent); }

/* WORDPRESS CONTENT */
.content-page, .project-detail { min-height: 65vh; padding-top: 100px; padding-bottom: 100px; }
.page-title { margin: 0 0 40px; font-size: clamp(40px, 7vw, 76px); font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.entry-content {
    max-width: 1000px;
    color: var(--text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
}
.entry-content h2, .entry-content h3 { color: var(--text); }
.entry-content a { color: var(--accent); }
.entry-content img { height: auto; border-radius: var(--radius); }
.detail-featured { margin-bottom: 45px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.detail-featured img { width: 100%; height: auto; }
.archive-item { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
.archive-item a:hover { color: var(--accent); }

/* ANIMATION */
@keyframes status-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* RESPONSIVE */
@media (max-width: 950px) {
    .hero-content { grid-template-columns: 1.1fr .9fr; gap: 35px; }
    .hero-copy h1 { font-size: clamp(58px, 9vw, 85px); }
    .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .experience-layout { grid-template-columns: 1fr; }
    .clients-panel { max-width: none; }
}
@media (max-width: 700px) {
    .section-wrap { width: min(100% - 36px, var(--content)); }
    .site-header { min-height: 65px; padding-inline: 18px; }
    .menu-toggle { display: block; }
    .main-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 20px; background: rgba(5,7,11,.98); border-bottom: 1px solid var(--line); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .hero { padding-top: 38px; }
    .hero-topline { align-items: flex-start; flex-direction: column; gap: 8px; }
    .hero-content { grid-template-columns: 1fr; gap: 45px; padding: 60px 0 45px; }
    .hero-copy h1 { font-size: clamp(59px, 15vw, 88px); }
    .hero-intro { font-size: 14px; }
    .hero-info-frame { max-width: 480px; }
    .hero-bottom { font-size: 8px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 35px; }
    .section-heading h2 { font-size: 48px; }
    .work-section, .expertise-section, .experience-section { padding-top: 85px; }
    .project-grid, .skill-feature-grid, .skill-category-grid { grid-template-columns: 1fr; gap: 18px; }
    .project-group + .project-group { margin-top: 55px; }
    .project-info { padding: 22px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .expertise-card { min-height: 0; }
    .expertise-card p { min-height: 0; }
    .supporting-skills { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
    .skill-feature-card { min-height: 0; padding: 26px; }
    .skill-category-card { padding: 23px; }
    .timeline::before { left: 5px; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; padding-bottom: 32px; }
    .timeline-marker { left: -2px; }
    .timeline-date { font-size: 9px; }
    .timeline-item h3 { font-size: 17px; }
    .clients-panel { padding: 22px; }
    .credentials-section { grid-template-columns: 1fr; padding-top: 35px; }
    .contact-section { padding: 85px 0 65px; }
    .contact-panel { align-items: flex-start; flex-direction: column; padding: 35px 25px; }
    .contact-panel h2 { font-size: 55px; }
    .contact-panel::after { right: -10px; bottom: -45px; font-size: 190px; }
    .site-footer { padding: 40px 18px 20px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 390px) {
    .hero-copy h1 { font-size: 54px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
    .group-heading { gap: 9px; }
    .group-heading h3 { font-size: 10px; }
    .group-count { font-size: 8px; }
    .client-names { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* PROJECT INQUIRY FORM */
#fluentform_1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* FORM FIELDS */
#fluentform_1 .ff-el-group {
    margin-bottom: 0;
}

#fluentform_1 .ff-el-input--label label {
    color: var(--text);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

#fluentform_1 input,
#fluentform_1 select,
#fluentform_1 textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#fluentform_1 textarea {
    min-height: 180px;
    resize: vertical;
}

#fluentform_1 input:focus,
#fluentform_1 select:focus,
#fluentform_1 textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(118, 186, 255, .12);
}

/* FULL-WIDTH FIELDS */
#fluentform_1 .ff-el-group:has(textarea),
#fluentform_1 .ff_submit_btn_wrapper {
    grid-column: 1 / -1;
}

/* BUTTON STYLING — MATCH .contact-link */
#fluentform_1 .ff-btn-submit,
.contact-email-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-width: 190px;
    min-height: 54px;
    padding: 18px 20px;
    color: #07111b;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .1em;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

#fluentform_1 .ff-btn-submit:hover,
.contact-email-link:hover {
    color: #07111b;
    background: var(--accent-bright);
    box-shadow: 0 0 32px rgba(118,186,255,.35);
    transform: translateY(-4px);
}

/* BUTTON SPACING */
#fluentform_1 .ff_submit_btn_wrapper {
    margin-top: 12px;
    padding-top: 12px;
}

.contact-email-link {
    margin-top: 12px;
}

.contact-email-link span {
    font-size: 18px;
}

/* MOBILE */
@media (max-width: 640px) {
    #fluentform_1 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
.contact-email-link,
.contact-email-link:visited {
    color: #07111b !important;
}
/* =========================================================
   SINGLE PROJECT — PROJECT DETAILS PANEL
========================================================= */

.project-information {
    margin: 70px 0;
    padding: 38px 42px;
    background: linear-gradient(145deg, #121d29, #0b121b);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.project-information .section-heading {
    margin-bottom: 30px;
}

.project-information .section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
}

.project-information-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
}

.project-information-item {
    display: grid;
    grid-template-columns: minmax(150px, .7fr) 2fr;
    align-items: center;
    gap: 24px;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
}

.project-information-item span {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-information-item strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

/* MOBILE */
@media (max-width: 700px) {
    .project-information {
        margin: 45px 0;
        padding: 25px 20px;
    }

    .project-information-item {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 14px 2px;
    }

    .project-information-item strong {
        font-size: 13px;
    }
}
/* =========================================================
   SINGLE PROJECT — CONTENT SECTIONS
========================================================= */

/* SHARED SECTION SPACING */

.project-overview,
.project-features,
.project-content,
.project-development {
    margin: 80px 0;
}

.project-overview .section-heading,
.project-features .section-heading,
.project-content .section-heading,
.project-development .section-heading {
    margin-bottom: 30px;
}

.project-overview .section-heading h2,
.project-features .section-heading h2,
.project-content .section-heading h2,
.project-development .section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
}


/* OVERVIEW */

.project-overview-text {
    max-width: 900px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.project-overview-text p {
    margin: 0 0 20px;
}

.project-overview-text p:last-child {
    margin-bottom: 0;
}


/* KEY FEATURES */

.project-features {
    padding: 38px 42px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.project-features-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-features-list li {
    position: relative;
    padding: 15px 18px 15px 38px;
    color: var(--muted);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.65;
}

.project-features-list li::before {
    content: "→";
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--accent);
    font-weight: 700;
}


/* PROJECT SHOWCASE */

.project-content-body {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.project-content-body > * {
    max-width: 100%;
}

.project-content-body p {
    margin: 0 0 24px;
}

.project-content-body h2,
.project-content-body h3,
.project-content-body h4 {
    margin: 42px 0 18px;
    color: var(--text);
    line-height: 1.2;
}

.project-content-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 32px auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.project-content-body figure {
    margin: 36px 0;
}

.project-content-body figcaption {
    margin-top: 10px;
    color: var(--dim);
    font-size: 12px;
    text-align: center;
}

.project-content-body iframe,
.project-content-body video {
    max-width: 100%;
    border-radius: var(--radius);
}

.project-content-body ul,
.project-content-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.project-content-body li {
    margin-bottom: 10px;
}


/* DEVELOPMENT */

.project-development {
    padding: 38px 42px;
    background: linear-gradient(145deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.project-development-text {
    max-width: 900px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.project-development-text p {
    margin: 0 0 20px;
}

.project-development-text p:last-child {
    margin-bottom: 0;
}


/* MOBILE */

@media (max-width: 700px) {

    .project-overview,
    .project-features,
    .project-content,
    .project-development {
        margin: 50px 0;
    }

    .project-features,
    .project-development {
        padding: 25px 20px;
    }

    .project-features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-overview-text {
        font-size: 15px;
    }

    .project-content-body {
        font-size: 14px;
    }
}
/* SINGLE PROJECT — REDUCE HEADING GAP */

.project-overview .section-heading,
.project-features .section-heading,
.project-content .section-heading,
.project-development .section-heading,
.project-information .section-heading {
    margin-bottom: 16px;
}