﻿:root {
    --navy: #0f172a;
    --navy-2: #131d33;
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --accent: #0284c7;
    --accent-hover: #0369a1;
    --accent-soft: #e0f2fe;
    --accent-light: #38bdf8;
    --line: #e2e8f0;
    --line-dark: rgba(148, 163, 184, 0.16);
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --radius: 10px;
    --nav-h: 68px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: var(--ink-soft);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'cv11', 'ss01';
}

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section[id],
header[id] {
    scroll-margin-top: var(--nav-h);
}

/* Navigáció */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line-dark);
    transition: background-color 0.3s, border-color 0.3s;
}

.nav-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.01em;
}

.logo:hover {
    color: #fff;
}

.logo-mark {
    display: block;
    width: 30px;
    height: 30px;
    margin-right: 6px;
}

.logo-accent {
    color: var(--accent-light);
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links .nav-cta {
    font-weight: 500;
    color: #fff;
    transition: color 0.2s, background-color 0.2s, opacity 0.3s, visibility 0.3s;
}

/* A hero saját gombja mellett ne legyen még egy "Kapcsolat" */
.js .navbar:not(.on-light) .nav-cta {
    opacity: 0;
    visibility: hidden;
}

.navbar.on-light {
    background: rgba(255, 255, 255, 0.86);
    border-bottom-color: var(--line);
}

.navbar.on-light .logo { color: var(--ink); }
.navbar.on-light .logo-accent { color: var(--accent); }
.navbar.on-light .nav-links a { color: var(--ink-soft); }
.navbar.on-light .nav-links a:hover,
.navbar.on-light .nav-links a.active { color: var(--ink); background: var(--bg-soft); }
.navbar.on-light .nav-links .nav-cta { color: var(--accent); }
.navbar.on-light .nav-links .nav-cta:hover { color: var(--accent-hover); }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #cbd5e1;
    padding: calc(var(--nav-h) + 96px) 0 0;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 640px;
    height: 640px;
    top: -260px;
    right: -120px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.22), transparent 65%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 72px;
    align-items: center;
}

.eyebrow {
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 20px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
    max-width: 16ch;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-light);
}

.hero .tagline {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 54ch;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.btn-ghost {
    border-color: rgba(203, 213, 225, 0.25);
    color: #e2e8f0;
}

.btn-ghost:hover {
    border-color: rgba(203, 213, 225, 0.6);
    color: #fff;
}

.hero-image {
    position: relative;
}

.profile-pic {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 88px;
    border-top: 1px solid var(--line-dark);
}

.hero-stats > div {
    padding: 28px 0 32px;
}

.hero-stats > div + div {
    padding-left: 32px;
    border-left: 1px solid var(--line-dark);
}

.hero-stats dt {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-stats dd {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Szekciók */
.section {
    padding: 112px 0;
}

.section-soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-head {
    max-width: 620px;
    margin-bottom: 56px;
}

.section-head h2,
.about-text h2,
.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}

.section-head p {
    margin-top: 14px;
    font-size: 1.05rem;
    color: var(--muted);
}

/* Szolgáltatások */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.service p {
    color: var(--muted);
    font-size: 0.925rem;
}

/* Bemutatkozás */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.tech-stack span {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.timeline {
    list-style: none;
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow);
}

.timeline li {
    position: relative;
    padding: 0 0 28px 28px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--bg);
}

.timeline li.current::before {
    background: var(--accent);
}

.timeline li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 22px;
    bottom: 4px;
    width: 1px;
    background: var(--line);
}

.tl-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.timeline h3 {
    font-size: 1rem;
    margin: 4px 0 2px;
}

.timeline p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Referenciák */
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.project:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow);
}

