@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-300.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/inter-200.ttf") format("truetype"); }
/* MAXI E&C — shared foundation. All site styles live in this file. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-400.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-500.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-600.ttf") format("truetype");
}

:root {
    color-scheme: light;
    --color-paper: #f4f4f2;
    --color-ink: #30312f;
    --color-muted: #72736e;
    --color-line: #d7d8d2;
    --page-gutter: clamp(24px, 3.15vw, 72px);
    --font-body: "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height, 112px) + 24px); }
body {
    margin: 0;
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.menu-is-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; border: 0; }
figure, p { margin: 0 0 1.5em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1em; font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(36px, 4.5vw, 72px); }
h2 { font-size: clamp(26px, 3vw, 42px); }
h3 { font-size: clamp(21px, 2vw, 28px); }
::selection { color: var(--color-paper); background: var(--color-ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
[hidden] { display: none !important; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 100;
    inset: 12px auto auto 12px;
    padding: 12px 20px;
    color: var(--color-paper);
    background: var(--color-ink);
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.site-shell { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }

/* Quiet wordmark left; compact uppercase navigation right. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    flex-shrink: 0;
    background: var(--color-paper);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
    padding: 30px var(--page-gutter) 44px;
}
.site-brand {
    flex-shrink: 0;
    font-size: clamp(25px, 2.25vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .16em;
    white-space: nowrap;
}
.site-navigation__list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 12px clamp(16px, 1.9vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-navigation a, .site-navigation-measure a, .site-footer a {
    display: inline-block;
    padding-bottom: 3px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: text-decoration-color 180ms ease;
}
.site-navigation a:hover, .site-navigation a[aria-current="page"], .site-footer a:hover {
    text-decoration-color: currentColor;
}
.menu-toggle, .menu-backdrop { display: none; }
.site-navigation-measure {
    position: fixed;
    top: 0;
    left: 0;
    width: max-content;
    visibility: hidden;
    pointer-events: none;
}
.site-navigation-measure .site-navigation__list { flex-wrap: nowrap; }
.site-navigation-measure a { white-space: nowrap; }
.site-navigation a { white-space: nowrap; }
.site-content { flex: 1; min-width: 0; }
.site-content:focus { outline: none; }
.site-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 64px var(--page-gutter) 24px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer__copyright {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* Basic flow for existing child templates while they are redesigned.
   No legacy theme, animation, icon font, carousel or jQuery dependency. */
.site-content > section { padding-block: 64px; }
.container { width: calc(100% - var(--page-gutter) * 2); margin-inline: auto; }
.container .container { width: 100%; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.row > * { min-width: 0; grid-column: span 12; }
.heading { margin-bottom: 40px; }
.text-center { text-align: center; }
.chi-tiet-bai-viet { overflow-wrap: anywhere; }
.chi-tiet-bai-viet a { text-decoration: underline; text-underline-offset: 4px; }
.chi-tiet-bai-viet table { display: block; max-width: 100%; overflow-x: auto; }
.gallery-video { aspect-ratio: 4 / 3; }
.carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.carousel a > span[style*="background-image"] { display: block; min-height: 120px; background-repeat: no-repeat; background-position: center; }
.btn { display: inline-block; padding: 10px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--color-line); border-radius: 0; background: transparent; }
textarea.form-control { resize: vertical; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.pagination .active { text-decoration: underline; text-underline-offset: 6px; }
.fa-angle-left::before { content: "←"; font-style: normal; }
.fa-angle-right::before { content: "→"; font-style: normal; }

@media (min-width: 768px) {
    .row > .col-md-3 { grid-column: span 3; }
    .row > .col-md-4 { grid-column: span 4; }
    .row > .col-md-6 { grid-column: span 6; }
    .row > .col-md-8 { grid-column: span 8; }
    .row > .col-md-9 { grid-column: span 9; }
}


    .site-header:not(.is-enhanced) { flex-wrap: wrap; }
    .site-header:not(.is-enhanced) .site-navigation { width: 100%; }
    .site-header:not(.is-enhanced) .site-navigation__list { justify-content: flex-start; }
    .site-header.is-compact { flex-wrap: nowrap; }
    .is-compact .menu-toggle {
        position: relative;
        z-index: 22;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-height: 44px;
        padding: 0;
        border: 0;
        background: none;
    }
    .menu-toggle__icon { position: relative; width: 22px; height: 12px; }
    .menu-toggle__icon::before, .menu-toggle__icon::after {
        position: absolute;
        left: 0;
        width: 22px;
        height: 1px;
        background: currentColor;
        content: "";
        transition: transform 350ms cubic-bezier(.22, 1, .36, 1);
    }
    .menu-toggle__icon::before { top: 2px; }
    .menu-toggle__icon::after { top: 10px; }
    [aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(4px) rotate(45deg); }
    [aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-4px) rotate(-45deg); }
    .is-compact .site-brand { position: relative; z-index: 22; }
    .is-compact .menu-backdrop {
        position: fixed;
        z-index: 20;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: default;
    }
    .is-compact .site-navigation {
        position: fixed;
        z-index: 21;
        inset: 0 0 0 auto;
        display: block;
        width: clamp(200px, 48vw, 300px);
        max-width: 80vw;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: calc(var(--header-height, 92px) + 8px) calc(var(--page-gutter) + 11px) 32px 24px;
        background: var(--color-paper);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 550ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 550ms;
    }
    .is-compact.is-menu-open .site-navigation {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
    }
    .is-compact .site-navigation .site-navigation__list { align-items: flex-end; flex-direction: column; gap: 16px; }
    .is-compact .site-navigation a { padding-block: 8px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-align: right; }

