:root {
    --msy-cream: #fff8ef;
    --msy-brown: #5d4221;
    --msy-brown-link: #8c663b;
    --msy-brown-dark: #1e1305;
    --msy-text: #61584e;
    --msy-muted: #848880;
    --msy-line: #d1c4b3;
    --msy-white: #ffffff;
    --msy-green: #7a9042;
    --msy-font: "DM Sans", Arial, sans-serif;
    --msy-header-desktop: 109px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--msy-cream);
    color: var(--msy-text);
    font-family: var(--msy-font);
    -webkit-font-smoothing: antialiased;
}

body.msy-overlay-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

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

/* Header */

.msy-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--msy-cream);
    transition:
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.msy-header--over {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.admin-bar .msy-header--over {
    top: 32px;
}

.msy-header.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(30, 19, 5, 0.96);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(10px);
}

.admin-bar .msy-header.is-scrolled {
    top: 32px;
}

.msy-header__desktop {
    display: grid;
    min-height: var(--msy-header-desktop);
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    padding: 20px 55px;
}

.msy-header__brand {
    justify-self: start;
}

.msy-header__brand img {
    width: auto;
    height: 69px;
    object-fit: contain;
}

.msy-header__nav {
    justify-self: center;
}

.msy-menu {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2vw, 38px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.msy-menu > li > a {
    position: relative;
    display: block;
    padding: 12px 0;
    color: var(--msy-brown);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 180ms ease;
}

.msy-header--over .msy-menu > li > a,
.msy-header.is-scrolled .msy-menu > li > a {
    color: var(--msy-white);
}

.msy-menu > li > a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.msy-menu > li > a:hover::after,
.msy-menu > .current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.msy-header__actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 7px;
}

.msy-icon-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--msy-brown);
    cursor: pointer;
}

.msy-header--over .msy-icon-button,
.msy-header.is-scrolled .msy-icon-button {
    color: var(--msy-white);
}

.msy-icon-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.msy-panel-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.msy-panel-button span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
}

.msy-panel-button span:nth-child(2) {
    width: 14px;
    margin-left: 6px;
}

.msy-header__mobile {
    display: none;
}

/* Hero */

.msy-hero {
    position: relative;
    display: flex;
    min-height: max(480px, 100vh);
    align-items: flex-end;
    overflow: hidden;
    background: #241b13;
    color: var(--msy-white);
}

.msy-hero__background {
    position: absolute;
    inset: -5%;
    background:
        url("/wp-content/uploads/2025/12/slider.jpg")
        center center / cover no-repeat;
    animation: msy-hero-zoom 10s linear both;
    will-change: transform;
}

.msy-hero__dots {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(rgba(12, 12, 12, 0.64) 1px, transparent 1px);
    background-size: 3px 3px;
}

.msy-hero__dots::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.16);
    content: "";
}

.msy-hero__row {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    grid-template-columns: 11fr 9fr;
    align-items: end;
    gap: 42px;
    padding: 0 50px 50px;
}

.msy-hero__title-column,
.msy-hero__content-column {
    min-width: 0;
}

.msy-hero__title {
    max-width: 964px;
    padding-bottom: 16px;
    margin: 0;
    font-size: clamp(50px, 4.45vw, 64px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 0.98;
}

.msy-hero__word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.msy-hero__char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20%) rotate(-5deg);
}

.msy-hero-ready .msy-hero__char {
    animation: msy-char-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--char-delay);
}

.msy-hero__content-column {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    padding-bottom: 1px;
    text-align: right;
}

.msy-hero__text {
    width: min(100%, 417px);
    margin: 0 0 30px;
    color: var(--msy-white);
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    opacity: 0;
    transform: translateX(50px);
}

.msy-hero-ready .msy-hero__text {
    animation: msy-slide-in 1s ease forwards;
    animation-delay: 680ms;
}

.msy-hero__button {
    display: inline-flex;
    width: 213px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 38px;
    border: 2px solid var(--msy-cream);
    border-radius: 0;
    background: var(--msy-cream);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
    color: var(--msy-brown);
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(30px);
    transition:
        background-color 200ms ease,
        border-color 200ms ease,
        color 200ms ease;
}

