@font-face {
    font-family: 'The Blendinroom';
    src: url('../font/THE%20BLENDINROOM.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --nav-bg: #FED1C1;
    --maroon: #591829;
    --color-bg: #5F2029;
    --custom-yellow: #F9C89B;
    --custom-purple: #A46374;
    --custom-golden: #FED4BA;
    --custom-pink: #F6CDC5;
}

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

html,
body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select,
a {
    font-family: 'Lora', serif;
}

body.services-menu-open,
body.user-menu-open {
    overflow: hidden;
}

body.services-menu-open::before,
body.user-menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.45);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'The Blendinroom', serif;
}

a,
button {
    color: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}

.about-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: url('../image/about_bg.png') center / cover no-repeat;
}

.top-left-branding {
    position: fixed;
    top: 18px;
    left: 28px;
    z-index: 1100;
}

.top-left-branding img {
    width: 100px;
    height: auto;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 12px 30px;
    border-radius: 999px;
    background: var(--nav-bg);
}

.nav-links,
.nav-icons {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links {
    gap: 30px;
    margin: 0;
    color: var(--maroon);
    padding: 0;
}

.nav-links>li>a {
    font-size: 14px;
    white-space: nowrap;
}

.nav-icons {
    gap: 18px;
}

.icon {
    width: 15px;
    font-size: 14px;
    cursor: pointer;
}

.has-dropdown,
.user-trigger {
    position: relative;
    cursor: pointer;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 55px;
    left: -395px;
    width: 1000px;
    padding: 35px;
    border-radius: 24px;
    background: var(--nav-bg);
    box-shadow: 0 18px 45px rgba(60, 20, 25, .18);
}

.mega-menu.active {
    display: block;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mega-col h3 {
    margin-bottom: 12px;
    color: var(--maroon);
    font-size: 32px;
    font-weight: 400;
}

.mega-col h3.mt-25 {
    margin-top: 24px;
}

.mega-col a {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.user-dropdown {
    display: none;
    position: absolute;
    text-align: right;
    top: 55px;
    right: -30px;
    width: 270px;
    padding: 20px;
    border-radius: 20px;
    background: var(--nav-bg);
    box-shadow: 0 15px 35px rgba(60, 20, 25, .16);
}

.user-dropdown.active {
    display: block;
}

.user-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(104, 0, 43, .12);
}

.user-item:last-child {
    border: 0;
}

.user-item a {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.user-item span {
    font-size: 12px;
}

.center-branding {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%);
}

.arch-box img {
    display: block;
    width: clamp(260px, 25vw, 380px);
    height: auto;
}

.floating-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1200;
    display: block;
    width: 94px;
    height: 94px;
    transition: transform 0.3s ease;
}

.floating-button:hover {
    transform: translateY(-5px);
}

.floating-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.atelier-section {
    min-height: 100vh;
    background-color: var(--color-bg);
    padding: clamp(70px, 8vw, 120px) 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.atelier-container {
    width: 100%;
    max-width: 1100px;
}

.atelier-title {
    font-size: 78px;
    color: var(--custom-yellow);
    line-height: 0.95;
    letter-spacing: 4px;
    margin-bottom: clamp(25px, 4vw, 45px);
    font-weight: 400;
    text-transform: uppercase;
}

.atelier-description {
    max-width: 660px;
    margin: 0 auto;
    font-size: 20px;
    color: var(--custom-yellow);
    line-height: 1.7;
    letter-spacing: 1px;
    font-weight: 400;
}

.founder-section {
    height: 100vh;
    min-height: 100vh;
    background-color: var(--custom-purple);
    padding: clamp(70px, 7vw, 110px) 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.founder-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(60px, 8vw, 120px);
}

.founder-visual {
    flex: 1 1 48%;
    display: flex;
    justify-content: center;
}

.arch-frame {
    width: 100%;
    max-width: 475px;
}

.arch-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-content {
    flex: 1 1 52%;
    color: var(--custom-yellow);
}

.founder-name {
    font-size: 42px;
    line-height: 1;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 400;
}

.founder-title {
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.9;
}

.founder-bio p {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 555px;
}

.core-values-section {
    height: 100vh;
    min-height: 100vh;
    background-color: var(--custom-yellow);
    padding: 70px 30px 70px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.values-container {
    max-width: 1300px;
    width: 100%;
}

.values-main-title {
    font-size: 78px;
    line-height: 1;
    color: var(--color-bg);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: clamp(55px, 7vw, 90px);
    text-transform: uppercase;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 6vw, 80px);
    text-align: left;
}

.value-item h3 {
    font-size: 24px;
    color: var(--color-bg);
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 500;
}

.value-item p {
    font-size: 16px;
    color: var(--color-bg);
    line-height: 1.7;
    font-weight: 400;
}

.about-closing-sections {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.opportunities-section {
    flex: 1 1 auto;
    min-height: 0;
    background-color: var(--custom-golden);
    padding: 8% 12%;
    display: flex;
    justify-content: center;
}

.opportunities-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.opp-left {
    flex: 1 1 58%;
}

.opp-title {
    font-size: 78px;
    color: var(--color-bg);
    line-height: 95px;
    font-weight: 400;
    text-transform: uppercase;
}

.opp-right {
    flex: 1 1 42%;
}

.opp-subtitle {
    font-size: 20px;
    color: var(--color-bg);
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 400;
    text-transform: uppercase;
        font-family: 'Lora', serif;
}

.opp-description {
    font-size: 16px;
    color: var(--color-bg);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 430px;
}


.btn-join-maiya {
    display: inline-block;
    border: none;
    background-color: var(--maroon);
    color: var(--custom-yellow);
    text-decoration: none;
    padding: 17px 30px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-join-maiya:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: var(--custom-yellow);
}

.partners-section {
    flex: 0 0 auto;
    background-color: var(--custom-pink);
    /* Light peach/pink */
    padding: 60px 5%;
    text-align: center;
}

.partners-title {
    font-size: 24px;
    color: var(--custom-bg);
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-weight: 400;
}

.partners-logos {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-track {
    width: 100%;
}

.partners-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}

.partners-group[aria-hidden="true"] {
    display: none;
}

.partners-group img {
    flex: 0 0 auto;
    max-width: 200px;
    height: 100px;
    width: auto;
    object-fit: contain;
}

@keyframes partners-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opp-title {
        font-size: 68px;
    }
}

@media (max-width: 992px) {

    .top-left-branding,
    .nav-content {
        display: none;
    }

    .atelier-title {
        font-size: 60px;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .founder-section {
        height: auto;
    }

    .founder-name {
        font-size: 36px;
    }

    .values-main-title {
        font-size: 60px;
    }

    .opportunities-container {
        flex-direction: column;
    }

    .opp-title {
        font-size: 60px;
        line-height: 60px;
    }
}

@media (max-width: 768px) {
    .floating-button {
        width: 65px;
    }

    .partners-logos {
        width: 100%;
        max-width: none;
        overflow: hidden;
    }

    .partners-track {
        display: flex;
        align-items: center;
        width: max-content;
        animation: partners-scroll-left 22s linear infinite;
        will-change: transform;
    }

    .partners-group,
    .partners-group[aria-hidden="true"] {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: clamp(45px, 7vw, 110px);
        padding-right: clamp(45px, 7vw, 110px);
    }

    .atelier-title {
        font-size: 50px;
    }

    .atelier-description {
        font-size: 22px;
    }

    .values-main-title {
        font-size: 50px;
        text-align: left;
    }

    .values-grid {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .opp-title {
        font-size: 50px;
    }

    .opp-subtitle {
        font-size: 22px;
    }

    .about-closing-sections {
        height: auto;

    }

    .opportunities-container {
        flex-direction: column;
        gap: 30px;
    }

    .opportunities-section {
        padding: 20% 12%;
    }

    .partners-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .atelier-title {
        font-size: 40px;
    }

    .atelier-description {
        font-size: 18px;
    }

    .founder-name {
        font-size: 30px;
    }

    .founder-title {
        font-size: 14px;
    }

    .founder-bio p {
        font-size: 14px;
    }

    .values-main-title {
        font-size: 40px;
    }

    .value-item h3 {
        font-size: 20px;
    }

    .value-item p {
        font-size: 14px;
    }

    .opp-title {
        font-size: 40px;
    }

    .opp-subtitle {
        font-size: 20px;
    }

    .opp-description {
        font-size: 14px;
    }

    .partners-title {
        font-size: 20px;
    }

    .arch-frame {
        width: 75%;
    }

    .opp-left {
        flex: none;
    }

    .opp-right {
        flex: none;
    }

    .opportunities-section {
        flex: none;
    }
}