@media (max-width: 767px) {
    .site-header { gap: 20px; padding-top: 20px; padding-bottom: 28px; }
    .site-content > section { padding-block: 40px; }
    .row { gap: 24px; }
    .site-footer { align-items: baseline; flex-direction: row; flex-wrap: nowrap; gap: 12px; padding-top: 48px; }
    .site-footer__links { flex-wrap: nowrap; }
    .site-footer__copyright { align-self: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Home — four quiet, image-led sections. These styles only target the home page. */
.site-content > :is(.home-hero, .home-about, .home-projects, .home-partners) {
    padding: 84px var(--page-gutter);
}
.site-content > .home-hero { padding-top: 20px; }
.home-hero__grid {
    display: grid;
    grid-template-columns: 1.333fr 1fr;
    align-items: center;
    gap: 32px;
}
.home-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px 0;
    text-align: center;
}
.home-hero__words { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3vw, 48px); }
.home-hero__word {
    display: block;
    padding-left: .16em;
    font-size: clamp(40px, 5.5vw, 88px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.home-hero__word--build { padding-left: .28em; letter-spacing: .28em; }
.home-hero__word--maintain { padding-left: .08em; letter-spacing: .08em; }
.home-hero__title {
    max-width: 100%;
    margin: clamp(32px, 4vw, 64px) 12px 0;
    font-size: clamp(12px, 1.3vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
}
.home-hero__pointer { display: block; width: 1px; height: 26px; margin-top: 24px; background: currentColor; transform-origin: center top; }
.home-hero__image { aspect-ratio: 1; overflow: hidden; }
.home-hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* ARTL's opening rhythm: image, then the three words, then the caption and line. */
.home-hero__image, .home-hero__word, .home-hero__title {
    animation: home-appear 1s cubic-bezier(.455, .03, .515, .955) both;
}
.home-hero__word--design { animation-delay: 1s; }
.home-hero__word--build { animation-delay: 2s; }
.home-hero__word--maintain { animation-delay: 3s; }
.home-hero__title { animation-delay: 4s; }
.home-hero__pointer { animation: home-pointer 1s ease 5s both; }
@keyframes home-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-pointer { from { transform: scaleY(0) translateY(0); } to { transform: scaleY(1) translateY(12px); } }

.home-about__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 32px; }
.home-about__image { aspect-ratio: 4 / 5; overflow: hidden; }
.home-about__image img { width: 100%; height: 100%; object-fit: cover; }
.home-about__copy { grid-column: 2 / 4; justify-self: center; width: 100%; max-width: 50ch; padding-bottom: 24px; }
.home-about__wordmark { margin: 0 0 28px; font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: .12em; }
.home-about__text { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; overflow-wrap: anywhere; }
.home-about__text :where(p, div, span, font, b, strong, em, i, a) {
    font-family: var(--font-body) !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
    text-align: left !important;
}
.home-about__text p { margin-bottom: 16px; }
.home-about__text > :last-child { margin-bottom: 0; }
.home-about__text img { max-width: 100%; height: auto !important; }
.home-about__text a { text-decoration: underline; text-underline-offset: 4px; }
.home-text-link { display: inline-block; margin-top: 28px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.home-text-link:hover { color: var(--color-muted); }
.home-about__edit { display: block; width: fit-content; margin-top: 16px; color: var(--color-muted); font-size: 12px; text-decoration: underline; }

.home-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 32px; }
.home-project { min-width: 0; }
.home-project__link { display: block; }
.home-project__image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background-color: #e9e9e5; background-size: cover; background-position: center; background-repeat: no-repeat; }
.home-project__image::after { position: absolute; inset: 0; background: #fff; opacity: 0; content: ""; transition: opacity 300ms ease; }
.home-project__link:hover .home-project__image::after, .home-project__link:focus-visible .home-project__image::after { opacity: .12; }
.home-project__name { margin: 20px 0 0; font-size: 18px; font-weight: 400; line-height: 1.5; text-transform: uppercase; overflow-wrap: anywhere; }
.home-projects__empty { grid-column: 1 / -1; margin: 0; color: var(--color-muted); }

.home-partners__publication { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-partners__title { margin: 0 0 40px; font-size: 16px; font-weight: 400; line-height: 1.5; text-transform: uppercase; }
.home-partners__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; width: 100%; }
.home-partner { display: flex; align-items: center; justify-content: center; width: 180px; max-width: 100%; height: 90px; }
.home-partner img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); transition: filter 300ms ease; }
.home-partner:hover img { filter: none; }

@media (max-width: 991px) {
    .home-about__copy { padding-left: 24px; }
    .home-about__grid { grid-template-columns: 1fr 1.4fr; }
    .home-about__copy { grid-column: 2; }
    .home-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .site-content > :is(.home-hero, .home-about, .home-projects, .home-partners) { padding: 48px var(--page-gutter); }
    .site-content > .home-hero { padding-top: 0; }
    .home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .home-hero__image { grid-row: 1; }
    .home-hero__copy { padding: 24px 0 12px; }
    .home-hero__word { font-size: clamp(32px, 10.5vw, 66px); }
    .home-hero__title { margin-top: 36px; font-size: clamp(12px, 3.25vw, 17px); }
    .home-about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .home-about__image { max-width: 100%; }
    .home-about__copy { grid-column: 1; max-width: none; padding: 0; }
    .home-about__wordmark { font-size: 25px; }
    .home-projects__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .home-project__name { margin-top: 16px; font-size: 16px; }
    .home-partners__logos { gap: 28px 32px; }
    .home-partner { width: min(140px, calc(50% - 16px)); height: 72px; }
    .home-partners__title { font-size: 14px; margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__image, .home-hero__word, .home-hero__title, .home-hero__pointer { animation: none; opacity: 1; transform: none; }
}

/* Projects — square collection images, latest project featured above the grid. */
.site-content > .projects-intro { padding: 20px var(--page-gutter) 0; }
.projects-intro__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 24px 32px; }
.projects-intro__copy { grid-column: 1 / 3; grid-row: 1; min-width: 0; }
.projects-intro__title { margin: 0 0 32px; font-size: 36px; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.projects-intro__description { margin: 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; }
.projects-featured__image { position: relative; grid-column: 3; grid-row: 1 / 3; align-self: start; aspect-ratio: 1; background-color: #e9e9e5; background-size: cover; background-position: center; background-repeat: no-repeat; }
.projects-featured__caption { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; max-width: 100%; font-size: 18px; line-height: 1.5; text-align: right; text-transform: uppercase; overflow-wrap: anywhere; }
.site-content > .projects-collection { padding: 84px var(--page-gutter) 0; }
.projects-collection__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 32px; }
.projects-card { min-width: 0; }
.projects-card__link { display: block; }
.projects-card__image { position: relative; aspect-ratio: 1; overflow: hidden; background-color: #e9e9e5; background-size: cover; background-position: center; background-repeat: no-repeat; }
.projects-card__image::after, .projects-featured__image::after { position: absolute; inset: 0; content: ""; background: #fff; opacity: 0; transition: opacity 300ms ease; }
.projects-card__link:hover .projects-card__image::after, .projects-card__link:focus-visible .projects-card__image::after, .projects-featured__image:hover::after { opacity: .12; }
.projects-card__name { margin: 20px 0 0; font-size: 18px; font-weight: 400; line-height: 1.5; text-transform: uppercase; overflow-wrap: anywhere; }
.projects-collection__empty { grid-column: 1 / -1; margin: 0; color: var(--color-muted); }
.project-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; width: min(100%, 900px); margin: 84px auto 0; padding-top: 24px; border-top: 1px solid var(--color-line); font-size: 14px; font-weight: 500; line-height: 1.5; text-transform: uppercase; }
.project-navigation__link { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color 180ms ease; }
.project-navigation__link:last-child { justify-self: end; }
.project-navigation__link:hover { text-decoration-color: currentColor; }
.project-navigation__link.is-disabled { opacity: .3; text-decoration: none; }
.project-navigation__current { text-align: center; white-space: nowrap; }
.projects-collection__edit { display: block; width: fit-content; margin: 24px auto 0; color: var(--color-muted); font-size: 12px; text-decoration: underline; }

@media (max-width: 991px) {
    .projects-intro__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .projects-intro__copy { grid-column: 1; }
    .projects-featured__image { grid-column: 2; }
    .projects-featured__caption { grid-column: 1; }
    .projects-collection__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .site-content > .projects-intro { padding-top: 12px; }
    .projects-intro__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 24px; }
    .projects-intro__copy { grid-column: 1; grid-row: auto; }
    .projects-intro__title { font-size: 30px; margin-bottom: 24px; }
    .projects-intro__description br { display: none; }
    .projects-featured__image { grid-column: 1; grid-row: auto; margin-top: 12px; }
    .projects-featured__caption { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; font-size: 16px; margin-top: -8px; }
    .site-content > .projects-collection { padding-top: 48px; }
    .projects-collection__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .projects-card__name { font-size: 16px; margin-top: 16px; }
    .project-navigation { margin-top: 48px; gap: 12px; font-size: 12px; }
}


.projects---collection-location { display: block; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-transform: none; }

/* Project detail — text-only introduction and one rich-content section. */
.site-content > .project---hero---section { padding: 20px var(--page-gutter) 0; }
.project---hero---div { display: flex; flex-direction: column; align-items: flex-start; width: 70vw; max-width: 1176px; margin: 0 auto; }
.project---title { margin: 0 0 12px; font-size: 36px; font-weight: 400; line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; }
.project---location { margin: 0; font-size: 21px; font-weight: 400; line-height: 1.4; }
.site-content > .project---content---section { padding: 72px var(--page-gutter) 0; }
.project-richtext { width: 70vw; max-width: 1176px; margin: 0 auto; font-family: var(--font-body); font-size: 16px; font-weight: 300; line-height: 1.5; text-align: justify; overflow-wrap: anywhere; }
.project---content---desktop { display: block; }
.project---content---mobile { display: none; }
.project-richtext :where(p, div, span, font, li, td) { font-family: var(--font-body) !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; text-align: justify !important; }
.project-richtext :where(b, strong) { font-family: inherit !important; font-size: inherit !important; font-weight: 500 !important; }
.project-richtext :where(h2, h3, h4) { margin: 40px 0 20px; font-size: 16px; font-weight: 500; line-height: 1.5; text-transform: uppercase; }
.project-richtext p { margin: 0 0 24px; }
.project-richtext a { text-decoration: underline; text-underline-offset: 4px; }
.project-richtext img {
    display: block !important;
    float: none !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 40px auto !important;
    object-fit: contain;
}
.project-richtext figure { float: none !important; max-width: 100% !important; margin: 40px auto !important; }
.project-richtext figure img { margin-block: 0 !important; }
.project-richtext figcaption { margin-top: 12px; color: var(--color-muted); font-size: 13px; text-align: center; }
.project-richtext table { display: block; max-width: 100%; overflow-x: auto; }
.project-richtext > :first-child { margin-top: 0; }
.project-richtext > :last-child { margin-bottom: 0; }
.project---navigation { width: 70vw; max-width: 1176px; }
.project---navigation .project-navigation__all { justify-self: center; }
.project-detail__edit { display: block; width: fit-content; margin: 28px auto 0; color: var(--color-muted); font-size: 12px; text-decoration: underline; }

@media (max-width: 767px) {
    .site-content > .project---hero---section { padding-top: 12px; }
    .project---title { font-size: 30px; }
    .project---location { font-size: 18px; }
    .site-content > .project---content---section { padding-top: 40px; }
    .project---content---desktop { display: none; }
    .project---content---mobile { display: block; }
    .project---hero---div, .project-richtext, .project---navigation { width: 100%; }
    .project-richtext { font-size: 16px; }
    .project-richtext img, .project-richtext figure { margin-block: 28px !important; }
    .project-richtext figure img { margin-block: 0 !important; }
}

/* About — opening message, alternating values, snapshot and studio information. */
.about-page { padding-inline: var(--page-gutter); }
.about-page .hero---section { padding: 20px 0 0; }
.about-page .hero---grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 32px; }
.about-hero__copy { grid-column: 1 / 3; min-width: 0; max-width: 70ch; }
.about-page .hero---title { margin: 0 0 32px; font-size: 36px; font-weight: 400; line-height: 1.2; }
.about-hero__image { grid-column: 3; }
.about-hero__image img { width: 100%; height: auto; }
.about-richtext { font-size: 18px; font-weight: 300; line-height: 1.5; overflow-wrap: anywhere; }
.about-richtext :where(p, div, span, font, li) { font-family: var(--font-body) !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background: transparent !important; }
.about-richtext :where(b, strong) { font-weight: 500; }
.about-richtext p { margin: 0 0 18px; }
.about-richtext > :last-child { margin-bottom: 0; }
.about-richtext img { display: block; max-width: 100%; height: auto !important; margin-inline: auto; }
.about-richtext a { text-decoration: underline; text-underline-offset: 4px; }
.about-richtext table { display: block; max-width: 100%; overflow-x: auto; }
.about-edit { display: block; width: fit-content; margin-top: 18px; color: var(--color-muted); font-size: 12px; text-decoration: underline; }
.about-page .about---section { padding-top: 84px; }
.about-page .about---top-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 32px; width: 100%; max-width: 1800px; margin: 0 auto 160px; }
.about-page .about---text---div { grid-column: 2 / 4; grid-row: 1; justify-self: center; width: 100%; max-width: 52ch; min-width: 0; }
.about-page .about---image---div { grid-column: 1; grid-row: 1; }
.about-page .about---image---div img { width: 100%; height: auto; }
.about-page .about---top-grid--reverse .about---text---div { grid-column: 1 / 3; }
.about-page .about---top-grid--reverse .about---image---div { grid-column: 3; }
.about-value__title { margin: 0 0 24px; font-size: 21px; font-weight: 400; line-height: 1.4; }
.about-page .about---top-grid--statement { grid-template-columns: minmax(0, 1fr); width: min(100%, 60vw, 900px); margin-inline: auto; }
.about-page .about---top-grid--statement .about---text---div { grid-column: 1; max-width: none; }
.about-page .about---grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 32px 84px; width: min(100%, 1180px); margin: 40px auto 100px; }
.about-page .about---heading { grid-column: 1 / -1; margin: 0 0 12px; font-size: 32px; font-weight: 400; line-height: 1.2; }
.about-snapshot { min-width: 0; }
.about-snapshot .image---bio { width: 100%; height: auto; margin-bottom: 24px; }
.about-studio__column { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.about-studio__title { margin: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 1.5; text-transform: uppercase; }
.about-page .faq---div { font-size: 16px; font-weight: 300; line-height: 1.5; }
.about-page .faq---div p { margin: 0; }
.about-page .faq---div a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 991px) {
    .about-page .hero---grid { grid-template-columns: 1.4fr 1fr; }
    .about-hero__copy { grid-column: 1; }
    .about-hero__image { grid-column: 2; }
    .about-page .about---top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-page .about---text---div { grid-column: 2; }
    .about-page .about---top-grid--reverse .about---text---div { grid-column: 1; }
    .about-page .about---top-grid--reverse .about---image---div { grid-column: 2; }
    .about-page .about---grid { gap: 32px 40px; }
}

