@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap");

@font-face {
    font-family: "Anta";
    src: url("Fonts/Anta-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Jura";
    src: url("Fonts/Jura-Variable.ttf") format("truetype");
    font-weight: 400 700;
    font-style: normal;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("Fonts/JosefinSans-Variable.ttf") format("truetype");
    font-weight: 100 700;
    font-style: normal;
}

:root {
    --page-bg: #d7d7d7;
    --panel-bg: #262e34;
    --panel-border: #323a40;
    --accent: #8ebfe0;
    --accent-soft: rgba(142, 191, 224, 0.14);
    --text-main: #f4efe5;
    --text-soft: #d0d4d8;
    --text-muted: #aeb6bd;
    --text-dark: #2f373d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--page-bg);
    color: var(--text-main);
    font-family: "Montserrat", sans-serif;
    overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

a:hover {
    opacity: 0.82;
    color: #ffffff;
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow-x: clip;
}

.hero-panel,
.content-section,
.footer-bar,
.bottom-nav {
    background: var(--panel-bg);
}

.hero-panel {
    border-top: 1px solid var(--panel-border);
    overflow-x: clip;
    overflow-y: visible;
}

.hero-stage {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns: 470px 1fr 64px;
    align-items: start;
    padding: 34px 42px 26px 36px;
}

.portrait-photo {
    position: absolute;
    left: 55px;
    top: -96px;
    width: 732px;
    height: 846px;
    object-fit: cover;
    object-position: center top;
    border-radius: 140px 140px 120px 120px;
    z-index: 3;
    pointer-events: none;
    user-select: none;
}

.portrait-area {
    position: relative;
    height: 470px;
    margin-top: 10px;
    z-index: 1;
    isolation: isolate;
}

.portrait-shape {
    position: absolute;
    left: 60px;
    top: 34px;
    width: 560px;
    height: 560px;
    object-fit: contain;
    object-position: center;
    transition:
        opacity 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 1.6s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, filter;
}

.portrait-default-shape {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
}

.portrait-hover-shape {
    opacity: 0;
    z-index: 2;
    transform: scale(0.985);
    filter: saturate(0.96) brightness(0.985);
}

.portrait-area:hover .portrait-default-shape {
    opacity: 0;
    transform: scale(1.015);
    filter: saturate(0.97) brightness(1.01);
}

.portrait-area:hover .portrait-hover-shape {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1) drop-shadow(0 6px 10px rgba(108, 166, 199, 0.06));
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 78px;
    color: #ffffff;
    margin-left: 44px;
}

.hero-copy a:hover {
    color: inherit;
    opacity: 1;
    transform: none;
}

.brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.brand-logo {
    width: 50px;
    transition: transform 0.35s ease;
    transform-origin: center;
}

.brand-block:hover .brand-logo {
    transform: rotateY(32deg);
}

.brand-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 9px;
    line-height: 1;
    text-align: center;
}

.brand-caption-name {
    color: #ffffff !important;
    font-size: 14px;
}

.brand-caption-role {
    color: var(--accent);
    font-size: 12px;
}

.headline-wrap {
    margin-top: 42px;
    text-align: center;
}

.headline-wrap h1 {
    font-family: "Anta", sans-serif;
    font-size: clamp(88px, 4.35vw, 110px);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: 0.015em;
    color: #ffffff;
    white-space: nowrap;
}

.job-title {
    margin-top: 13px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.09em;
    color: var(--text-main);
}

.scroll-indicator {
    margin-top: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border-radius: 999px;
}

.scroll-indicator img {
    width: 38px;
}

.hero-copy a.scroll-indicator:hover {
    transform: translateY(2px);
    background: rgba(142, 191, 224, 0.12);
}

.social-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 34px;
}

.social-rail a {
    position: relative;
    width: 30px;
    height: 30px;
}

.social-icon {
    position: absolute;
    inset: 0;
    width: 30px;
    height: 30px;
    transition: opacity 0.35s ease;
}

.social-icon-default {
    opacity: 1;
}

.social-icon-hover {
    opacity: 0;
}

.social-rail a:hover .social-icon-default {
    opacity: 0;
}

.social-rail a:hover .social-icon-hover {
    opacity: 1;
}

