/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 16px;
}

/* gobal*/
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.45;
    font-size: 1rem;
    background-color: #f5f2ed;
    overflow-x: hidden;
}

@font-face {
    font-family: Didot;
    src: url('../fonts/Didot.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Courier-New';
    src: url('../fonts/Courier-New.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier-New';
    src: url('../fonts/Courier-New-Italic.woff') format('woff');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Courier-New';
    src: url('../fonts/Courier-New-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier-New';
    src: url('../fonts/Courier-New-Bold-Italic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Montserrat;
    src: url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    color: #030000;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Didot;
    font-weight: 400;
}

a {
    font-family: Didot;
    text-decoration: none;
    display: block;
}

.subheading {
    font-family: Montserrat;
}

.container {
    margin: 0 auto;
    max-width: 1652px;
    padding: 0 5%;
}



.grid {
    display: grid;
    gap: 1rem;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* Header */
.site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
    transition: background-color 250ms ease, box-shadow 250ms ease;
}

.site-header .header-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.homepage .site-header .mobile-menu-toggle svg path {
    stroke: #fff;
}

.homepage .site-header.scrolled .mobile-menu-toggle svg path {
    stroke: #030000;
}

/* layout: logo left, nav center */


.logo img {
    width: 109px;
    height: auto;
    display: block
}


/* initial transparent look */
.site-header {
    background-color: #f5f2ed;
}

.homepage .site-header {
    background-color: transparent;
}

.site-header.scrolled {
    background-color: #f5f2ed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08)
}

.main-nav {
    display: flex;
    justify-content: center;
    flex: 1
}

.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none
}

.main-nav a {
    font-family: 'Courier New', system-ui, -apple-system;
    color: #030000;
    text-decoration: none;
    font-weight: 400;
    font-style: normal;
    padding: 6px 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    font-weight: 600;
    transform: scale(1.2);
}

.homepage .main-nav a {
    color: #fff;
}

.site-header.scrolled .main-nav a {
    color: #030000;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);

    justify-content: start;
    align-items: start;
    padding-top: 4rem;
    z-index: 1001;
    display: none;

}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    width: 100%;
}

.mobile-menu ul li {
    border-bottom: 1px solid #e9e9e9;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #030000;
    padding: 0.5rem 1rem;
    display: block;
}

/* make sure content doesn't sit under fixed header */
.page-content {
    padding-top: 60px;
    min-height: calc(100vh - 120px);
}

.homepage .page-content {
    padding-top: 0
}




/* small responsive tweaks */
@media(max-width:750px) {
    .site-header .header-container {
        justify-content: space-between;
        padding: 1rem 0;
    }

    .main-nav {
        display: none;
    }

    .main-nav ul {
        gap: 14px;
        font-size: 14px
    }

    .mobile-menu-toggle {
        display: block;
    }

}


section {
    padding: 4rem 0;
}

section+section {
    padding-top: 0;
}

/** Homepage specific styles */

/*banner*/
.banner-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.banner-section .banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.banner-section .banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    padding-bottom: 10%;
    pointer-events: none;
}

.banner-content .wrapper h1 {
    font-size: 4rem;
    color: #fff;
}

@media screen and (max-width: 1440px) {
    .banner-content .wrapper h1 {
        font-size: 3.5rem;
    }

}

@media screen and (max-width: 750px) {
    .banner-content .wrapper h1 {
        font-size: 1.4rem;
    }

}

/* richtext section */
.richtext-section {
    padding: 4rem 0;
}

.richtext-section .subheading {
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
}

.richtext-section h2 {
    font-size: 2.5rem;
}

.richtext-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media screen and (max-width: 1440px) {
    .richtext-section h2 {
        font-size: 2rem;
    }

    .richtext-section h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 750px) {
    .richtext-section h2 {
        font-size: 1.2rem;
    }

    .richtext-section h3 {
        font-size: 1rem;
    }
}

/* Gallery Seciton*/
.gallery-section {
    padding-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
    gap: 1rem;
}

.gallery-grid .gallery-item:first-child {
    padding: 20%;
}

.gallery-grid .gallery-item-caption {
    margin-top: 1rem;

}

.gallery-grid .gallery-item-caption h3 {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 750px) {
    .gallery-grid .gallery-item:first-child {
        padding: 0 10% 10%;
    }

    .gallery-grid .gallery-item-caption h3 {
        font-size: 1rem;
    }

    .gallery-grid .gallery-item-caption img {
        width: 2.2rem;
    }
}


/** Furnishings Style */
.furnishings-section {
    padding: 4rem 0;
}

.furnishings-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 1440px) {
    .furnishings-section h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 750px) {
    .furnishings-section h2 {
        font-size: 1.2rem;
    }
}