@media (max-width: 767px) {
    .about-page .hero---section { padding-top: 12px; }
    .about-page .hero---grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .about-hero__copy, .about-hero__image { grid-column: 1; }
    .about-page .hero---title { font-size: 30px; margin-bottom: 24px; }
    .about-richtext { font-size: 16px; }
    .about-page .about---section { padding-top: 56px; }
    .about-page .about---top-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 64px; }
    .about-page .about---top-grid .about---image---div { grid-column: 1; grid-row: 1; }
    .about-page .about---top-grid .about---text---div { grid-column: 1; grid-row: 2; max-width: none; }
    .about-value__title { font-size: 18px; margin-bottom: 20px; }
    .about-page .about---top-grid--statement { width: 100%; }
    .about-page .about---top-grid--statement .about---text---div { grid-row: 1; }
    .about-page .about---grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 0 auto 64px; }
    .about-page .about---heading { font-size: 26px; margin-bottom: 0; }
    .about-studio__column { gap: 28px; }
}

/* Customer quotation; body and attribution share the existing quote context. */
.about-page .about-testimonial { position: relative; margin: 0 0 18px; padding: 0 20px; border: 0; font-size: 18px; font-weight: 300; font-style: italic; line-height: 1.5; }
.about-page .about-testimonial :where(div, p, span, font, b, strong, em) { font-style: italic !important; }
.about-page .about-testimonial::before { position: absolute; left: 0; top: -3px; content: "“"; font-size: 26px; line-height: 1; }
.about-page .about-testimonial::after { position: absolute; right: 0; bottom: -3px; content: "”"; font-size: 26px; line-height: 1; }
.about-page .about-client { margin: 0; padding-left: 20px; font-size: 14px; font-weight: 500; font-style: normal; line-height: 1.5; }
@media (max-width: 767px) { .about-page .about-testimonial { font-size: 16px; } }