.bottom-nav {
    min-height: 75px;
    background: var(--accent);
    color: var(--text-dark);
    display: grid;
    grid-template-columns: 138px 1fr 64px;
    align-items: center;
    padding: 0 70px 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-brand img {
    width: 50px;
}

.nav-brand span {
    font-size: 12px;
    line-height: 1.05;
}

.nav-brand-name {
    color: #ffffff;
}

.nav-brand-name:hover {
    color: #ffffff;
    opacity: 1;
    transform: none;
}

.nav-brand-role {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 100px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 26px;
    font-weight: 500;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.nav-link.is-active {
    background-image: url("imgs/Ellipse_24.svg");
    color: #ffffff;
    opacity: 1;
}

.nav-link.is-active:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-links a:hover,
.nav-brand:hover,
.language-switch a:hover,
.social-rail a:hover,
.footer-socials a:hover {
    transform: translateY(-2px);
}

.nav-links a:hover,
.language-switch a:hover {
    color: #ffffff;
}

.social-rail a:hover,
.footer-socials a:hover {
    opacity: 0.9;
}


.language-switch {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.language-switch .is-active {
    color: #ffffff;
    text-decoration: none;
    background-image: url("imgs/Ellipse_24.svg");
}

.language-switch .is-active:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}

.content-section {
    padding: 34px 42px;
}

.section-heading {
    text-align: center;
    margin-bottom: 64px;
}

.section-heading h2 {
    font-family: "Anta", sans-serif;
    color: var(--accent);
    font-size: 60px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0;
    text-align: center;
}

.about-section {
    padding-top: 74px;
}

.about-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: max-content minmax(520px, 570px);
    justify-content: center;
    gap: 48px;
    align-items: start;
}

.about-copy {
    max-width: 570px;
    width: 100%;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0;
    white-space: nowrap;
    justify-self: start;
}

.location-icon {
    width: 76px;
    height: 66px;
    object-fit: contain;
    flex: 0 0 auto;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: start;
}

.about-copy p {
    color: var(--text-soft);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
}

.about-copy .ghost-button {
    align-self: flex-end;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 10px 14px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: #89BCD9;
    background: transparent;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.ghost-button:hover,
.mini-button:hover {
    background: rgba(142, 191, 224, 0.12);
    border-color: rgba(142, 191, 224, 0.9);
    transform: translateY(-2px);
    opacity: 1;
}

.skills-section {
    padding-top: 74px;
}

.skills-section .section-heading {
    margin-bottom: 56px;
}

.skills-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
}

.projects-section {
    padding-top: 74px;
}

.projects-section .section-heading,
.projects-section .project-tabs {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.projects-section .project-card {
    width: calc(100% + 84px);
    margin-left: -42px;
    margin-right: -42px;
    box-sizing: border-box;
}

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

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-soft);
    text-align: center;
}