.project-tag {
    align-self: flex-start;
    padding: 3px 10px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.project h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.project p {
    flex: 1;
    font-size: 0.925rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.project-client {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

/* Kiemelt, teljes szélességű referencia */
.project-wide {
    grid-column: 1 / -1;
}

.project-wide-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 24px;
}

.project-wide h3 {
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.project-wide p {
    margin-bottom: 0;
}

.project-wide .project-ref {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .project-wide-body {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Publikációk */
.pubs-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 72px;
    align-items: start;
}

.pubs-head {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    margin-bottom: 0;
}

.pub-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.pub-stats dt {
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.pub-stats dd {
    font-size: 0.85rem;
    color: var(--muted);
}

.pubs-body {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pub-list {
    list-style: none;
}

.pub-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.15s;
}

.pub-list li:hover {
    background: var(--bg-soft);
}

.pub-year {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
}

.pub-title {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 4px;
}

.pub-venue {
    display: block;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--ink-soft);
}

.pub-rank {
    display: inline-block;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 4px;
    background: var(--accent-soft);
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--accent-hover);
    vertical-align: 1px;
}

.pub-authors {
    font-size: 0.85rem;
    color: var(--muted);
}

.pub-authors b {
    color: var(--ink-soft);
    font-weight: 600;
}

.pub-more summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    text-align: center;
    transition: background-color 0.15s;
}

.pub-more summary::-webkit-details-marker {
    display: none;
}

.pub-more summary:hover {
    background: var(--bg-soft);
}

.pub-more .more-open,
.pub-more[open] .more-closed {
    display: none;
}

.pub-more[open] .more-open {
    display: inline;
}

.pub-more[open] summary {
    order: 2;
}

.pub-more[open] {
    display: flex;
    flex-direction: column;
}

.pub-more[open] .pub-list li:last-child {
    border-bottom: 1px solid var(--line);
}

/* Kapcsolat */
.contact-section {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #94a3b8;
    isolation: isolate;
}

.contact-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 600px;
    height: 600px;
    left: -200px;
    bottom: -300px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.18), transparent 65%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
    align-items: start;
}

.contact-section .section-num {
    color: var(--accent-light);
}

.contact-info h2 {
    color: #fff;
    margin-bottom: 16px;
}

.contact-lead {
    font-size: 1.1rem;
    max-width: 44ch;
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    padding: 18px 0;
    border-top: 1px solid var(--line-dark);
}

.contact-list li:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.contact-list span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2px;
}

.contact-list a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    word-break: break-word;
    transition: color 0.2s;
}

.contact-list a:hover {
    color: var(--accent-light);
}

.contact-form {
    padding: 36px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
}

.optional {
    font-weight: 400;
    color: var(--muted);
}

.field input,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #94a3b8;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.field.invalid input,
.field.invalid textarea {
    border-color: #dc2626;
}

.hp {
    display: none;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    border: 0;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

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

.form-status {
    margin-top: 14px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--muted);
}

.form-status:empty {
    display: none;
}

.form-status.ok {
    color: #15803d;
}

.form-status.error {
    color: #dc2626;
}