.msy-hero-ready .msy-hero__button {
    animation: msy-slide-in 1s ease forwards;
    animation-delay: 780ms;
}

.msy-hero__button:hover {
    border-color: var(--msy-brown);
    background: var(--msy-brown);
    color: var(--msy-white);
}

/* Footer */

.msy-footer {
    background: var(--msy-brown-dark);
    color: var(--msy-white);
}

.msy-footer__spacer {
    height: 105px;
}

.msy-footer__main {
    display: grid;
    width: min(calc(100% - 64px), 1290px);
    grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
    gap: clamp(35px, 5vw, 82px);
    margin-inline: auto;
}

.msy-footer__column h2 {
    margin: 0 0 29px;
    font-size: 18px;
    font-weight: 600;
}

.msy-footer__column p,
.msy-footer__column a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.75;
}

.msy-footer__column > a {
    display: block;
    margin-top: 12px;
}

.msy-footer__about img {
    width: auto;
    height: 91px;
    margin-bottom: 24px;
}

.msy-footer__about p {
    max-width: 330px;
    margin: 0;
}

.msy-footer-menu,
.msy-footer-menu .msy-menu {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.msy-footer-menu a,
.msy-footer .msy-menu a {
    padding: 0;
    color: rgba(255, 255, 255, 0.76);
}

.msy-footer__socials {
    display: flex;
    gap: 0;
}

.msy-footer__socials a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--msy-white);
    color: #1a0f02;
    font-size: 14px;
    font-weight: 700;
}

.msy-footer__bottom {
    width: min(calc(100% - 64px), 1290px);
    padding: 32px 0 46px;
    margin: 75px auto 0;
    border-top: 1px solid #33220d;
    text-align: center;
}

.msy-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
}

/* Overlays */

