:root {
    --bg: #ffffff;
    --bg-soft: #faf6f2;
    --bg-tint: #f5ede6;
    --text: #111111;
    --text-soft: #4f4a45;
    --text-muted: #7e746c;
    --line: #e9ddd2;
    --line-strong: #d8c5b6;
    --accent: #c6a58d;
    --accent-dark: #aa8568;
    --shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
    --shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.04);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
    --font-body: "Manrope", sans-serif;
    --font-title: "Cormorant Garamond", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.page-main {
    padding-top: 96px;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(233, 221, 210, 0.85);
}

.nav-shell {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    font-family: var(--font-title);
    font-size: 1.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    border-radius: 999px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link,
.nav-button,
.nav-sublink {
    color: var(--text-soft);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link,
.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-button:hover,
.nav-link.is-current,
.nav-button.is-current {
    color: var(--text);
    background: var(--bg-soft);
    border-color: var(--line);
}

.nav-item {
    position: relative;
}

.nav-button {
    background: transparent;
    cursor: pointer;
}

.nav-caret {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-item.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    min-width: 250px;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    display: none;
}

.nav-item.open .nav-dropdown {
    display: block;
}

.nav-sublink {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    font-size: 0.94rem;
    font-weight: 600;
}

.nav-sublink:hover,
.nav-sublink.is-current {
    color: var(--text);
    background: var(--bg-soft);
}

.section {
    padding: 4.8rem 0;
}

body[data-page="veille"] .section {
    padding: 1.2rem 0;
}

body[data-page="veille"] .page-hero {
    padding-bottom: 1.2rem;
}

body[data-page="veille"] .split-grid {
    gap: 1.2rem;
}

body[data-page="veille"] .text-card,
body[data-page="veille"] .stack-card {
    padding: 1.2rem;
}

body[data-page="veille"] .image-card img {
    min-height: 220px;
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading.centered {
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.section-intro {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.section-heading.centered .section-intro {
    margin: 0 auto;
}

.hero {
    padding: 4rem 0 3rem;
}

.hero-card {
    background: linear-gradient(135deg, #fffaf6 0%, #ffffff 60%);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-lg) + 4px);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.7rem, 4vw, 3.2rem);
}

.hero-eyebrow {
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
}

.hero-text {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1rem;
}

.hero-text strong {
    color: var(--text);
}

.hero-text + .hero-text {
    margin-top: 1rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.94rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--text);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.10);
}

.btn-secondary {
    background: var(--accent);
    color: #ffffff;
}

.btn-outline {
    background: #ffffff;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn.is-disabled {
    opacity: 0.65;
    pointer-events: none;
}

.btn-soft {
    background: var(--bg-soft);
    border-color: var(--line);
    color: var(--text);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    color: var(--text-soft);
}

body[data-page="competences"] {
    background: #ffffff;
}

body[data-page="competences"] .page-main {
    background: #ffffff;
}

body[data-page="competences"] .page-hero-card,
body[data-page="competences"] .competence-note {
    background: #ffffff;
    border-color: rgba(118, 73, 41, 0.22);
    box-shadow: 0 18px 40px rgba(118, 73, 41, 0.05);
}

body[data-page="competences"] .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
}

body[data-page="competences"] .skill-card {
    background: #ffffff;
    border: 1px solid #eadfd5;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.08);
    padding: 2.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

body[data-page="competences"] .skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(17, 17, 17, 0.14);
    border-color: #d8c5b6;
}

body[data-page="competences"] .skill-card-code {
    color: #9b7e67;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

body[data-page="competences"] .skill-card-title {
    font-size: 2.25rem;
    line-height: 1.02;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

body[data-page="competences"] .skill-card:hover .skill-card-title {
    color: #c8a27c;
}

body[data-page="competences"] .skill-card-text {
    color: #6b7280;
    font-size: 0.98rem;
    line-height: 1.75;
}

.profile-section {
    background: linear-gradient(180deg, #fffdfa 0%, #faf6f2 100%);
}

.profile-heading {
    margin-bottom: 2.8rem;
}

.profile-heading-line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 0;
    width: min(100%, 780px);
}

.profile-heading-line::before,
.profile-heading-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(198, 165, 141, 0.35);
}

.profile-heading-dot {
    position: relative;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin: 0 1rem;
    border-radius: 50%;
    background: rgba(198, 165, 141, 0.7);
}

.profile-heading-dot::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.profile-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.5rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(198, 165, 141, 0.28);
    border-radius: 2rem;
    box-shadow: 0 22px 42px rgba(198, 165, 141, 0.14);
    backdrop-filter: blur(8px);
}

.profile-card-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.profile-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4e9df 0%, #efe1d5 100%);
    color: var(--accent-dark);
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.profile-block-title {
    font-family: var(--font-title);
    font-size: clamp(1.9rem, 2.6vw, 2.45rem);
    line-height: 0.98;
    margin-top: 0.35rem;
}

.profile-text {
    color: var(--text-soft);
    font-size: clamp(0.98rem, 1.8vw, 1.05rem);
    line-height: 1.75;
}

.profile-card-footer {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(198, 165, 141, 0.28);
}

.pro-section {
    padding-top: 0;
}

.pro-section .container {
    display: grid;
    gap: 1.75rem;
}

.pro-section .section-heading.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.pro-card {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2rem);
    background: #ffffff;
    border: 1px solid rgba(198, 165, 141, 0.24);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.pro-text {
    max-width: 980px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.8;
    text-align: center;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--accent-dark);
    font-size: 0.98rem;
    font-weight: 700;
}

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

.section-project-overview {
    padding-top: 0;
}

.project-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.project-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.project-card-title {
    font-family: var(--font-title);
    font-size: 1.9rem;
    line-height: 1.02;
}

.project-card-text {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.project-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.page-hero {
    padding: 2.1rem 0 1.2rem;
}

.page-hero-card {
    display: grid;
    gap: 1.2rem;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #ffffff 100%);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-lg) + 2px);
    padding: clamp(1.45rem, 3.5vw, 2.4rem);
}

.page-breadcrumb {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.page-breadcrumb a:hover {
    color: var(--text);
}

.page-title {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    line-height: 0.95;
}

.page-description {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.page-description:empty {
    display: none;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.split-grid.reverse .image-card {
    order: -1;
}

.text-card,
.image-card,
.stack-card,
.mission-card,
.contact-card,
.timeline-card,
.competence-note,
.tp-card,
.skill-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.text-card,
.stack-card,
.mission-card,
.contact-card,
.timeline-card,
.competence-note,
.tp-card {
    padding: clamp(1.4rem, 4vw, 2rem);
}

.image-card {
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.legal-grid {
    display: grid;
    gap: 1.6rem;
}

.legal-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.6rem, 4vw, 2.4rem);
}

.legal-card-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    margin-bottom: 1.2rem;
}

.legal-list {
    display: grid;
    gap: 1rem;
}

.legal-row {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.legal-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.legal-value {
    color: var(--text-soft);
}

.legal-name {
    display: inline-block;
    color: var(--text);
    font-family: var(--font-title);
    font-size: 1.7rem;
    line-height: 1.1;
    font-weight: 600;
}

.legal-card .legal-value + .legal-value {
    margin-top: 0.9rem;
}

.legal-card .bullet-list {
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
}

.legal-value a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.card-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-soft);
}

.card-text + .card-text {
    margin-top: 1rem;
}

.bullet-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.25rem;
    padding-left: 1.2rem;
    color: var(--text-soft);
}

.bullet-list li::marker {
    color: var(--accent-dark);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.mini-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.mini-card h4 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.mini-card p {
    color: var(--text-soft);
    font-size: 0.94rem;
}

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

.skill-card {
    display: block;
    padding: 1.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.skill-card span {
    display: block;
}

.skill-card-code {
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.skill-card-title {
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.9rem;
}

.skill-card-text {
    color: var(--text-soft);
    font-size: 0.96rem;
}

.competence-layout {
    display: grid;
    gap: 1.75rem;
}

.competence-note {
    background: linear-gradient(135deg, var(--bg-soft) 0%, #ffffff 100%);
}

.tp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.tp-card h3 {
    font-family: var(--font-title);
    font-size: 1.85rem;
    line-height: 1;
    margin-bottom: 0.85rem;
}

.tp-card p {
    color: var(--text-soft);
}

.tp-card p + p {
    margin-top: 0.9rem;
}

.tp-section {
    margin-top: 1.1rem;
}

.tp-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.55rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: var(--bg-tint);
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

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

.contact-card h3 {
    font-family: var(--font-title);
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.contact-card p,
.contact-card li {
    color: var(--text-soft);
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

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

.site-footer {
    padding: 1.8rem 0 2.4rem;
    color: var(--text-muted);
}

.site-footer-inner {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer-legal {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0.9rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.site-footer-legal .footer-chip {
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
}

.empty-note {
    background: var(--bg-soft);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    color: var(--text-soft);
}

@media (max-width: 1024px) {
    .skills-grid,
    .contact-grid,
    .tp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .split-grid.reverse .image-card {
        order: 0;
    }
}

@media (max-width: 880px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.8rem;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link,
    .nav-button {
        justify-content: space-between;
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        min-width: 100%;
        margin-top: 0.4rem;
        box-shadow: none;
    }

    .profile-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-main {
        padding-top: 88px;
    }

    .section {
        padding: 4rem 0;
    }

    .skills-grid,
    .contact-grid,
    .tp-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .card-title,
    .profile-block-title {
        font-size: 1.9rem;
    }

    .profile-card {
        padding: 1.45rem;
        border-radius: 1.6rem;
    }

    .profile-card-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.2rem;
    }

    .profile-heading {
        margin-bottom: 2.4rem;
    }

    .image-card img {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    body[data-page="competences"] .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    body[data-page="competences"] .skill-card {
        padding: 1.6rem;
    }

    body[data-page="competences"] .skill-card-title {
        font-size: 1.95rem;
    }
}

.competence-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.competence-block {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.55rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.competence-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.05);
    border-color: var(--line-strong);
}

.competence-block-link {
    color: inherit;
}

.competence-block-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.competence-icon,
.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tint);
    color: var(--accent-dark);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.competence-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}

.competence-badge {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: var(--accent-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.competence-block-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 2.6vw, 2.2rem);
    line-height: 1.02;
}

.competence-block-text {
    color: var(--text-soft);
    font-size: 0.93rem;
}

.competence-card-count {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    background: #fffaf7;
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.competence-item-list {
    display: grid;
    gap: 0.75rem;
}

.competence-item-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.competence-preview-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #fffaf7;
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.competence-block-link-text {
    margin-top: auto;
}

.competence-item-link {
    display: block;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fffaf7;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.competence-item-link:hover {
    transform: translateY(-1px);
    background: var(--bg-soft);
    border-color: var(--line-strong);
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.04);
}

.competence-item-label,
.competence-item-meta {
    display: block;
}

.competence-item-label {
    color: var(--text);
    font-weight: 700;
    line-height: 1.45;
    font-size: 0.96rem;
}

.competence-item-meta {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.competence-item-arrow {
    color: var(--accent-dark);
    flex: 0 0 auto;
}

.home-competence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-competence-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.05rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-competence-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--line-strong);
}

.home-competence-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-competence-title {
    font-family: var(--font-title);
    font-size: 1.32rem;
    line-height: 1.05;
}

.home-competence-text {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

body[data-page="competence-detail"] {
    background: #ffffff;
}

body[data-page="competence-detail"] .page-main {
    background: #ffffff;
}

body[data-page="competence-detail"] .page-hero-card {
    background: #ffffff;
    border-color: rgba(123, 91, 68, 0.16);
    box-shadow: 0 18px 40px rgba(123, 91, 68, 0.06);
}

body[data-page="competence-detail"] .page-breadcrumb,
body[data-page="competence-detail"] .page-breadcrumb a,
body[data-page="competence-detail"] .card-kicker {
    color: #7b5b44;
}

.detail-simple-hero {
    gap: 1rem;
}

.detail-simple-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f7f1eb;
    border: 1px solid rgba(123, 91, 68, 0.18);
    color: #7b5b44;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.detail-simple-title {
    max-width: 900px;
}

.synthesis-hero {
    background: radial-gradient(circle at top right, rgba(214, 184, 151, 0.22), transparent 22%), linear-gradient(135deg, #764929 0%, #5f3822 52%, #432719 100%);
    border: none;
    box-shadow: 0 18px 42px rgba(67, 39, 25, 0.18);
}

body[data-page="competence-detail"] .page-hero-card.synthesis-hero {
    background: radial-gradient(circle at top right, rgba(214, 184, 151, 0.22), transparent 22%), linear-gradient(135deg, #764929 0%, #5f3822 52%, #432719 100%);
    border: none;
    box-shadow: 0 18px 42px rgba(67, 39, 25, 0.18);
}

.synthesis-hero .page-breadcrumb,
.synthesis-hero .page-breadcrumb a,
.synthesis-hero .page-description,
.synthesis-hero .hero-eyebrow-page {
    color: rgba(255, 255, 255, 0.82);
}

body[data-page="competence-detail"] .page-hero-card.synthesis-hero .page-breadcrumb,
body[data-page="competence-detail"] .page-hero-card.synthesis-hero .page-breadcrumb a,
body[data-page="competence-detail"] .page-hero-card.synthesis-hero .page-description,
body[data-page="competence-detail"] .page-hero-card.synthesis-hero .hero-eyebrow-page,
body[data-page="competence-detail"] .page-hero-card.synthesis-hero .card-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.synthesis-hero .page-title {
    color: #ffffff;
}

body[data-page="competence-detail"] .page-hero-card.synthesis-hero .page-title {
    color: #ffffff;
}

.synthesis-hero .competence-page-count {
    background: rgba(255, 248, 240, 0.1);
    border-color: rgba(255, 240, 228, 0.16);
    color: #fff8f0;
}

body[data-page="competence-detail"] .page-hero-card.synthesis-hero .competence-page-count {
    background: rgba(255, 248, 240, 0.1);
    border-color: rgba(255, 240, 228, 0.16);
    color: #fff8f0;
}

.synthesis-hero .btn-outline {
    background: rgba(255, 248, 240, 0.12);
    border-color: rgba(255, 240, 228, 0.16);
    color: #fff8f0;
}

body[data-page="competence-detail"] .page-hero-card.synthesis-hero .btn-outline {
    background: rgba(255, 248, 240, 0.12);
    border-color: rgba(255, 240, 228, 0.16);
    color: #fff8f0;
}

.hero-eyebrow-page {
    margin-bottom: 0;
}

.competence-page-hero {
    gap: 1rem;
}

.competence-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.competence-page-count {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #f7f1eb;
    border: 1px solid rgba(123, 91, 68, 0.16);
    color: #7b5b44;
    font-size: 0.92rem;
    font-weight: 800;
}

.competence-page-section {
    padding-top: 0;
}

.simple-panel-section {
    padding-bottom: 1.6rem;
}

.simple-panel {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(123, 91, 68, 0.05);
}

.simple-panel-title {
    font-family: var(--font-body);
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 1.15rem;
}

.subskill-filter-list {
    display: grid;
    gap: 0.45rem;
}

.subskill-filter {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.42rem 0.8rem 0.42rem 1.2rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.subskill-filter::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 50%;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #764929;
    transform: translateY(-50%);
}

.subskill-filter:hover {
    background: #faf0e7;
    color: var(--text);
}

.subskill-filter.is-active {
    background: #f4e5da;
    color: var(--text);
}

.section-heading-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

.section-title-compact {
    margin-bottom: 0;
}

.proof-count-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #f2e7de;
    color: #764929;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.proof-summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-height: 100%;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.12);
    border-radius: 1.15rem;
    box-shadow: 0 12px 26px rgba(123, 91, 68, 0.05);
}

.proof-summary-card.is-placeholder-card {
    background: #fffdfb;
    border-style: dashed;
}

.proof-summary-title {
    font-size: 1.24rem;
    line-height: 1.25;
}

.proof-list-compact {
    display: grid;
    gap: 0.5rem;
    padding-left: 1rem;
    color: var(--text-soft);
}

.proof-list-compact li::marker {
    color: #764929;
}

.proof-list-link {
    color: var(--text-soft);
    font-weight: 600;
}

.proof-list-link:hover {
    color: var(--text);
}

.competence-sub-grid {
    display: block;
    column-count: 2;
    column-gap: 1.5rem;
}

.competence-sub-card {
    display: inline-flex;
    flex-direction: column;
    padding: 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(123, 91, 68, 0.05);
    break-inside: avoid;
    width: 100%;
    margin: 0 0 1.2rem;
}

.competence-sub-label {
    display: inline-block;
    margin-bottom: 0.95rem;
    color: #7b5b44;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.competence-sub-title {
    font-family: var(--font-title);
    font-size: 1.7rem;
    line-height: 1.02;
    margin-bottom: 0.85rem;
    color: var(--text);
}

.sub-title-link:hover {
    color: var(--accent-dark);
}

.competence-sub-text {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.proof-mini-line {
    margin-top: 0.65rem;
    color: #7b5b44;
    font-size: 0.84rem;
    font-weight: 700;
}

.project-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.project-mini-list-stacked {
    margin-top: 0.2rem;
}

.project-mini-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    background: #f7f1eb;
    border: 1px solid rgba(123, 91, 68, 0.14);
    color: #7b5b44;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.project-mini-chip:hover {
    background: #efe4d8;
    border-color: rgba(123, 91, 68, 0.22);
    color: var(--text);
}

.competence-sub-footer {
    margin-top: 0.6rem;
    padding-top: 0.4rem;
}

.competence-sub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.proof-button-group,
.project-doc-list,
.detail-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.proof-entry-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.proof-entry-list.is-single {
    justify-items: start;
}

.proof-entry-list.is-single .proof-entry-row {
    width: 100%;
    max-width: none;
}

.proof-entry-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: baseline;
    padding: 0;
    border: none;
    background: transparent;
}

.proof-entry-row.is-pending {
    opacity: 0.7;
}

.proof-entry-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.proof-entry-link:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.proof-entry-link.is-disabled {
    color: var(--text-muted);
    pointer-events: none;
    text-decoration: none;
}

.proof-entry-copy {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.55rem;
    align-items: baseline;
}

.proof-entry-kind {
    color: #7b5b44;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proof-entry-title {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text);
    font-weight: 600;
}

.proof-entry-note {
    flex-basis: 100%;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.proof-entry-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.proof-button {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 220px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: #fffaf7;
    border: 1px solid rgba(123, 91, 68, 0.14);
    box-shadow: 0 10px 20px rgba(123, 91, 68, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.proof-button:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 91, 68, 0.22);
    box-shadow: 0 14px 24px rgba(123, 91, 68, 0.07);
}

.proof-button.is-placeholder {
    background: #fcf8f4;
    border-style: dashed;
    box-shadow: none;
    justify-content: center;
    min-height: 84px;
}

.proof-button-kind {
    color: #7b5b44;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proof-button-title {
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
}

.detail-link-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.14);
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.detail-link-chip:hover {
    border-color: rgba(123, 91, 68, 0.22);
    color: var(--text);
}

.competence-switch-section {
    padding-top: 0;
}

.compact-footer-section {
    padding-top: 0;
}

.compact-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-top: 0.2rem;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.14);
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-chip:hover,
.footer-chip.is-active {
    transform: translateY(-1px);
    background: #f7f1eb;
    border-color: rgba(123, 91, 68, 0.24);
    color: var(--text);
}

.competence-switcher {
    padding: clamp(1.4rem, 4vw, 2rem);
    background: linear-gradient(135deg, #fffaf6 0%, #ffffff 100%);
    border: 1px solid rgba(123, 91, 68, 0.14);
    border-radius: calc(var(--radius-lg) + 2px);
    box-shadow: 0 16px 34px rgba(123, 91, 68, 0.05);
}

.competence-switcher-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.competence-switcher-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.14);
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.competence-switcher-link:hover,
.competence-switcher-link.is-active {
    transform: translateY(-1px);
    background: #f7f1eb;
    border-color: rgba(123, 91, 68, 0.24);
    box-shadow: 0 10px 18px rgba(123, 91, 68, 0.08);
    color: var(--text);
}

.detail-simple-section {
    padding-top: 0;
}

.detail-simple-card {
    padding: clamp(1.1rem, 2.8vw, 1.5rem);
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(123, 91, 68, 0.05);
}

.detail-simple-card h2 {
    font-family: var(--font-title);
    line-height: 1;
}

.detail-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.detail-simple-card h2 {
    font-size: 1.42rem;
    margin-bottom: 0.8rem;
    color: #7b5b44;
}

.detail-simple-card p {
    color: var(--text-soft);
    font-size: 0.93rem;
}

.section-return {
    padding-top: 0;
}

body[data-page="project-detail"] {
    background: #ffffff;
}

body[data-page="project-detail"] .page-main {
    background: #ffffff;
}

body[data-page="project-detail"] .page-hero-card {
    background: #ffffff;
    border-color: rgba(123, 91, 68, 0.16);
    box-shadow: 0 18px 40px rgba(123, 91, 68, 0.06);
}

.project-skill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.project-skill-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem;
    background: #ffffff;
    border: 1px solid rgba(123, 91, 68, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(123, 91, 68, 0.05);
}

.project-skill-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    line-height: 1.02;
    margin-bottom: 0.85rem;
}

.project-skill-text {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.project-skill-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1.1rem;
}

body[data-page="contact"] {
    background: linear-gradient(180deg, #fffdfa 0%, #f8f1ea 100%);
}

body[data-page="contact"] .page-main {
    background: transparent;
}

.contact-showcase {
    position: relative;
    overflow: hidden;
}

.contact-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(118, 73, 41, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 73, 41, 0.06) 1px, transparent 1px),
        radial-gradient(circle at top left, rgba(118, 73, 41, 0.1), transparent 30%),
        radial-gradient(circle at bottom right, rgba(198, 165, 141, 0.18), transparent 34%);
    background-size: 92px 92px, 92px 92px, auto, auto;
    opacity: 0.9;
    pointer-events: none;
}

.contact-showcase .container {
    position: relative;
    z-index: 1;
}

.contact-heading-band {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.contact-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.35rem;
    height: 4.35rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f5eade 0%, #efddcf 100%);
    border: 1px solid rgba(118, 73, 41, 0.18);
    color: #764929;
    font-size: 1.55rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(118, 73, 41, 0.08);
}

.contact-heading-text {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    flex: 1;
}

.contact-showcase-title {
    font-size: clamp(3rem, 6vw, 4.6rem);
    line-height: 0.92;
    font-weight: 800;
    color: #764929;
}

.contact-heading-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(118, 73, 41, 0.22), transparent);
}

.contact-showcase-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.75rem;
    align-items: start;
}

.contact-info-stack {
    display: grid;
    gap: 1.2rem;
}

.contact-info-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.1rem;
    padding: 1.55rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(118, 73, 41, 0.14);
    border-radius: 1.75rem;
    box-shadow: 0 20px 42px rgba(118, 73, 41, 0.08);
    backdrop-filter: blur(8px);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #f7ede4 0%, #f0dfd1 100%);
    border: 1px solid rgba(118, 73, 41, 0.12);
    color: #764929;
    font-size: 1.25rem;
}