.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}


.masonry-grid .grid-item {
    position: relative;
    flex: 1 1 50%;
    max-width: calc(50% - 4rem);
}

.masonry-grid .grid-item-1 {
    padding-right: 10%;
}

.masonry-grid .grid-item-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.masonry-grid .grid-item-3 {
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.masonry-grid .grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.masonry-grid h1 {
    font-size: 60px;
    line-height: 1.25;
    text-transform: uppercase;
}

.masonry-grid .content {
    transform: translateX(-18%);
    z-index: 3;
}

.multi-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 1280px) {
    .masonry-grid h1 {
        font-size: 40px
    }
}

@media screen and (max-width: 750px) {
    .masonry-grid {
        gap: 1rem;
    }

    .masonry-grid .content {
        transform: translateX(-12%);
    }

    .masonry-grid .grid-item {
        max-width: calc(50% - 1rem);
    }

    .masonry-grid .grid-item-1 {
        padding-right: 5%;
    }

    .masonry-grid .grid-item-3 {
        padding-left: 5%;
    }

    .masonry-grid h1 {
        font-size: 22px;
        line-height: 1;
    }

    .masonry-grid a {
        font-size: 12px;
    }

}


/** Office Design */
.office-design-page .gallery-section .flex {
    gap: 4rem;
}

.office-design-page .caption {
    margin-top: 1rem;
}

.office-design-page .gallery-heading {
    font-size: 75px;
    line-height: 1;
    text-transform: uppercase;
}

.multi-section {
    padding-top: 0;
}

.multi-section .flex {
    gap: 2rem;
}

@media screen and (max-width: 750px) {
    .office-design-page .gallery-section .flex {
        gap: 0.5rem;
    }

    .multi-section .flex {
        gap: 0.5rem;
    }

    .office-design-page .gallery-heading {
        font-size: 40px;
    }
}

@media screen and (max-width: 480px) {
    .office-design-page .gallery-heading {
        font-size: 28px;
    }
}

/** Images-section */

.image-grid {
    position: relative;
    display: grid;
    justify-content: center;
    gap: 4rem;
}

.image-grid .row {
    display: grid;
    gap: 4rem;
    justify-content: center;
}

/* 第一行：左略小，右略大 */
.image-grid h1 {
    font-size: 75px;
    line-height: 1;
    text-transform: uppercase;
}

.image-grid .row-1 {

    grid-template-columns: 46% calc(42% - 4rem);
    align-items: center;

}

/* 第二行：左略大，右略小 */
.image-grid .row-2 {
    grid-template-columns: calc(38% - 4rem) 46%;
}

.image-grid .row-2 .left {
    margin-top: 15%;
}

.image-grid .item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ovelay-content {
    position: absolute;
    left: 0;
    top: 42%;
}

@media screen and (max-width: 750px) {
    .image-grid {
        gap: 2rem;
    }

    .image-grid h1 {
        font-size: 40px;
    }

    .image-grid .row {
        gap: 0.5rem;
    }

    .image-grid .row-1 {

        grid-template-columns: 46% calc(42% - 0.5rem);
        align-items: center;

    }

    /* 第二行：左略大，右略小 */
    .image-grid .row-2 {
        grid-template-columns: calc(38% - 0.5rem) 46%;
    }

    .ovelay-content {
        top: 38%;
        z-index: 3;
    }
}

footer {
    padding: 20px 0;
}