/* Lábléc */
footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 72px 0 32px;
    font-size: 0.85rem;
    border-top: 1px solid var(--line-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-column h4 {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-column p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-column strong {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
}

/* Előtűnés görgetéskor */
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

.services .reveal:nth-child(2), .projects .reveal:nth-child(3n+2) { transition-delay: 0.06s; }
.services .reveal:nth-child(3), .projects .reveal:nth-child(3n+3) { transition-delay: 0.12s; }
.services .reveal:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1000px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .projects { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .pubs-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .pubs-head { position: static; }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        max-width: 280px;
    }

    .hero-stats {
        margin-top: 64px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-links li:not(:last-child) {
        display: none;
    }
}

/* Telefon: díszítések nélkül, egyszerű listák */
@media (max-width: 600px) {
    :root {
        --nav-h: 56px;
    }

    body {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    /* Navigáció */
    .logo-mark {
        width: 26px;
        height: 26px;
    }

    .nav-links a {
        padding: 6px 0;
    }

    .navbar.on-light .nav-links .nav-cta {
        background: none;
        color: var(--ink);
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* Hero */
    .hero {
        padding-top: calc(var(--nav-h) + 40px);
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero-image {
        order: -1;
        max-width: none;
    }

    .profile-pic {
        width: 64px;
        height: 64px;
        aspect-ratio: auto;
        border-radius: 50%;
        border: none;
    }

    .eyebrow {
        font-size: 0.875rem;
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.025em;
        margin-bottom: 16px;
    }

    .hero .tagline {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1;
        justify-content: center;
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .hero-stats {
        margin-top: 40px;
    }

    .hero-stats > div {
        padding: 18px 0 20px;
    }

    .hero-stats > div + div {
        padding-left: 14px;
    }

    .hero-stats dt {
        font-size: 1.35rem;
    }

    .hero-stats dd {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Szekciók */
    .section {
        padding: 56px 0;
    }

    .section-head {
        margin-bottom: 20px;
    }

    .section-head h2,
    .about-text h2,
    .contact-info h2 {
        font-size: 1.5rem;
    }

    .section-head p {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .section-num {
        margin-bottom: 8px;
    }

    /* Szolgáltatások: sima lista */
    .services {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service,
    .service:hover {
        padding: 18px 0;
        border: none;
        border-top: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        background: none;
    }

    .service-icon {
        display: none;
    }

    .service h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .service p {
        font-size: 0.9rem;
    }

    /* Bemutatkozás */
    .section-soft {
        background: var(--bg);
    }

    .about-grid {
        gap: 32px;
    }

    .about-text h2 {
        margin-bottom: 16px;
    }

    .about-text p {
        font-size: 1rem;
    }

    .tech-stack {
        gap: 6px;
        margin-top: 20px;
    }

    .tech-stack span {
        padding: 3px 9px;
        font-size: 0.8rem;
    }

    .timeline {
        padding: 0;
        border: none;
        box-shadow: none;
        background: none;
    }

    .timeline li {
        padding-bottom: 20px;
    }

    /* Referenciák: sima lista */
    .projects {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .project,
    .project:hover {
        padding: 16px 0;
        border: none;
        border-top: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        background: none;
    }

    .project-tag {
        display: none;
    }

    .project-client {
        order: -1;
        padding-top: 0;
        border-top: none;
        margin-bottom: 2px;
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--muted);
    }

    .project h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .project p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .project-wide-body {
        margin-bottom: 0;
    }

    .project-wide h3 {
        font-size: 1rem;
        letter-spacing: -0.02em;
    }

    /* Publikációk */
    .pubs-grid {
        gap: 0;
    }

    .pubs-head {
        margin-bottom: 20px;
    }

    .pub-stats {
        display: none;
    }

    .pubs-body {
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: none;
    }

    .pub-list li {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 14px 0;
        border-bottom: none;
        border-top: 1px solid var(--line);
    }

    .pub-list li:hover {
        background: none;
    }

    .pub-title {
        font-size: 0.9rem;
    }

    .pub-venue,
    .pub-authors {
        font-size: 0.8rem;
    }

    .pub-more summary {
        padding: 14px 0;
        text-align: left;
        border-top: 1px solid var(--line);
    }

    /* Kapcsolat */
    .contact-grid {
        gap: 32px;
    }

    .contact-section::before {
        display: none;
    }

    .contact-lead {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .contact-list li {
        padding: 12px 0;
    }

    .contact-list a {
        font-size: 1rem;
    }

    .contact-form {
        padding: 20px;
        border-radius: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .field {
        margin-bottom: 14px;
    }

    /* Lábléc */
    footer {
        padding: 40px 0 24px;
        font-size: 0.8rem;
    }

    .footer-grid {
        gap: 24px;
        padding-bottom: 28px;
    }

    .footer-column h4 {
        margin-bottom: 8px;
    }

    .footer-column p {
        margin-bottom: 4px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 20px;
    }
}