.msy-search-overlay,
.msy-mobile-menu {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    visibility: hidden;
    place-items: center;
    background: #1e1305;
    color: var(--msy-white);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.msy-search-overlay.is-open,
.msy-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.msy-overlay-close {
    position: absolute;
    top: 26px;
    right: 31px;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--msy-white);
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.msy-search-form {
    width: min(calc(100% - 40px), 820px);
}

.msy-search-form label {
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.msy-search-form__row {
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.msy-search-form input {
    min-width: 0;
    padding: 18px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--msy-white);
    font-size: clamp(34px, 5vw, 68px);
}

.msy-search-form button {
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: var(--msy-white);
    cursor: pointer;
}

.msy-info-panel {
    position: fixed;
    z-index: 2100;
    top: 0;
    right: 0;
    width: min(440px, 100%);
    height: 100%;
    padding: 95px 55px 50px;
    background: #221304;
    color: var(--msy-white);
    transform: translateX(101%);
    transition: transform 260ms ease;
}

.msy-info-panel.is-open {
    transform: translateX(0);
}

.msy-info-panel__logo {
    width: auto;
    height: 82px;
    margin-bottom: 38px;
}

.msy-info-panel p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.msy-info-panel__contact {
    display: grid;
    gap: 17px;
    margin-top: 48px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.msy-panel-backdrop {
    position: fixed;
    z-index: 2050;
    visibility: hidden;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.msy-panel-backdrop.is-open {
    visibility: visible;
    opacity: 1;
}

.msy-mobile-menu__list {
    display: grid;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.msy-mobile-menu__list a {
    display: block;
    padding: 9px 20px;
    font-size: clamp(29px, 8vw, 48px);
    font-weight: 600;
}

/* Animations */

@keyframes msy-hero-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes msy-char-in {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes msy-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */

@media (max-width: 1279px) and (min-width: 769px) {
    .msy-header__desktop {
        padding-inline: 30px;
    }

    .msy-hero__row {
        padding-right: 30px;
        padding-left: 30px;
    }

    .msy-hero__text {
        width: min(100%, 360px);
        font-size: 17px;
        line-height: 24px;
    }

    .msy-hero__button {
        min-height: 52px;
        padding-inline: 30px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    :root {
        --msy-header-desktop: 84px;
    }

    .admin-bar .msy-header--over,
    .admin-bar .msy-header.is-scrolled {
        top: 46px;
    }

    .msy-header__desktop {
        display: none;
    }

    .msy-header__mobile {
        display: flex;
        min-height: 84px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 24px;
    }

    .msy-mobile-logo img {
        width: auto;
        height: 60px;
    }

    .msy-mobile-toggle {
        display: flex;
        width: 48px;
        height: 48px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 12px;
        border: 0;
        background: transparent;
        color: var(--msy-white);
        cursor: pointer;
    }

    body:not(.home) .msy-mobile-toggle {
        color: var(--msy-brown);
    }

    .msy-mobile-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: currentColor;
    }

    .msy-hero {
        min-height: max(480px, 100svh);
    }

    .msy-hero__row {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 0 30px 40px;
    }

    .msy-hero__content-column {
        align-items: flex-start;
        text-align: left;
    }

    .msy-hero__title {
        max-width: 760px;
        padding-bottom: 10px;
        font-size: 48px;
        line-height: 1;
    }

    .msy-hero__text {
        width: min(100%, 420px);
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 22px;
    }

    .msy-hero__button {
        min-height: 48px;
        padding-inline: 30px;
        font-size: 14px;
    }

    .msy-footer__main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .msy-header__mobile {
        min-height: 76px;
        padding-inline: 18px;
    }

    .msy-mobile-logo img {
        height: 52px;
    }

    .msy-hero__row {
        padding: 0 20px 40px;
    }

    .msy-hero__title {
        font-size: clamp(39px, 10.8vw, 48px);
        letter-spacing: 0;
        line-height: 1;
    }

    .msy-hero__text {
        font-size: 15px;
        line-height: 21px;
    }

    .msy-hero__button {
        width: auto;
        min-width: 195px;
        padding-inline: 26px;
    }

    .msy-footer__main {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .msy-footer__bottom {
        width: calc(100% - 40px);
    }

    .msy-info-panel {
        padding-inline: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .msy-hero__char,
    .msy-hero__text,
    .msy-hero__button {
        opacity: 1;
        transform: none;
    }
}


/* Shared sections */

.msy-shell {
    width: min(calc(100% - 64px), 1290px);
    margin-inline: auto;
}

.msy-kicker {
    display: block;
    margin-bottom: 21px;
    color: var(--msy-brown-link);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.msy-kicker--light {
    color: rgba(255, 255, 255, 0.78);
}

.msy-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 37px;
    border: 2px solid transparent;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

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

.msy-button--brown {
    border-color: var(--msy-brown);
    background: var(--msy-brown);
    color: var(--msy-white);
}

.msy-button--brown:hover {
    background: transparent;
    color: var(--msy-brown);
}

.msy-button--cream {
    border-color: var(--msy-cream);
    background: var(--msy-cream);
    color: var(--msy-brown);
}

.msy-button--cream:hover {
    border-color: var(--msy-brown-dark);
    background: var(--msy-brown-dark);
    color: var(--msy-white);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 720ms ease,
        transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Homepage intro */

.msy-intro {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 115px;
    padding-block: 135px 110px;
}

.msy-intro__title h2 {
    max-width: 760px;
    margin: 0;
    color: var(--msy-brown);
    font-size: clamp(49px, 4.2vw, 68px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.msy-intro__text {
    padding-top: 48px;
}

.msy-intro__text p {
    margin: 0 0 24px;
    color: var(--msy-text);
    font-size: 17px;
    line-height: 1.8;
}

/* Project links */

.msy-project-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 125px;
    border-top: 1px solid var(--msy-line);
    border-bottom: 1px solid var(--msy-line);
}

.msy-project-link {
    position: relative;
    min-height: 280px;
    padding: 40px 40px 35px;
    border-right: 1px solid var(--msy-line);
    color: var(--msy-brown);
    transition:
        background-color 220ms ease,
        color 220ms ease;
}

.msy-project-link:first-child {
    border-left: 1px solid var(--msy-line);
}

.msy-project-link:hover {
    background: var(--msy-brown);
    color: var(--msy-white);
}

.msy-project-link__icon {
    display: block;
    margin-bottom: 44px;
    font-size: 37px;
    line-height: 1;
}

.msy-project-link h3 {
    max-width: 280px;
    margin: 0;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.16;
}

.msy-project-link h3 strong {
    display: block;
    font-weight: 700;
}

.msy-project-link__more {
    position: absolute;
    right: 35px;
    bottom: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* Process */

.msy-process {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    gap: 0;
    background: var(--msy-white);
}

.msy-process__image {
    min-height: 680px;
}

.msy-process__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msy-process__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px clamp(55px, 7vw, 125px);
}

.msy-process__content h2 {
    max-width: 650px;
    margin: 0;
    color: var(--msy-brown);
    font-size: clamp(47px, 4.3vw, 68px);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.msy-process__content p {
    max-width: 620px;
    margin: 32px 0 38px;
    color: var(--msy-text);
    font-size: 17px;
    line-height: 1.8;
}

/* Stats */

.msy-stats {
    padding: 98px 0;
    background: var(--msy-white);
}

.msy-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.msy-stat {
    min-height: 180px;
    padding: 25px 32px;
    border-right: 1px solid rgba(140, 102, 59, 0.2);
    text-align: center;
}

.msy-stat:first-child {
    border-left: 1px solid rgba(140, 102, 59, 0.2);
}

.msy-stat strong {
    display: block;
    color: var(--msy-brown);
    font-size: clamp(45px, 4vw, 69px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.msy-stat span {
    display: block;
    margin-top: 22px;
    color: var(--msy-brown-link);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Homepage projects */

.msy-home-projects {
    padding: 120px 0 0;
    background: var(--msy-cream);
}

.msy-home-projects__heading {
    position: relative;
    padding-bottom: 62px;
}

.msy-home-projects__heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--msy-brown);
    font-size: clamp(45px, 4.2vw, 68px);
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.msy-home-projects__heading > a {
    position: absolute;
    right: 0;
    bottom: 66px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--msy-brown);
    font-size: 14px;
    font-weight: 700;
}

.msy-home-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.msy-home-project {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: var(--msy-white);
}

.msy-home-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.msy-home-project:hover img {
    transform: scale(1.06);
}

.msy-home-project__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(20, 12, 4, 0.04) 25%,
            rgba(20, 12, 4, 0.87) 100%
        );
}

.msy-home-project__content {
    position: absolute;
    right: 28px;
    bottom: 30px;
    left: 28px;
}

.msy-home-project__content small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.msy-home-project__content h3 {
    margin: 12px 0 20px;
    font-size: 24px;
    line-height: 1.18;
}

.msy-home-project__content > span {
    font-size: 13px;
    font-weight: 700;
}

/* CTA */

.msy-cta {
    position: relative;
    overflow: hidden;
    background:
        var(--msy-green)
        url("/wp-content/uploads/2025/12/action-bg-copyright.png")
        center / cover no-repeat;
    color: var(--msy-white);
}

.msy-cta::after {
    position: absolute;
    inset: 0;
    background: rgba(89, 106, 38, 0.2);
    content: "";
}

.msy-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 300px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
}

.msy-cta h2 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(36px, 3.7vw, 58px);
    line-height: 1.1;
}

/* Homepage contact */

.msy-contact-strip {
    position: relative;
    display: grid;
    min-height: 850px;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #ece8df;
}

.msy-contact-strip__image {
    position: absolute;
    inset: 0;
    background:
        url("/wp-content/uploads/2025/12/WhatsApp-Gorsel-2025-12-02-saat-17.44.21_1ef6e711.jpg")
        center / cover no-repeat;
}

.msy-contact-strip__image::after {
    position: absolute;
    inset: 0;
    background: rgba(24, 14, 5, 0.12);
    content: "";
}

.msy-contact-strip__empty {
    position: relative;
    z-index: 1;
}

.msy-contact-card {
    position: relative;
    z-index: 2;
    align-self: center;
    width: min(calc(100% - 70px), 650px);
    padding: 75px;
    margin: 50px;
    background: var(--msy-white);
}

.msy-contact-card h2,
.msy-contact-page h2,
.msy-career-form-card h2 {
    margin: 0 0 34px;
    color: var(--msy-brown);
    font-size: clamp(42px, 4vw, 62px);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

/* Forms */

.msy-form {
    display: grid;
    gap: 22px;
}

.msy-form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.msy-form label {
    display: grid;
    gap: 9px;
}

.msy-form label > span {
    color: var(--msy-brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.msy-form input,
.msy-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #b9aa96;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--msy-text);
    font-size: 16px;
}

.msy-form input {
    min-height: 50px;
}

.msy-form textarea {
    padding-top: 14px;
    resize: vertical;
}

.msy-form input:focus,
.msy-form textarea:focus {
    border-color: var(--msy-brown);
}

.msy-form .msy-button {
    justify-self: start;
    margin-top: 8px;
}

.msy-form-notice {
    padding: 14px 18px;
    margin: 0 0 25px;
    border-left: 3px solid #a24736;
    background: #f6e9e5;
    color: #6d2d23;
}

.msy-form-notice--success {
    border-color: #6c8438;
    background: #edf3df;
    color: #435421;
}

/* Page hero */

.msy-page-hero {
    padding: 155px 0 105px;
    background: var(--msy-cream);
}

.msy-page-hero h1 {
    max-width: 1000px;
    margin: 0;
    color: var(--msy-brown);
    font-size: clamp(64px, 7vw, 112px);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.93;
}

.msy-page-hero p {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--msy-text);
    font-size: 18px;
}

/* About page */

.msy-about-main {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
    gap: 90px;
    padding-bottom: 125px;
}

.msy-about-main__image {
    min-height: 700px;
}

.msy-about-main__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msy-about-main__content {
    align-self: center;
}

.msy-about-main__content h2,
.msy-career-intro h2 {
    margin: 0;
    color: var(--msy-brown);
    font-size: clamp(47px, 4vw, 66px);
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.msy-about-main__content p,
.msy-career-intro__content p {
    margin: 28px 0 0;
    font-size: 17px;
    line-height: 1.8;
}

.msy-about-main__content .msy-button {
    margin-top: 38px;
}

.msy-stats--about {
    background: var(--msy-cream);
}

.msy-capabilities {
    position: relative;
    min-height: 720px;
    background:
        url("/wp-content/uploads/2025/12/WhatsApp-Gorsel-2025-12-02-saat-17.34.24_65afcf50.jpg")
        center / cover no-repeat;
    color: var(--msy-white);
}

.msy-capabilities__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.msy-capabilities__inner {
    position: relative;
    z-index: 1;
    padding-block: 135px;
}

.msy-capabilities h2 {
    margin: 0 0 55px;
    font-size: clamp(50px, 5vw, 78px);
    letter-spacing: -0.04em;
}

.msy-capabilities__lists {
    display: grid;
    max-width: 850px;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px;
}

.msy-capabilities ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.msy-capabilities li {
    position: relative;
    padding: 12px 0 12px 23px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 17px;
}

.msy-capabilities li::before {
    position: absolute;
    top: 23px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--msy-green);
    content: "";
}

.msy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-block: 120px;
}

.msy-values article {
    min-height: 280px;
    padding: 42px;
    border: 1px solid var(--msy-line);
    border-right: 0;
}

.msy-values article:last-child {
    border-right: 1px solid var(--msy-line);
}

.msy-values h2 {
    margin: 0 0 25px;
    color: var(--msy-brown);
    font-size: 34px;
}

.msy-values p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
}

/* Career */

.msy-career-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
    gap: 80px;
    padding-bottom: 130px;
}

.msy-career-intro__image {
    min-height: 720px;
}

.msy-career-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msy-career-intro__content {
    align-self: center;
}

.msy-career-intro__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 38px;
}

.msy-phone-link {
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--msy-brown);
    font-weight: 700;
}

.msy-career-form-section {
    padding: 110px 0;
    background: var(--msy-white);
}

.msy-career-form-card {
    max-width: 930px;
    margin-inline: auto;
}

/* Contact page */

.msy-contact-page {
    display: grid;
    grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
    gap: 100px;
    padding-bottom: 120px;
}

.msy-contact-page__details h2 {
    margin-bottom: 25px;
}

.msy-contact-page__details > p {
    margin-bottom: 50px;
    font-size: 17px;
}

.msy-contact-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: start;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--msy-line);
}

.msy-contact-item:last-child {
    border-bottom: 1px solid var(--msy-line);
}

.msy-contact-item__icon {
    color: var(--msy-brown);
    font-size: 25px;
}

.msy-contact-item p {
    margin: 0;
}

.msy-contact-page__form {
    padding: 70px;
    background: var(--msy-white);
}

.msy-map iframe {
    display: block;
}

/* Projects */

.msy-project-archive {
    padding-bottom: 130px;
}

.msy-project-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--msy-line);
}

.msy-project-tabs button {
    padding: 18px 25px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--msy-text);
    font-weight: 700;
    cursor: pointer;
}

