:root {
    --bg: #ffffff;
    --surface: #f6f4f7;
    --surface-strong: #f0edf2;
    --text: #050505;
    --muted: #5f6368;
    --line: #dedee3;
    --accent: #9146a5;
    --accent-soft: #f4ecf7;
    --footer: #2d1830;
    --desktop-nav-height: 90px;
    --mobile-nav-height: 82px;
    --expertise-height: 52px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--desktop-nav-height) + 8px);
}

body {
    font-family: 'Geist', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.site-wrapper {
    width: 100%;
    min-height: 100vh;
    background: var(--bg);
}

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

h1,
h2,
h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1,
h2,
h3,
p,
a {
    overflow-wrap: break-word;
}

/* Shared */

.center {
    margin: 18px auto 25px;
}

.section {
    padding: 0 clamp(16px, 5vw, 72px);
    scroll-margin-top: calc(var(--desktop-nav-height) + 8px);
}

.section-panel {
    width: min(1040px, 100%);

    min-height: clamp(
        620px,
        calc(100svh - var(--desktop-nav-height)),
        850px
    );

    margin: 0 auto;
    padding: clamp(64px, 8vh, 96px) 0;

    border-bottom: 1px solid var(--line);
}

.section:nth-child(odd) {
    background:
        radial-gradient(
            circle at 84% 22%,
            rgba(145, 70, 165, 0.12),
            transparent 27%
        ),
        var(--bg);
}

.section:nth-child(even) {
    background:
        radial-gradient(
            circle at 16% 28%,
            rgba(145, 70, 165, 0.12),
            transparent 27%
        ),
        var(--bg);
}

.section-kicker {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.primary-btn,
.secondary-btn {
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid var(--accent);
    border-radius: 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 650;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-btn {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(145, 70, 165, 0.2);
}

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

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

.secondary-btn:hover {
    background: var(--accent-soft);
}

/* Desktop navigation */

.navbar {
    height: var(--desktop-nav-height);
    padding: 0 max(30px, calc((100vw - 1120px) / 2));

    background: var(--bg);
    border-bottom: 1px solid #e5e5e5;

    position: sticky;
    top: 0;
    z-index: 1000;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: clamp(120px, 12vw, 180px);
    height: auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 3vw, 42px);
}

.nav-links a,
.nav-links a:visited {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 1.2vw, 18px);
    letter-spacing: 0.03em;
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--text);
}