.skill-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.skill-item span {
    width: 34px;
    height: 34px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-family: "Jura", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.skill-item small {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
    color: #89BCD9;
}

.skills-note {
    position: relative;
    width: 370px;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    text-align: center;
}

.skills-note-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition:
        opacity 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.skills-note-default-shape {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
}

.skills-note-hover-shape {
    opacity: 0;
    z-index: 2;
    transform: scale(0.985);
    filter: saturate(0.96) brightness(0.985);
}

.skills-note:hover .skills-note-default-shape {
    opacity: 0;
    transform: scale(1.015);
    filter: saturate(0.97) brightness(1.01);
}

.skills-note:hover .skills-note-hover-shape {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
}

.skills-note-content {
    position: relative;
    z-index: 1;
    width: 78%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.skills-note-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.skills-note-tech {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.skills-note-tech small {
    font-size: 10px;
    line-height: 1.2;
    color: #ffffff;
}

.skills-note h3 {
    font-family: "Jura", sans-serif;
    color: var(--text-main);
    font-size: 15px;
    margin-bottom: 0;
}

.skills-note p {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--text-soft);
}

.project-tabs {
    display: flex;
    gap: 42px;
    padding: 0 0 16px;
    margin-bottom: 0;
    position: relative;
    left: -36px;
    align-items: flex-end;
    color: var(--text-main);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0;
}

.project-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    color: #89BCD9;
    transform: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.project-tab:hover {
    color: #89BCD9;
}

.project-tabs .is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

.project-tabs .is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.project-tabs .is-active:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.project-tabs a:hover {
    transform: none;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 500px);
    justify-content: center;
    align-items: start;
    gap: 10px;
    min-height: 460px;
    border-radius: 10px;
    padding: 22px;
    position: relative;
    z-index: 1;
}

.project-card.is-active {
    background: rgba(255, 255, 255, 0.03);
    border-top-left-radius: 0;
}

.project-copy {
    position: relative;
    left: -56px;
    top: 5px;
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-copy.is-fading-in {
    opacity: 0;
}

.project-item {
    display: grid;
    grid-template-columns: 29px 1fr;
    column-gap: 10px;
    align-items: start;
}

.project-item + .project-item {
    margin-top: 52px;
}

.project-item-heading {
    display: contents;
    margin-bottom: 7px;
}

.project-item-icon {
    width: 29px;
    height: 26px;
    background: url("assets/Ellipse_hellblau_klein.svg") center / contain no-repeat;
    flex: 0 0 auto;
    margin-top: 1px;
}

.project-item h3 {
    grid-column: 2;
    color: var(--text-main);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: 0;
    margin-bottom: 0;
}

.project-item p {
    grid-column: 2;
    color: var(--text-soft);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    margin-top: 7px;
}

.project-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    left: 34px;
    top: 0;
}

.project-technologies {
    width: 100%;
    max-width: 424px;
    margin-bottom: 18px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-technologies.is-fading-in {
    opacity: 0;
}

.project-technologies h3 {
    margin-bottom: 12px;
    color: #F8F5EC;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.project-technologies-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.project-technology-icon {
    width: 34px;
    height: 36px;
    object-fit: contain;
}

.preview-window {
    position: relative;
    width: 100%;
    max-width: 424px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.project-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: opacity 0.275s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: max-content;
    white-space: nowrap;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    color: #89BCD9;
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.preview-window.is-coming-soon .coming-soon-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.mini-button {
    padding: 12px 24px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--text-main);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.live-test-button {
    background: #89BCD9;
    color: #262E34;
}

.live-test-button:hover {
    background: #F8F5EC;
    color: #262E34;
}

.github-button:hover {
    background: #F8F5EC1F;
}

.testimonials-section {
    text-align: center;
}

.contact-section {
    padding-top: 64px;
}

.section-intro {
    color: #89BCD9;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    position: relative;
    width: 100%;
    max-width: 370px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    color: var(--text-soft);
    text-align: center;
}

.testimonial-card-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition:
        opacity 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.testimonial-card-default-shape {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
}

.testimonial-card-hover-shape {
    opacity: 0;
    z-index: 2;
    transform: scale(0.985);
    filter: saturate(0.96) brightness(0.985);
}

.testimonial-card:hover .testimonial-card-default-shape {
    opacity: 0;
    transform: scale(1.015);
    filter: saturate(0.97) brightness(1.01);
}

.testimonial-card:hover .testimonial-card-hover-shape {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
}

.testimonial-card-content {
    position: relative;
    z-index: 3;
    width: 78%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card h3 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 26px;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 4px;
}

.testimonial-card .testimonial-project {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #89BCD9;
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-card .testimonial-project-prefix {
    color: #F8F5EC;
}

.testimonial-card p {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #F8F5EC;
    text-align: center;
    line-height: 120%;
    margin-bottom: 12px;
}

.testimonial-card a {
    display: inline-block;
    color: #89BCD9;
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    text-decoration: underline;
    margin-top: 40px;
}

.testimonial-card a:hover,
.project-tabs a:hover,
.footer-copy a:hover {
    color: var(--text-main);
    opacity: 1;
}

.contact-top {
    display: grid;
    grid-template-columns: minmax(0, 420px) 240px;
    gap: 24px;
    align-items: start;
    margin-bottom: 60px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.contact-copy {
    max-width: 420px;
}

.contact-details {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 0;
}

.contact-details-arrow {
    position: absolute;
    top: -146px;
    right: -342px;
    width: 38px;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border-radius: 999px;
    opacity: 1;
}

.contact-details-arrow img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.contact-details-arrow:hover {
    transform: translateY(2px);
    background: rgba(142, 191, 224, 0.12);
}

.contact-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: #F8F5EC;
    transition: color 0.25s ease;
}

.contact-detail-link:hover {
    color: #89BCD9;
    opacity: 1;
}

.contact-detail-icon-wrap {
    position: relative;
    width: 26.250732421875px;
    height: 30.9375px;
    flex: 0 0 auto;
}

.contact-detail-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: -2px;
    transition: opacity 0.25s ease;
}

.contact-detail-icon-default {
    opacity: 1;
}

.contact-detail-icon-hover {
    opacity: 0;
}

.contact-detail-link span:last-child {
    transition: color 0.25s ease;
}

.contact-detail-link:hover span:last-child {
    color: #89BCD9;
}

.contact-detail-link:hover .contact-detail-icon-default {
    opacity: 0;
}

.contact-detail-link:hover .contact-detail-icon-hover {
    opacity: 1;
}

.contact-copy p,
.contact-detail-link {
    color: #F8F5EC;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: justify;
}

.contact-detail-link + .contact-detail-link {
    margin-top: 0;
}

.contact-form {
    display: grid;
    gap: 32px;
    max-width: 760px;
    margin: 0 auto;
}

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

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

.form-field-full {
    grid-column: 1 / -1;
}

.form-label {
    font-family: Josefin Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #89BCD9;
    padding-left: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(142, 191, 224, 0.55);
    background: transparent;
    color: var(--text-main);
    border-radius: 20px;
    padding: 12px 14px;
    outline: none;
}


.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    color: var(--text-soft);
    line-height: 1.5;
    margin-top: -20px;
}

.checkbox-line input {
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -1px;
    flex-shrink: 0;
    border: none;
    background: url("assets/checkbox.svg") center center / contain no-repeat;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkbox-line input:checked {
    background: url("assets/checkbox_Checked.svg") center center / contain no-repeat;
    opacity: 1;
    transform: scale(1.03);
}

.checkbox-line input:hover {
    background: url("assets/checkbox_hover.svg") center center / contain no-repeat;
    opacity: 1;
}

.checkbox-line input:checked:hover {
    background: url("assets/checkbox_Checked.svg") center center / contain no-repeat;
    opacity: 1;
    transform: scale(1.03);
}

.checkbox-line span {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.privacy-highlight {
    color: #89BCD9;
    text-decoration: none;
}

.privacy-highlight:hover {
    color: #a7d4ec;
}

.contact-form .ghost-button {
    justify-self: end;
}

.footer-bar {
    border-bottom: 1px solid var(--panel-border);
    background: var(--accent);
    color: var(--text-dark);
    min-height: 214px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
}

.footer-copy {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #262E34;
    padding-left: 84px;
}

.footer-copy a {
    color: inherit;
    text-decoration: none;
    margin-left: 0;
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo img {
    width: 52px;
    height: 38px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: translateY(-14px);
}

.footer-logo span {
    font-size: 12px;
    line-height: 1.05;
}

.footer-logo-name {
    color: #ffffff;
}

.footer-logo-role {
    color: var(--text-dark);
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding-right: 84px;
}

.footer-socials a {
    position: relative;
    width: 30px;
    height: 30px;
    display: block;
}

.footer-socials a:hover .social-icon-default {
    opacity: 0;
}

.footer-socials a:hover .social-icon-hover {
    opacity: 1;
}

.footer-socials img {
    width: 30px;
    height: 30px;
}

@media (max-width: 1180px) {
    .hero-stage {
        grid-template-columns: 380px minmax(0, 1fr) 48px;
        padding: 32px 28px 26px;
    }

    .portrait-photo {
        left: -18px;
        top: -48px;
        width: 560px;
        height: 690px;
    }

    .portrait-area {
        height: 420px;
    }

    .portrait-shape {
        left: 24px;
        width: 500px;
        height: 500px;
    }

    .hero-copy {
        margin-left: 8px;
    }

    .headline-wrap h1 {
        font-size: clamp(64px, 6vw, 92px);
    }

    .job-title {
        font-size: 32px;
    }

    .nav-links {
        gap: 56px;
        font-size: 22px;
    }

    .about-grid {
        grid-template-columns: max-content minmax(320px, 1fr);
    }

    .projects-section .section-heading,
    .projects-section .project-tabs {
        max-width: 100%;
    }

    .project-tabs {
        gap: 22px;
        left: 0;
        font-size: 24px;
        flex-wrap: wrap;
    }

    .project-card {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 424px);
        gap: 24px;
    }

    .project-copy,
    .project-preview {
        left: 0;
    }

    .contact-top,
    .contact-form {
        max-width: 100%;
    }

    .contact-details-arrow {
        right: -140px;
    }
}

@media (max-width: 900px) {
    .content-section {
        padding: 32px 24px;
    }

    .section-heading {
        margin-bottom: 44px;
    }

    .section-heading h2 {
        font-size: 46px;
    }

    .headline-wrap h1 {
        white-space: normal;
    }

    .skills-layout,
    .project-card,
    .about-grid,
    .contact-top,
    .about-copy,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .skills-note,
    .testimonial-card {
        width: 100%;
        max-width: 370px;
        height: auto;
    }

    .testimonial-card-content {
        width: 74%;
    }

    .hero-stage {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 24px 24px 18px;
        min-height: auto;
    }

    .portrait-photo {
        left: 50%;
        top: -18px;
        width: 468px;
        height: 610px;
        transform: translateX(-50%);
    }

    .portrait-area {
        width: 100%;
        max-width: 360px;
        height: 340px;
        margin-top: 0;
    }

    .portrait-shape {
        left: 50%;
        top: 12px;
        width: 420px;
        height: 420px;
        transform: translateX(-50%);
    }

    .portrait-area:hover .portrait-default-shape {
        transform: translateX(-50%) scale(1.015);
    }

    .portrait-area:hover .portrait-hover-shape {
        transform: translateX(-50%) scale(1);
    }

    .hero-copy {
        padding-top: 12px;
        margin-left: 0;
    }

    .headline-wrap {
        margin-top: 28px;
    }

    .headline-wrap h1 {
        font-size: clamp(46px, 11vw, 74px);
        line-height: 0.96;
    }

    .job-title {
        font-size: 24px;
    }

    .scroll-indicator {
        margin-top: 56px;
        margin-bottom: 12px;
    }

    .social-rail {
        flex-direction: row;
        padding-top: 0;
        padding-bottom: 22px;
    }

    .bottom-nav {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 20px;
        position: static;
    }

    .nav-brand,
    .language-switch {
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px 18px;
        font-size: 20px;
    }

    .nav-link {
        padding: 10px 16px;
    }

    .about-grid {
        gap: 24px;
    }

    .location-pill {
        white-space: normal;
        font-size: 24px;
        justify-self: center;
        text-align: center;
    }

    .about-copy {
        max-width: none;
    }

    .skills-layout {
        justify-items: center;
        gap: 28px;
    }

    .skills-note {
        width: min(100%, 370px);
        aspect-ratio: 1 / 1;
    }

    .projects-section .project-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .project-tabs {
        justify-content: center;
        padding-bottom: 8px;
        font-size: 22px;
    }

    .project-card {
        gap: 32px;
        padding: 28px 24px 36px;
    }

    .project-copy {
        top: 0;
    }

    .project-item + .project-item {
        margin-top: 28px;
    }

    .project-preview {
        width: 100%;
    }

    .project-technologies,
    .preview-window {
        max-width: min(424px, 100%);
    }

    .project-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-intro {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .testimonial-grid {
        gap: 30px;
    }

    .contact-top {
        gap: 20px;
        margin-bottom: 32px;
    }

    .contact-copy {
        max-width: none;
    }

    .contact-details {
        justify-content: flex-start;
        gap: 16px;
    }

    .contact-details-arrow {
        display: none;
    }

    .contact-form {
        gap: 24px;
    }

    .footer-bar {
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: center;
        padding: 28px 24px;
        min-height: auto;
    }

    .footer-copy,
    .footer-socials {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-copy {
        text-align: center;
    }

    .footer-logo {
        transform: none;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: 100%;
        padding: 0;
    }

    .hero-stage {
        padding: 24px 20px 0;
    }

    .portrait-area {
        width: 100%;
        max-width: 340px;
        height: 330px;
        margin-top: 8px;
    }

    .portrait-photo {
        top: -8px;
        width: 420px;
        height: 560px;
    }

    .portrait-shape {
        width: min(118vw, 420px);
        height: min(118vw, 420px);
        object-position: center;
    }

    .headline-wrap h1 {
        font-size: clamp(38px, 12vw, 56px);
    }

    .job-title {
        font-size: 18px;
        letter-spacing: 0.06em;
    }

    .content-section {
        padding: 28px 20px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .location-pill {
        font-size: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .project-tabs,
    .form-row,
    .footer-bar {
        grid-template-columns: 1fr;
    }

    .project-tabs {
        flex-wrap: wrap;
        left: 0;
        gap: 12px;
        font-size: 18px;
        justify-content: flex-start;
    }

    .project-copy {
        left: 0;
    }

    .project-card {
        padding: 24px 18px 28px;
    }

    .project-item {
        grid-template-columns: 24px 1fr;
        column-gap: 8px;
    }

    .project-item-icon {
        width: 24px;
        height: 22px;
    }

    .project-item h3 {
        font-size: 22px;
    }

    .project-item p {
        font-size: 16px;
    }

    .project-technologies h3 {
        font-size: 16px;
    }

    .project-technologies-icons {
        gap: 20px;
    }

    .preview-window {
        height: 230px;
    }

    .project-actions {
        gap: 16px;
        margin-top: 24px;
    }

    .mini-button {
        padding: 10px 18px;
        font-size: 16px;
    }

    .section-intro {
        font-size: 21px;
    }

    .testimonial-card h3 {
        font-size: 22px;
    }

    .testimonial-card p,
    .testimonial-card a {
        font-size: 16px;
    }

    .contact-copy p,
    .contact-detail-link {
        font-size: 16px;
        text-align: left;
    }

    .checkbox-line {
        margin-top: -8px;
    }

    .contact-form .ghost-button {
        justify-self: stretch;
    }

    .footer-bar {
        display: grid;
        gap: 12px;
        justify-items: center;
        padding: 16px;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .hero-stage {
        padding: 20px 14px 0;
    }

    .portrait-area {
        max-width: 280px;
        height: 280px;
    }

    .portrait-photo {
        top: -4px;
        width: 360px;
        height: 486px;
    }

    .headline-wrap {
        margin-top: 18px;
    }

    .headline-wrap h1 {
        font-size: 34px;
    }

    .job-title {
        font-size: 16px;
    }

    .social-rail {
        gap: 10px;
    }

    .bottom-nav {
        padding: 14px 14px;
    }

    .nav-links {
        gap: 10px 12px;
        font-size: 17px;
    }

    .language-switch a {
        padding: 6px 10px;
    }

    .content-section {
        padding: 24px 14px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .location-pill {
        gap: 8px;
        font-size: 18px;
    }

    .location-icon {
        width: 54px;
        height: 48px;
    }

    .about-copy p,
    .skills-note p,
    .project-item p {
        font-size: 15px;
    }

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

    .skill-item small {
        font-size: 16px;
    }

    .skills-note-content {
        width: 82%;
    }

    .project-tab {
        padding: 10px 12px;
    }

    .project-card {
        padding: 20px 14px 24px;
        gap: 24px;
    }

    .project-item h3 {
        font-size: 19px;
    }

    .preview-window {
        height: 200px;
    }

    .project-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .mini-button {
        width: 100%;
        justify-content: center;
    }

    .section-intro {
        font-size: 18px;
    }

    .testimonial-card-content {
        width: 80%;
    }

    .testimonial-card h3 {
        font-size: 20px;
    }

    .testimonial-card .testimonial-project {
        font-size: 14px;
    }

    .contact-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-detail-link {
        white-space: normal;
    }

    .form-label {
        font-size: 14px;
        padding-left: 10px;
    }

    .contact-form input,
    .contact-form textarea {
        border-radius: 16px;
    }

    .checkbox-line span {
        font-size: 13px;
    }

    .footer-copy {
        font-size: 16px;
    }
}