.contact-info-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #9a7153;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-info-value {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    line-height: 1.18;
    font-weight: 800;
    color: var(--text);
}

.contact-info-text {
    margin-top: 0.45rem;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.contact-info-link {
    transition: color 0.2s ease;
}

.contact-info-link:hover {
    color: #764929;
}

.contact-form-panel {
    padding: clamp(1.7rem, 4vw, 2.3rem);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(118, 73, 41, 0.16);
    border-radius: 2rem;
    box-shadow: 0 24px 48px rgba(118, 73, 41, 0.1);
    backdrop-filter: blur(10px);
}

.contact-panel-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #9a7153;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-form-title {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1;
    font-weight: 800;
}

.contact-form-text {
    margin-top: 0.85rem;
    margin-bottom: 1.6rem;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.contact-form-modern {
    display: grid;
    gap: 1rem;
}

.contact-field {
    display: grid;
    gap: 0.55rem;
}

.contact-field span {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 800;
}

.contact-input {
    width: 100%;
    min-height: 60px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(118, 73, 41, 0.16);
    border-radius: 1.25rem;
    background: #f7f1eb;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
}

.contact-input::placeholder {
    color: #8f8074;
}

.contact-input:focus {
    border-color: #764929;
    box-shadow: 0 0 0 4px rgba(118, 73, 41, 0.08);
    background: #fffdfb;
}

textarea.contact-input {
    min-height: 210px;
    resize: vertical;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 64px;
    margin-top: 0.35rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, #8e5a39 0%, #764929 55%, #5e341f 100%);
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 34px rgba(118, 73, 41, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(118, 73, 41, 0.24);
}

.contact-submit:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .home-competence-grid,
    .detail-simple-grid,
    .competence-sub-grid,
    .project-overview-grid,
    .project-skill-grid,
    .proof-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-showcase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .competence-overview-grid,
    .home-competence-grid,
    .detail-simple-grid,
    .competence-sub-grid,
    .project-overview-grid,
    .project-skill-grid,
    .proof-card-grid {
        grid-template-columns: 1fr;
    }

    .competence-sub-grid {
        column-count: 1;
        column-gap: 0;
    }

    .proof-button {
        width: 100%;
        min-width: 0;
    }

    .proof-entry-row {
        grid-template-columns: 1fr;
    }

    .proof-entry-action .btn,
    .proof-entry-action .proof-button,
    .proof-entry-action .btn-outline {
        width: 100%;
    }

    .section-heading-inline {
        align-items: flex-start;
    }

    .contact-heading-band,
    .contact-heading-text {
        align-items: flex-start;
    }

    .contact-heading-band {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-heading-text {
        width: 100%;
    }

    .contact-heading-line {
        display: none;
    }

    .contact-info-card {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 100%;
    }
}