/* Contact — centered copy, square map and small company address. */
.site-content:has(> .contact-page) { display: flex; align-items: center; }
.site-content > .contact-page { width: 100%; padding: 20px var(--page-gutter) 40px; }
.contact-page__grid { display: grid; grid-template-columns: 1.333fr 1fr; grid-template-rows: 1fr auto; gap: 24px 32px; width: 100%; max-width: 1800px; margin: 0 auto; }
.contact-page .contact---div { grid-column: 1; grid-row: 1; align-self: center; min-width: 0; padding: 32px 0; text-align: center; }
.contact-richtext { font-size: 24px; font-weight: 300; line-height: 1.5; overflow-wrap: anywhere; }
.contact-richtext :where(p, div, span, font) { font-family: var(--font-body) !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background: transparent !important; text-align: center !important; }
.contact-richtext > :first-child { font-size: clamp(24px, 2.8vw, 36px) !important; }
.contact-richtext p { margin: 0 0 18px; }
.contact-richtext > :last-child { margin-bottom: 0; }
.contact-richtext :where(h2, h3) { font-size: 24px; font-weight: 300; line-height: 1.5; }
.contact-richtext a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color 180ms ease; }
.contact-richtext a:hover { text-decoration-color: currentColor; }
.contact-richtext img { max-width: 100%; height: auto; margin-inline: auto; }
.contact-map { position: relative; grid-column: 2; grid-row: 1 / 3; align-self: start; aspect-ratio: 1; min-width: 0; overflow: hidden; background: #e9e9e5; }
.contact-map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.contact-page .contact---address { grid-column: 1; grid-row: 2; align-self: end; margin: 0; font-size: 12px; font-style: normal; font-weight: 400; line-height: 1.5; text-align: right; overflow-wrap: anywhere; }
.contact---address strong { font-weight: 600; }
.contact---address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-page__edit { display: inline-block; margin-top: 20px; color: var(--color-muted); font-size: 12px; text-decoration: underline; }

/* Services use the same three-column square card layout as Projects. */
.site-content > .services-page { padding: 20px var(--page-gutter) 0; }
.services-page__inner { width: 100%; max-width: 1800px; margin-inline: auto; }
.services-page__title { margin: 0 0 32px; font-size: 36px; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.services-page__description { max-width: 70ch; margin: 0 0 84px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 32px; }
@media (min-width: 768px) and (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.services-grid__empty { grid-column: 1 / -1; margin: 0; color: var(--color-muted); }
@media (max-width: 767px) {
    .site-content > .services-page { padding-top: 12px; }
    .services-page__title { font-size: 30px; margin-bottom: 24px; }
    .services-page__description { margin-bottom: 48px; }
    .services-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 767px) {
    .site-content > .contact-page { padding-top: 12px; }
    .contact-page__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 32px; }
    .contact-page .contact---div { grid-column: 1; grid-row: 1; padding: 20px 0; }
    .contact-richtext { font-size: 20px; }
    .contact-richtext > :first-child { font-size: 26px !important; }
    .contact-map { grid-column: 1; grid-row: 2; }
    .contact-page .contact---address { grid-column: 1; grid-row: 3; text-align: center; }
}