.msy-project-tabs button.is-active {
    border-color: var(--msy-brown);
    color: var(--msy-brown);
}

.msy-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 36px;
}

.msy-project-card[hidden] {
    display: none;
}

.msy-project-card__image {
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    background: #ddd4c6;
}

.msy-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.msy-project-card:hover img {
    transform: scale(1.055);
}

.msy-project-card__content {
    padding-top: 23px;
}

.msy-project-card__content > span {
    color: var(--msy-brown-link);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.msy-project-card h2 {
    margin: 10px 0 15px;
    color: var(--msy-brown);
    font-size: clamp(27px, 2.4vw, 38px);
    line-height: 1.16;
}

.msy-project-card small {
    color: var(--msy-text);
    font-size: 13px;
}

.msy-project-detail-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    color: var(--msy-white);
}

.msy-project-detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msy-project-detail-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 8, 2, 0.15), rgba(15, 8, 2, 0.84));
}

.msy-project-detail-hero__content {
    position: relative;
    z-index: 1;
    padding-bottom: 75px;
}

.msy-project-detail-hero__content > a {
    display: inline-block;
    margin-bottom: 60px;
    font-weight: 700;
}

.msy-project-detail-hero__content > span {
    display: block;
    margin-bottom: 15px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.msy-project-detail-hero h1 {
    max-width: 1050px;
    margin: 0;
    font-size: clamp(48px, 5.3vw, 82px);
    letter-spacing: -0.05em;
    line-height: 1;
}

.msy-project-detail {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 70px;
    padding-block: 100px 130px;
}

.msy-project-detail aside {
    position: sticky;
    top: 130px;
    align-self: start;
}

.msy-project-detail aside div {
    display: grid;
    gap: 5px;
    padding: 19px 0;
    border-bottom: 1px solid var(--msy-line);
}

.msy-project-detail aside span {
    color: var(--msy-brown-link);
    font-size: 11px;
    text-transform: uppercase;
}

.msy-project-detail aside strong {
    color: var(--msy-brown);
    font-size: 15px;
}

.msy-project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.msy-project-gallery__item {
    aspect-ratio: 1.25 / 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #ddd4c6;
    cursor: zoom-in;
}

.msy-project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.msy-project-gallery__item:hover img {
    transform: scale(1.04);
}

.msy-lightbox {
    position: fixed;
    z-index: 3000;
    visibility: hidden;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 45px;
    background: rgba(15, 9, 3, 0.93);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.msy-lightbox.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.msy-lightbox img {
    max-width: min(1300px, 92vw);
    max-height: 88vh;
}

.msy-lightbox button {
    position: absolute;
    top: 20px;
    right: 28px;
    border: 0;
    background: transparent;
    color: var(--msy-white);
    font-size: 46px;
    cursor: pointer;
}

/* Generic */

.msy-generic-content {
    padding-bottom: 120px;
}

.msy-generic-content > * {
    max-width: 900px;
    margin-inline: auto;
}

.msy-generic-content p,
.msy-generic-content li {
    font-size: 17px;
    line-height: 1.8;
}

/* Footer correction */

.msy-footer-menu {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.msy-footer-menu li {
    margin: 0;
}

.msy-footer-menu a {
    display: inline-block;
    padding: 0;
}

/* Responsive */

@media (max-width: 1050px) {
    .msy-intro,
    .msy-process,
    .msy-about-main,
    .msy-career-intro,
    .msy-contact-page {
        gap: 55px;
    }

    .msy-home-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .msy-intro,
    .msy-process,
    .msy-about-main,
    .msy-career-intro,
    .msy-contact-page {
        grid-template-columns: 1fr;
    }

    .msy-intro {
        gap: 35px;
        padding-block: 90px;
    }

    .msy-intro__text {
        padding-top: 0;
    }

    .msy-project-links {
        grid-template-columns: 1fr;
    }

    .msy-project-link,
    .msy-project-link:first-child {
        min-height: 220px;
        border-right: 1px solid var(--msy-line);
        border-bottom: 1px solid var(--msy-line);
        border-left: 1px solid var(--msy-line);
    }

    .msy-process__content {
        padding: 80px 35px;
    }

    .msy-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .msy-stat:nth-child(3) {
        border-left: 1px solid rgba(140, 102, 59, 0.2);
    }

    .msy-cta__inner {
        grid-template-columns: 1fr;
        align-content: center;
        padding-block: 70px;
    }

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

    .msy-contact-strip__empty {
        display: none;
    }

    .msy-contact-card {
        width: min(calc(100% - 40px), 650px);
        padding: 55px 40px;
        margin: 60px auto;
    }

    .msy-about-main__image,
    .msy-career-intro__image {
        min-height: 540px;
    }

    .msy-values {
        grid-template-columns: 1fr;
    }

    .msy-values article,
    .msy-values article:last-child {
        border-right: 1px solid var(--msy-line);
        border-bottom: 0;
    }

    .msy-values article:last-child {
        border-bottom: 1px solid var(--msy-line);
    }

    .msy-project-detail {
        grid-template-columns: 1fr;
    }

    .msy-project-detail aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .msy-shell {
        width: calc(100% - 36px);
    }

    .msy-intro__title h2,
    .msy-process__content h2,
    .msy-home-projects__heading h2,
    .msy-about-main__content h2,
    .msy-career-intro h2 {
        font-size: 42px;
    }

    .msy-project-links {
        margin-bottom: 80px;
    }

    .msy-process__image {
        min-height: 430px;
    }

    .msy-stats {
        padding-block: 65px;
    }

    .msy-stats__grid {
        grid-template-columns: 1fr;
    }

    .msy-stat,
    .msy-stat:first-child,
    .msy-stat:nth-child(3) {
        min-height: 150px;
        border-right: 1px solid rgba(140, 102, 59, 0.2);
        border-bottom: 1px solid rgba(140, 102, 59, 0.2);
        border-left: 1px solid rgba(140, 102, 59, 0.2);
    }

    .msy-home-projects {
        padding-top: 80px;
    }

    .msy-home-projects__heading > a {
        position: static;
        display: inline-block;
        margin-top: 28px;
    }

    .msy-home-projects__grid {
        grid-template-columns: 1fr;
    }

    .msy-home-project {
        min-height: 470px;
    }

    .msy-form__row,
    .msy-capabilities__lists,
    .msy-project-grid,
    .msy-project-gallery {
        grid-template-columns: 1fr;
    }

    .msy-page-hero {
        padding: 120px 0 75px;
    }

    .msy-page-hero h1 {
        font-size: 58px;
    }

    .msy-about-main,
    .msy-career-intro,
    .msy-contact-page {
        padding-bottom: 80px;
    }

    .msy-contact-page__form {
        padding: 40px 24px;
    }

    .msy-career-intro__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .msy-project-tabs {
        overflow-x: auto;
    }

    .msy-project-tabs button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .msy-project-detail-hero {
        min-height: 68vh;
    }

    .msy-project-detail-hero__content {
        padding-bottom: 45px;
    }

    .msy-project-detail-hero__content > a {
        margin-bottom: 35px;
    }

    .msy-project-detail {
        gap: 40px;
        padding-block: 70px 90px;
    }
}