.language-switch {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.language-switch a,
.language-switch a:visited {
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;

    display: flex;
    align-items: center;
    gap: 6px;
}

.language-switch img {
    width: 24px;
    height: 16px;
    object-fit: cover;
}

.mobile-navbar,
.mobile-menu {
    display: none;
}

/* Expertise bar */

.expertise-bar {
    min-height: var(--expertise-height);
    background: var(--surface);
    border-top: 1px solid #e8e3eb;
    border-bottom: 1px solid #e8e3eb;

    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-track {
    width: min(980px, calc(100% - 48px));
    min-height: var(--expertise-height);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-items: center;

    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    color: #3f3f46;
    text-align: center;
}

.usp-skill {
    white-space: nowrap;
}

.usp-separator {
    color: var(--accent);
    font-size: 11px;
    padding: 0 14px;
}

.expertise-track.slide {
    animation: uspFadeSlide 0.45s ease;
}

@keyframes uspFadeSlide {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Intro */

.intro-panel {
    min-height: clamp(
        620px,
        calc(
            100svh
            - var(--desktop-nav-height)
            - var(--expertise-height)
        ),
        820px
    );

    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(300px, 0.92fr);

    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.intro-copy {
    max-width: 650px;
}

.intro-copy h1 {
    margin-bottom: 28px;
}

.intro-role,
.intro-value-proposition {
    display: block;
}

.intro-role {
    margin-bottom: 12px;

    color: var(--accent);

    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.intro-value-proposition {
    max-width: 610px;

    color: var(--text);

    font-size: clamp(27px, 2.8vw, 40px);
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 500;
}

.intro-summary {
    max-width: 680px;
    margin-bottom: 34px;

    color: var(--muted);

    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Portrait composition */

.intro-visual {
    width: clamp(
        260px,
        min(38vw, 48svh),
        520px
    );

    margin: 0 auto;
}

.intro-portrait {
    width: 100%;
    height: auto;
    display: block;

    -webkit-mask:
        url("images/brush-mask.png")
        center / contain
        no-repeat;

    mask:
        url("images/brush-mask.png")
        center / contain
        no-repeat;
}

/* About */

.about-panel {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.85fr)
        minmax(0, 1.15fr);

    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.about-panel h2 {
    max-width: 500px;

    font-size: clamp(30px, 3.7vw, 48px);
    line-height: 1.12;
}

.about-copy p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.7;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

/* Services */

.services-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-header {
    max-width: 680px;
    margin: 0 auto clamp(50px, 7vh, 80px);
    text-align: center;
}

.services-header .section-heading {
    margin-bottom: 22px;
    font-size: clamp(32px, 4vw, 48px);
}

.services-intro {
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.65;
}

.service-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(36px, 5vw, 70px);
}

.service-item {
    min-width: 0;
    text-align: center;
}

.service-icon {
    width: 112px;
    height: 112px;
    margin: 0 auto 28px;

    border: 2px solid var(--accent);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);
    font-size: 42px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.service-item:hover .service-icon {
    transform: translateY(-4px);
    background: var(--accent);
    color: #ffffff;
}

.service-item h3 {
    min-height: 58px;
    margin-bottom: 18px;

    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.15;
}

.service-item p {
    margin-bottom: 12px;

    color: var(--muted);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.6;
}

.service-item p:last-child {
    margin-bottom: 0;
}

/* Projects and work */

.work-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-header {
    max-width: 720px;
    margin: 0 auto clamp(50px, 7vh, 76px);
    text-align: center;
}

.work-header .section-heading {
    margin-bottom: 20px;
    font-size: clamp(32px, 4vw, 48px);
}

.work-intro {
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.65;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(34px, 4vw, 52px);
}

.work-card {
    min-width: 0;
    overflow: hidden;

    background: var(--bg);
    border: 1px solid rgba(45, 24, 48, 0.1);
    border-radius: 12px;

    box-shadow: 0 12px 28px rgba(45, 24, 48, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    
    display: block;
    color: inherit;
    text-decoration: none;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(45, 24, 48, 0.13);
}

.work-visual {
    min-height: 260px;
    padding: 34px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.work-visual-testing {
    background:
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(145deg, #81439b, #3c2146);
    color: #ffffff;
}

.work-visual-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(58px, 8vw, 96px);
    font-weight: 700;
    opacity: 0.18;
}

.decision-path {
    position: absolute;
    inset: auto 28px 28px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.decision-path span {
    padding: 10px 8px;

    background: rgba(255, 255, 255, 0.92);
    color: var(--footer);
    border-radius: 5px;

    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-align: center;
}

.work-visual-images {
    gap: 24px;

    background:
        linear-gradient(145deg, #f5eff7, #d9c4e0);

    color: var(--accent);
    font-size: clamp(44px, 6vw, 72px);
}

.work-visual-images .fa-arrow-right {
    font-size: 30px;
}

.work-visual-forms {
    flex-direction: column;
    gap: 28px;

    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.3), transparent 24%),
        linear-gradient(145deg, #5c2e70, #a564b6);

    color: #ffffff;
}

.work-visual-forms > i {
    font-size: clamp(56px, 7vw, 84px);
}

.email-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.email-flow span {
    padding: 8px 12px;

    background: rgba(255, 255, 255, 0.92);
    color: var(--footer);
    border-radius: 999px;

    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.work-visual-website {
    background:
        linear-gradient(145deg, #2d1830, #825098);
}

.website-window {
    width: min(390px, 92%);

    overflow: hidden;

    background: #ffffff;
    border: 3px solid #171717;
    border-radius: 8px;

    box-shadow: 18px 18px 0 rgba(255, 255, 255, 0.18);
}

.website-window-bar {
    height: 28px;
    padding: 0 10px;

    background: #eeeeee;

    display: flex;
    align-items: center;
    gap: 6px;
}

.website-window-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.website-window-content {
    min-height: 135px;
    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--text);
}

.website-window-content strong {
    font-size: clamp(24px, 4vw, 40px);
}

.website-window-content span {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
}

.work-card-content {
    padding: clamp(26px, 3vw, 36px);
}

.work-category {
    display: block;
    margin-bottom: 13px;

    color: var(--accent);

    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.work-card h3 {
    margin-bottom: 16px;

    font-size: clamp(23px, 2.4vw, 31px);
    line-height: 1.15;
}

.work-card p {
    min-height: 78px;
    margin-bottom: 22px;

    color: var(--muted);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.6;
}

.work-impact,
.work-status {
    display: inline-flex;
    padding: 8px 12px;

    border-radius: 999px;

    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
}

.work-impact {
    background: var(--accent-soft);
    color: var(--accent);
}

.work-status {
    background: var(--surface);
    color: var(--muted);
}

/* Contact */

.contact-panel {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);

    align-items: center;
    gap: clamp(60px, 8vw, 120px);
}

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

.contact-copy h2 {
    margin-bottom: 24px;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.contact-copy p {
    margin-bottom: 28px;

    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--accent);

    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 600;
    text-decoration: none;

    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
}

.contact-email:hover {
    color: var(--footer);
    border-color: var(--footer);
}

.contact-form {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
}

.contact-field {
    margin-bottom: 24px;
}

.contact-field label {
    display: block;
    margin-bottom: 9px;

    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    margin: 0;
    padding: 17px 19px;

    background: rgba(255, 255, 255, 0.82);
    color: var(--text);

    border: 1px solid #d7d2d9;
    border-radius: 10px;

    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

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

.contact-field input:focus,
.contact-field textarea:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(145, 70, 165, 0.12);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #98939a;
}

.contact-submit {
    width: auto;
    min-width: 190px;
    min-height: 54px;

    padding: 13px 18px 13px 26px;

    background: var(--accent);
    color: #ffffff;

    border: 1px solid var(--accent);
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    font-family: 'Geist', sans-serif;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-submit span {
    width: 34px;
    height: 34px;

    background: #ffffff;
    color: var(--accent);
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(145, 70, 165, 0.22);
}

.contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-success {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 999;
}

.contact-success.active {
    display: flex;
}

.contact-success-box {

    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;

}

.contact-success-box h3 {
    margin-bottom: 10px;
}

.contact-success-box p {
    margin: 0;
}

.contact-success-close {
    margin-top: 22px;
    padding: 12px 28px;

    background: transparent;
    color: var(--accent);

    border: 1px solid var(--accent);
    border-radius: 6px;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-success-close:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
}

.contact-success-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Footer */

footer {
    padding: 45px max(40px, calc((100vw - 1040px) / 2));

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;

    background: var(--footer);
    color: #ffffff;
}

.footer-column,
.footer-brand {
    display: flex;
    flex-direction: column;
}

footer h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

footer p,
footer a {
    color: #ffffff;
    font-size: 12px;
}

.footer-logo-row {
    margin-bottom: 12px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-row img {
    width: auto;
    height: 32px;
}

.footer-socials {
    margin-top: 12px;

    display: flex;
    gap: 18px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links p {
    margin: 0;
}

.footer-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Cookie banner */

.cookie-banner {

    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(700px, calc(100% - 40px));

    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 20px 24px;

    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.12);

    z-index: 9999;
}


.cookie-banner.active {
    display: flex;
}


.cookie-banner p {

    margin: 0;

    font-size: 14px;
    line-height: 1.5;
}


.cookie-banner a {

    color: var(--accent);
    text-decoration: underline;

}


.cookie-actions {

    display: flex;
    gap: 10px;
}


.cookie-button {

    padding: 10px 18px;

    border-radius: 5px;

    border: 1px solid var(--accent);

    background: var(--accent);

    color: white;

    cursor: pointer;
}


.cookie-button.secondary {

    background: transparent;
    color: var(--accent);

}

/* Privacy / legal pages */

.legal-page {
    min-height: 100vh;
    padding: 80px 24px;
    background:
        radial-gradient(
            circle at top right,
            rgba(139, 78, 168, 0.08),
            transparent 32%
        ),
        #fff;
}

.legal-panel {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px);

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.legal-panel h1 {
    margin: 0 0 8px;

    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.legal-updated {
    margin: 0 0 48px;

    color: #666;
    font-size: 14px;
}

.legal-panel h2 {
    margin: 36px 0 10px;

    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
}

.legal-panel p,
.legal-panel li {
    color: #555;
    font-size: 16px;
    line-height: 1.75;
}

.legal-panel p {
    margin: 0 0 14px;
}

.legal-panel ul {
    margin: 12px 0 20px;
    padding-left: 24px;
}

.legal-panel a:not(.legal-back-button) {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-back-button {
    display: inline-flex;
    align-items: center;

    margin-top: 32px;
}

/* Tablet */

@media (min-width: 901px) and (max-width: 1200px) {
    .navbar {
        padding: 0 28px;
    }

    .logo {
        width: clamp(115px, 11vw, 150px);
    }

    .nav-links {
        gap: clamp(20px, 2.4vw, 30px);
    }

    .nav-links a,
    .nav-links a:visited {
        font-size: 14px;
    }

    .language-switch {
        gap: 12px;
    }

    .intro-panel {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(300px, 0.82fr);
        gap: clamp(34px, 5vw, 60px);
    }

    .service-grid,
    .work-grid {
        gap: 32px;
    }

    .contact-panel {
        gap: clamp(44px, 6vw, 72px);
    }

    .legal-panel {
        padding: 48px;
    }
}

/* Mobile and responsive tablet */

@media (max-width: 900px) {
    :root {
        --expertise-height: 46px;
    }

    html {
        scroll-padding-top: calc(var(--mobile-nav-height) + 8px);
    }

    .section {
        scroll-margin-top: calc(var(--mobile-nav-height) + 8px);
    }

    /* Mobile navigation */

    .navbar {
        display: none;
    }

    .mobile-navbar {
        height: var(--mobile-nav-height);
        position: sticky;
        top: 0;
        z-index: 1000;

        display: flex;
        align-items: center;
        justify-content: center;

        background: var(--bg);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
    }

    .mobile-logo {
        width: auto;
        height: 62px;
    }

    .menu-toggle {
        position: absolute;
        left: 22px;

        padding: 0;
        background: none;
        color: var(--text);
        border: 0;

        font-size: 36px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 2000;

        display: none;
        grid-template-rows: 1fr auto;
        align-items: center;
        justify-items: center;

        padding: 90px 24px 36px;
        background: #151515;
    }

    .mobile-menu.active {
        display: grid;
    }

    .close-menu {
        position: absolute;
        top: 22px;
        left: 24px;

        padding: 0;
        background: none;
        color: #ffffff;
        border: 0;

        font-size: 58px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu-links {
        align-self: center;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;

        text-align: center;
    }

    .mobile-menu-links a,
    .mobile-menu-links a:visited {
        position: relative;

        color: #ffffff;
        font-size: 24px;
        font-weight: 500;
        letter-spacing: 0.03em;
        text-decoration: none;
    }

    .mobile-menu-links a.active::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -8px;

        width: calc(100% + 20px);
        height: 2px;

        background: #ffffff;
        transform: translateX(-50%);
    }

    .mobile-language-switch {
        align-self: end;

        display: flex;
        gap: 24px;
    }

    .mobile-language-switch a,
    .mobile-language-switch a:visited {
        display: flex;
        align-items: center;
        gap: 6px;

        color: #ffffff;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
    }

    .mobile-language-switch img {
        width: 24px;
        height: 16px;
        object-fit: cover;
    }

    /* Expertise */

    .expertise-bar {
        border-top: 0;
    }

    .expertise-track {
        width: 100%;
        min-height: var(--expertise-height);
        padding: 0 20px;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
        text-align: center;
    }

    .usp-separator {
        display: none;
    }

    /* Shared panels */

    .section-panel {
        min-height: calc(
            100svh - var(--mobile-nav-height)
        );

        padding:
            clamp(42px, 6svh, 72px)
            0;
    }

    /* Intro */

    .intro-panel {
        min-height: calc(
            100svh
            - var(--mobile-nav-height)
            - var(--expertise-height)
        );

        grid-template-columns: 1fr;
        align-content: center;
        gap: clamp(24px, 4svh, 36px);
    }

    .intro-copy {
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .intro-visual {
        order: -1;
    }

    .intro-role {
        font-size: clamp(32px, 8.8vw, 42px);
    }

    .intro-value-proposition {
        font-size: clamp(22px, 6.2vw, 30px);
    }

    .intro-summary {
        margin-bottom: 20px;
        font-size: clamp(14px, 3.7vw, 16px);
        line-height: 1.5;
    }

    /* About */

    .about-panel {
        grid-template-columns: 1fr;
        align-content: center;
        align-items: start;

        row-gap: clamp(28px, 4vh, 40px);
    }

    /* Services */

    .services-header {
        margin-bottom: 48px;
    }

    .service-grid {
        max-width: 620px;
        margin: 0 auto;

        grid-template-columns: 1fr;
        gap: 52px;
    }

    .service-item h3 {
        min-height: 0;
    }

    .service-icon {
        width: 96px;
        height: 96px;
        margin-bottom: 22px;
        font-size: 36px;
    }

    /* Work */

    .work-header {
        margin-bottom: 46px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .work-card {
        width: min(620px, 100%);
        margin: 0 auto;
    }

    .work-card p {
        min-height: 0;
    }

    /* Contact */

    .contact-panel {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 44px;
    }

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

    .contact-form {
        max-width: none;
        margin: 0;
    }

    /* Footer */

    footer {
        padding: 50px 8%;

        flex-direction: column;
        align-items: center;
        gap: 20px;

        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo-row,
    .footer-socials {
        justify-content: center;
    }

    .footer-socials {
        width: 100%;
        margin-top: 18px;
    }
    
    .legal-page {
        padding: 40px 20px;
    }

    .legal-panel {
        padding: 32px 24px;
    }
}

/* Small mobile */

@media (max-width: 600px) {
    :root {
        --mobile-nav-height: 76px;
    }

    .mobile-logo {
        height: 56px;
    }

    .menu-toggle {
        left: 18px;
        font-size: 32px;
    }

    .close-menu {
        top: 18px;
        left: 20px;
        font-size: 52px;
    }

    .mobile-menu {
        padding: 82px 20px 30px;
    }

    .mobile-menu-links a,
    .mobile-menu-links a:visited {
        font-size: 22px;
    }

    .section {
        padding: 0 16px;
    }

    .section-panel {
        padding:
            clamp(36px, 5svh, 56px)
            0;
    }

    .intro-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .services-header {
        margin-bottom: 42px;
    }

    .service-grid {
        gap: 44px;
    }

    .work-header {
        margin-bottom: 38px;
    }

    .work-grid {
        gap: 30px;
    }

    .work-visual {
        min-height: 210px;
        padding: 24px;
    }

    .decision-path {
        inset: auto 16px 16px;
    }

    .decision-path span {
        padding: 8px 5px;
        font-size: 9px;
    }

    .work-card-content {
        padding: 24px;
    }

    .contact-panel {
        gap: 36px;
    }

    .contact-field {
        margin-bottom: 20px;
    }

    .contact-field input,
    .contact-field textarea {
        padding: 15px 16px;
    }

    .contact-field textarea {
        min-height: 160px;
    }

    .legal-page {
        padding: 24px 14px;
    }

    .legal-panel {
        padding: 24px 18px;
    }

    .legal-panel h1 {
        font-size: 36px;
    }

    .legal-panel p,
    .legal-panel li {
        font-size: 15px;
    }

    .cookie-banner {

        flex-direction: column;
        align-items: stretch;

        text-align: center;

    }


    .cookie-actions {

        justify-content: center;

    }
}
