/* Base */
:root{
    --gold:#c88b2a;
    --burgundy:#8e1e2c;
    --ink:#141414;
    --serif:"Zen Old Mincho", "Noto Serif", "Noto Serif Armenian", Georgia, "Times New Roman", Times, serif;
    --sans:"Zen Old Mincho", "Noto Serif", "Noto Serif Armenian", Georgia, "Times New Roman", Times, serif;
    --gallery-meta-size:16px;
    --gallery-meta-line-height:1.5;
    --gallery-meta-weight:800;
    --gallery-meta-font-en:"Noto Serif Armenian", "Noto Serif", Georgia, serif;
    --gallery-meta-font-ru:"Noto Serif", Georgia, serif;
    --gallery-meta-font-hy:"Noto Serif Armenian", Georgia, serif;
    --text-base: 16px;
    --text-ui: 14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:var(--sans);
    font-size: var(--text-base);
    line-height: 1.65;
}
a{color:inherit;text-decoration:none}

/* Header */
.site-header{
    height:95px;
    width:100%;
    background:#f7f5ef;
    position:relative;
    z-index:50;
}
.header-inner{
    max-width:1700px;
    height:95px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 56px 0 56px;
}
.brand{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:110px;
    padding-left:6px;
}
.brand-mark{
    width:65px;
    height:auto;
}

.primary-nav{
    flex:1;
    display:flex;
    justify-content:center;
    min-width:0;
}
.nav-list{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
    margin:0;
    padding:0;
}
.nav-link{
    font-size: 16px;
    text-transform:uppercase;
    letter-spacing:0.22em;
    font-weight:300;
    line-height:1;
    color:#1c1c1c;
    transition:opacity .18s ease;
    white-space:nowrap;
}
.nav-link:hover{opacity:.68}

.lang-pill{
    width:32px;
    height:32px;
    border-radius:999px;
    background:var(--gold);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size: var(--text-ui);
    font-weight:500;
    letter-spacing:.08em;
    margin-left:20px;
    border:0;
    cursor:pointer;
}

/* Language dropdown */
.lang-switcher{
    position:relative;
    display:inline-flex;
    align-items:center;
}
.lang-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    min-width:88px;
    padding:10px;
    border-radius:14px;
    background:rgba(255,255,255,.98);
    border:1px solid rgba(200,139,42,.22);
    box-shadow:0 18px 50px rgba(20,20,20,.12);
    display:none;
    z-index:70;
}
.lang-switcher.is-open .lang-menu{display:block}
.lang-menu__item{
    display:flex;
    align-items:center;
    justify-content:center;
    height:34px;
    border-radius:10px;
    font-size: 16px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#1c1c1c;
    transition:background .18s ease, opacity .18s ease;
}
.lang-menu__item:hover{background:rgba(200,139,42,.12)}

/* =========================
   CONTACT PAGE
   ========================= */
.contact-page{
    position: relative;
    background: #f7f5ef;
    overflow: hidden;
    min-height: calc(100vh - 95px);
    --contact-hero-space: 260px;
}
.contact-page__bg{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--contact-hero-space);
    width: 100%;
    height: calc(100% - var(--contact-hero-space));
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.contact-page__line{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--contact-hero-space) - 6px);
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: none;
    z-index: 5;
    pointer-events: none;
    display: block;
    object-fit: cover;
    object-position: center;
}

.contact-hero{
    position: relative;
    z-index: 4;
    max-width: 980px;
    margin: 0 auto;
    padding: 68px 18px 54px;
    text-align: center;
}
.contact-hero__title{
    margin: 0;
    font-family: var(--serif);
    color: var(--gold);
    font-size: 78px;
    line-height: 1.03;
    font-weight: 500;
    letter-spacing: .01em;
}
.contact-hero__subtitle{
    margin: 16px auto 0;
    font-size: 18px;
    line-height: 1.65;
    color: #2a2a2a;
    font-weight: 300;
    letter-spacing: .02em;
}
.contact-page__inner{
    position: relative;
    z-index: 4;
    max-width: 1240px;
    margin: 0 auto;
    padding: calc(var(--contact-hero-space) + 92px) 20px 110px;
    display: flex;
    justify-content: center;
}
.contact-page__stroke{
    position:absolute;
    left:0;
    right:0;
    top: calc(var(--contact-hero-space) - 24px);
    height: 3px;
    background: rgba(255,255,255,.8);
    z-index: 3;
    pointer-events:none;
}
.contact-page__wave-top,
.contact-page__wave-bottom{
    position:absolute;
    left:0;
    width:100%;
    background:#f7f5ef;
    z-index: 2;
    pointer-events:none;
}
.contact-page__wave-top{
    top: calc(var(--contact-hero-space) - 14px);
    height: 78px;
    clip-path: polygon(
        0 0,
        0 70%,
        8% 48%,
        18% 36%,
        30% 46%,
        42% 68%,
        54% 78%,
        68% 76%,
        82% 66%,
        92% 40%,
        100% 0
    );
}
.contact-page__wave-bottom{
    bottom:0;
    height: 64px;
    clip-path: polygon(
        0 100%,
        0 26%,
        12% 10%,
        26% 18%,
        40% 8%,
        56% 18%,
        72% 10%,
        86% 18%,
        100% 0,
        100% 100%
    );
}

.contact-form{
    width: min(860px, 100%);
    padding: 36px 42px 32px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.51);
    box-sizing: border-box;
}
.contact-form__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 60px;
    align-items: end;
}
.contact-field{
    display:block;
}
.contact-field__label{
    display:block;
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: .02em;
    color: rgba(20,20,20,.68);
    margin-bottom: 8px;
}
.contact-field__input,
.contact-field__textarea{
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(20,20,20,.28);
    background: transparent;
    padding: 10px 0 8px;
    font-size: 16px;
    letter-spacing: .02em;
    color: rgba(20,20,20,.92);
    outline: none;
}
.contact-field__textarea{
    resize: none;
    min-height: 60px;
}
.contact-field__input:focus,
.contact-field__textarea:focus{
    border-bottom-color: rgba(200,139,42,.85);
}
.contact-field--message{
    grid-column: 1 / -1;
    margin-top: 14px;
}
.contact-form__actions{
    display:flex;
    justify-content:center;
    margin-top: 26px;
}
.contact-form__submit{
    height: 38px;
    padding: 0 26px;
    border-radius: 6px;
    border: 0;
    background: #8e1e2c;
    color: #fff;
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: capitalize;
    cursor: pointer;
    transition: transform .12s ease, opacity .12s ease;
}
.contact-form__submit:hover:not(:disabled){opacity:.92}
.contact-form__submit:active:not(:disabled){transform: translateY(1px)}
.contact-form__submit:disabled{
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.contact-form__notice{
    margin: 0 0 28px;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    letter-spacing: .02em;
    list-style: none;
    backdrop-filter: blur(6px) saturate(130%);
}
.contact-form__notice li{
    margin: 0;
}
.contact-form__notice li + li{
    margin-top: 6px;
}
.contact-form__notice--success{
    color: #1f4a2c;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(34, 120, 60, .28);
    box-shadow: 0 8px 24px rgba(20, 60, 35, .08);
}
.contact-form__notice--error{
    color: #5c1818;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(142, 30, 44, .25);
    box-shadow: 0 8px 24px rgba(80, 20, 20, .08);
}

@media (max-width: 768px){
    .contact-page{min-height: calc(100vh - 86px)}
    .contact-page{ --contact-hero-space: 210px; }
    .contact-hero{ padding: 54px 18px 44px; }
    .contact-hero__title{ font-size: 54px; }
    .contact-page__inner{padding: calc(var(--contact-hero-space) + 72px) 18px 86px}
    .contact-page__stroke{top: calc(var(--contact-hero-space) - 20px)}
    .contact-form{
        padding: 28px 22px 24px;
        border-radius: 26px;
    }
    .contact-form__grid{grid-template-columns: 1fr; gap: 22px}
    .contact-field--message{margin-top: 6px}
}

/* =========================
   HOME LAST CONTACT FORM
   ========================= */
.home-contact{
    position: relative;
    background: #e8e6e1;
    overflow: hidden;
    padding: 0 0 96px;
}
.home-contact__hero-wrap{
    position: relative;
    background: #f7f5ef;
    padding: 86px 0 40px;
}
.home-contact__hero-inner{
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-contact__wave{
    position:absolute;
    left:0;
    right:0;
    top: 150px;
    width:100%;
    height:120px;
    z-index: 1;
    pointer-events:none;
}
.home-contact__stroke{
    position:absolute;
    left:0;
    right:0;
    top: 150px;
    width:100%;
    height:120px;
    z-index: 3;
    pointer-events:none;
}
.home-contact__inner{
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #e8e6e1;
    border-top: 0;
}
.home-contact__hero{
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    padding-top: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}
.home-contact__title{
    margin:0;
    font-family: var(--serif);
    color: var(--gold);
    font-size: clamp(22px, 2.8vw + 0.85rem, 44px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.home-contact__subtitle{
    margin: 14px auto 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 300;
    color: #2a2a2a;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.contact-form--home{
    width: min(860px, 100%);
    padding: 0;
}

@media (max-width: 768px){
    .home-contact{ padding: 0 0 74px; }
    .home-contact__hero-wrap{ padding: 70px 0 34px; }
    .home-contact__hero-inner{ padding: 0 18px; }
    .home-contact__wave,
    .home-contact__stroke{ top: 118px; height: 96px; }
    .home-contact__inner{ padding: 92px 18px 0; }
}

/* Burger (hidden on desktop) */
.nav-toggle{
    display:none;
    width:44px;
    height:44px;
    border:0;
    background:transparent;
    padding:10px;
    border-radius:10px;
    margin-left:auto;
    margin-right:10px;
}
.nav-toggle:focus{outline:2px solid rgba(200,139,42,.35); outline-offset:3px;}
.nav-toggle-line{
    display:block;
    height:2px;
    width:100%;
    background:var(--gold);
    border-radius:2px;
}
.nav-toggle-line + .nav-toggle-line{margin-top:6px}

/* Hero */
.hero{
    background:#f7f5ef;
    height:auto;
    min-height:0;
    position:relative;
    overflow:hidden;
}
.hero-inner{
    max-width:1700px;
    margin:0 auto;
    padding:55px 24px 32px;
    text-align:center;
    box-sizing:border-box;
}
.hero-title{
    margin:0;
    font-family:var(--serif);
    color:var(--gold);
    font-size:92px;
    line-height:1.03;
    font-weight:500;
    letter-spacing:.01em;
}
.hero-subtitle{
    margin:20px auto 0 auto;
    font-size:18px;
    line-height:1.65;
    max-width:620px;
    color:#2a2a2a;
    font-weight:300;
    letter-spacing:.02em;
}

/* Home hero videos (editable from static_pages.home.hero.videos) */
.hero-videos{
    margin: 0;
    padding-top: 34px; /* keep spacing but avoid white gap (margin shows body bg) */
    background: #f7f5ef;
}

.hero-videos__inner{
    max-width: 1700px; /* match .gallery-inner width */
    margin: 0 auto;
    padding: 0 110px; /* match .gallery-inner padding */
}

.hero-videos__grid{
    --hero-videos-gap: 22px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--hero-videos-gap);
}

.hero-video{
    /* Same width as one column in the old 3-up grid; 1–2 videos stay centered */
    flex: 0 1 calc((100% - (2 * var(--hero-videos-gap))) / 3);
    max-width: calc((100% - (2 * var(--hero-videos-gap))) / 3);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(20,20,20,.08);
    background: #f7f5ef;
}

.hero-video video{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

/* =========================
   ABOUT PAGE HERO (static_pages.about.hero)
   ========================= */

.about-page-hero{
    position: relative;
    background: #f7f5ef;
    overflow: hidden;
}

.about-page-hero__top{
    position: relative;
    z-index: 3;
    padding: 54px 0 26px;
    background: #f7f5ef;
}

.about-page-hero__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.about-page-hero__title{
    margin: 0;
    font-family: var(--serif);
    color: var(--gold);
    font-size: clamp(44px, 6vw, 86px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: .01em;
}

.about-page-hero__subtitle{
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 300;
    color: #2a2a2a;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.about-page-hero__visual{
    position: relative;
    height: var(--gallery-hero-band-h, clamp(260px, min(55.56vw, 800px), 800px));
    background: #f7f5ef;
    overflow: hidden;
}

.about-page-hero__bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: .55; /* ensure transparency on all environments */
    filter: brightness(1.02);
    z-index: 1;
}

.about-page-hero__wave{
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(var(--gallery-hero-band-h, clamp(260px, min(55.56vw, 800px), 800px)) * 190 / 430);
    z-index: 2;
    pointer-events: none;
}

.about-page-hero__stroke{
    position: absolute;
    left: 0;
    top: calc(var(--gallery-hero-band-h, clamp(260px, min(55.56vw, 800px), 800px)) * 78 / 430);
    z-index: 3;
    width: 100%;
    height: calc(var(--gallery-hero-band-h, clamp(260px, min(55.56vw, 800px), 800px)) * 120 / 430);
    pointer-events: none;
}

@media (max-width:1200px){
    .about-page-hero__top{
        padding-top: 44px;
    }
}

@media (max-width:768px){
    .about-page-hero__top{
        padding: 34px 0 18px;
    }

    .about-page-hero__title{
        font-size: clamp(34px, 9vw, 54px);
    }
}

/* Wide desktop: fluid hero height + scaled wave/stroke; profile overlap tracks hero height */
@media (min-width: 1201px){
    .about-page-hero__visual{
        --aph-h: clamp(430px, calc(100vw * 800 / 1440), 800px);
        height: var(--aph-h);
    }

    .about-page-hero__wave{
        height: calc(var(--aph-h) * 190 / 430);
    }

    .about-page-hero__stroke{
        top: calc(var(--aph-h) * 78 / 430);
        height: calc(var(--aph-h) * 120 / 430);
    }
}

/* Ultrawide: align hero strip to viewport (fixes side gutter from vw/% scrollbar mismatch) */
@media (min-width: 1900px){
    .about-page-hero{
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-sizing: border-box;
    }

    .about-page-hero__bg{
        object-position: left center;
    }
}

/* About page profile block */
.about-page-profile{
    position: relative;
    background: #f7f5ef;
    padding: 0 0 92px;
}

.about-page-profile__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.about-page-profile__grid{
    display: grid;
    grid-template-columns: minmax(280px, 460px) 1fr;
    gap: 54px;
    align-items: start; /* portrait keeps natural height — no vertical crop vs text column */
}

.about-page-profile__media{
    min-width: 0;
}

.about-page-profile__image{
    width: 100%;
    margin-top: -160px; /* overlaps hero like in figma */
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.35);
    border: 1px solid rgba(20,20,20,.08);
    overflow: visible;
}

@media (min-width: 1201px){
    .about-page-profile__image{
        margin-top: calc(-160px - 0.42 * (clamp(430px, calc(100vw * 800 / 1440), 800px) - 430px));
    }
}

.about-page-profile__image img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: top center;
    aspect-ratio: auto;
}

.about-page-profile__line{
    display: block;
    width: 100%;
    height: auto;
    margin-top: 24px;
    /* keep the line within the same readable container width */
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.about-page-profile__card{
    padding: 26px 10px 18px;
    text-align: left;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-page-profile__name{
    margin: 0;
    font-family: var(--serif);
    color: var(--gold);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

.about-page-profile__text{
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    color: #2a2a2a;
    max-width: 100%;
}

.about-page-profile__text p{
    margin: 0 0 12px;
}

.about-page-profile__cols{
    position: relative;
    margin-top: 10px;
}

.about-page-profile__text--cols{
    column-gap: 0;
    column-rule: none;
}

.about-page-profile__bottom{
    margin-top: 26px;
}

.about-page-profile__text--bottom{
    max-width: 100%;
}

.about-page-profile__divider{
    height: 2px;
    width: 100%;
    background: rgba(200,139,42,.55);
    margin: 34px auto 0;
}

@media (max-width:768px){
    .about-page-profile__media{
        display: flex;
        justify-content: center;
    }

    .about-page-profile__image{
        width: min(68vw, 240px);
        max-width: 240px;
        margin-top: -72px;
        margin-left: auto;
        margin-right: auto;
        height: auto; /* show full image (no cropping) */
    }

    .about-page-profile__image img{
        height: auto;
        object-fit: contain; /* don't crop on mobile */
    }

    .about-page-profile__card{
        padding: 20px 16px 14px;
        margin-top: 0;
    }

    .about-page-profile__grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-page-profile__line{
        margin-top: 18px;
    }

    .about-page-profile__name{
        font-size: 22px;
    }

    .about-page-profile__text--cols{
        column-count: 1;
        column-rule: none;
    }
}

@media (max-width:480px){
    .about-page-profile__image{
        width: min(62vw, 200px);
        max-width: 200px;
        margin-top: -56px;
    }
}

/* About page video block (YouTube + 3 columns text) */
.about-page-video{
    position: relative;
    background: #f7f5ef;
    padding: 0 0 96px;
}

.about-page-video__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page-video__media{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    background: rgba(255,255,255,.35);
    overflow: hidden;
    border: 1px solid rgba(20,20,20,.08);
}

.about-page-video__iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.about-page-video__thumb{
    position: absolute;
    inset: 0;
    z-index: 2;
}

.about-page-video__thumb img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-page-video__play{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.9);
    box-shadow: 0 12px 22px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 3;
}

.about-page-video__play::before{
    content: '';
    position: absolute;
    left: 23px;
    top: 18px;
    width: 0;
    height: 0;
    border-left: 18px solid var(--gold);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.about-page-video__media.is-playing .about-page-video__thumb,
.about-page-video__media.is-playing .about-page-video__play{
    display: none;
}

.about-page-video__columns{
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.about-page-video__col{
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: #2a2a2a;
    position: relative;
}

.about-page-video__col p{
    margin: 0 0 12px;
}

.about-page-video__col:not(:last-child)::after{
    content: '';
    position: absolute;
    top: 0;
    right: -17px;
    width: 2px;
    height: 100%;
    background: rgba(200,139,42,.7);
}

@media (max-width:992px){
    .about-page-video{
        padding-bottom: 78px;
    }

    .about-page-video__media{
        aspect-ratio: 16 / 8;
    }

    .about-page-video__columns{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-page-video__col:not(:last-child)::after{
        display: none;
    }

    .about-page-video__col{
        border-bottom: 2px solid rgba(200,139,42,.6);
        padding-bottom: 14px;
    }

    .about-page-video__col:last-child{
        border-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width:480px){
    .about-page-video{
        padding-bottom: 58px;
    }

    .about-page-video__media{
        aspect-ratio: 16 / 10;
    }

    .about-page-video__play{
        width: 52px;
        height: 52px;
    }

    .about-page-video__play::before{
        left: 21px;
        top: 16px;
        border-left-width: 16px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }
}

/* About page feature block (title + 2 cols text + image + 2 cols text) */
.about-page-feature{
    position: relative;
    background: #f7f5ef;
    padding: 10px 0 96px;
}

.about-page-feature__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page-feature__title{
    margin: 0;
    font-family: var(--serif);
    color: var(--gold);
    font-size: 46px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.05;
}

.about-page-feature__top,
.about-page-feature__bottom{
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px;
}

.about-page-feature__text{
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: #2a2a2a;
}

.about-page-feature__text p{
    margin: 0 0 12px;
}

.about-page-feature__media{
    position: relative;
    margin-top: 26px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(20,20,20,.08);
    background: rgba(255,255,255,.35);
}

.about-page-feature__img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-page-feature__arrow{
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.about-page-feature__arrow span{ transform: translateX(1px); }

@media (max-width:1200px){
    .about-page-feature__title{ font-size: 40px; }
    .about-page-feature__top,
    .about-page-feature__bottom{ gap: 34px; }
}

@media (max-width:992px){
    .about-page-feature{
        padding-bottom: 78px;
    }

    .about-page-feature__title{
        font-size: 34px;
    }

    .about-page-feature__top,
    .about-page-feature__bottom{
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width:480px){
    .about-page-feature{
        padding-bottom: 58px;
    }

    .about-page-feature__title{
        font-size: 28px;
    }

    .about-page-feature__arrow{
        width: 44px;
        height: 44px;
        font-size: 20px;
        right: 12px;
    }
}

/* About page duo block (2 images + text, center divider) */
.about-page-duo{
    position: relative;
    background: #f7f5ef;
    padding: 0 0 110px;
}

.about-page-duo__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.about-page-duo__grid{
    display: grid;
    grid-template-columns: 0.92fr 1.08fr; /* left smaller, right bigger (like figma) */
    gap: 54px;
    align-items: start;
}

.about-page-duo__card{
    min-width: 0;
}

.about-page-duo__image{
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(20,20,20,.08);
    background: rgba(255,255,255,.35);
    /* default: keep a stable box size regardless of image */
    aspect-ratio: 4 / 3;
}

.about-page-duo__image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-page-duo__card:first-child .about-page-duo__image{
    /* left image always smaller (landscape-ish) */
    aspect-ratio: 723 / 520;
}

.about-page-duo__card:last-child .about-page-duo__image{
    /* right image always bigger (more square/tall) */
    aspect-ratio: 1026 / 1026;
}

.about-page-duo__content{
    margin-top: 14px;
}

.about-page-duo__title{
    margin: 0 0 10px;
    font-family: var(--serif);
    color: var(--gold);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.1;
}

.about-page-duo__text{
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: #2a2a2a;
}

.about-page-duo__text p{
    margin: 0 0 12px;
}

.about-page-duo__center-line{
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 2px;
    height: 140px;
    background: rgba(200,139,42,.35);
    margin: 54px auto 0;
}

@media (max-width:992px){
    .about-page-duo{
        padding-bottom: 78px;
    }

    .about-page-duo__grid{
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .about-page-duo__card:first-child .about-page-duo__image,
    .about-page-duo__card:last-child .about-page-duo__image{
        aspect-ratio: 4 / 3;
    }

    .about-page-duo__center-line{
        display: none;
    }
}

@media (max-width:480px){
    .about-page-duo{
        padding-bottom: 58px;
    }

    .about-page-duo__title{
        font-size: 18px;
    }
}

/* About page quad block (4 text blocks around center image) */
.about-page-quad{
    position: relative;
    background: #f7f5ef;
    padding: 0 0 120px;
}

.about-page-quad__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page-quad__grid{
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px) 1fr;
    gap: 54px;
    align-items: start;
}

.about-page-quad__side{
    display: grid;
    gap: 36px;
}

.about-page-quad__block{
    min-width: 0;
}

.about-page-quad__title{
    font-family: var(--serif);
    color: var(--gold);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.about-page-quad__text{
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: #2a2a2a;
}

.about-page-quad__text p{ margin: 0 0 12px; }
.about-page-quad__text ul{ margin: 0; padding-left: 18px; }
.about-page-quad__text li{ margin: 6px 0; }
.about-page-quad__text li::marker{ color: var(--gold); }

.about-page-quad__center{
    position: relative;
    overflow: hidden; /* keep decorative line inside center */
}

.about-page-quad__top-line{
    height: 2px;
    width: 100%;
    background: rgba(200,139,42,.28);
    margin: 0 0 22px;
    position: relative;
    z-index: 2;
}

.about-page-quad__image{
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(20,20,20,.08);
    background: rgba(255,255,255,.35);
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 2;
}

.about-page-quad__image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-page-quad__center-line{
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 2px;
    height: 220px; /* only upper/center area, never reaches side texts */
    background: rgba(200,139,42,.28);
    z-index: 1;
    pointer-events: none;
}

@media (max-width:1200px){
    .about-page-quad__grid{
        gap: 34px;
        grid-template-columns: 1fr minmax(260px, 460px) 1fr;
    }
}

@media (max-width:992px){
    .about-page-quad{
        padding-bottom: 78px;
    }

    .about-page-quad__grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-page-quad__center-line{
        display: none;
    }

    .about-page-quad__top-line{
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-page-quad__image{
        max-width: 520px;
        margin: 0 auto;
    }

    .about-page-quad__side{
        max-width: 720px;
        margin: 0 auto;
        gap: 18px;
    }
}

@media (max-width:480px){
    .about-page-quad{
        padding-bottom: 58px;
    }

    .about-page-quad__title{
        font-size: 16px;
    }
}

/* About page final block (2 text cols with grid lines background) */
.about-page-final{
    position: relative;
    background: #f7f5ef;
    padding: 0 0 120px;
    overflow: hidden;
}

.about-page-final::before{
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* decorative lines should stay out of text area */
    background:
        /* center vertical line only in upper area */
        linear-gradient(to bottom, rgba(200,139,42,.16), rgba(200,139,42,.16)) 50% 0 / 2px 340px no-repeat,
            /* short horizontals near upper thirds */
        linear-gradient(to right, rgba(200,139,42,.16), rgba(200,139,42,.16)) 0 220px / 28% 2px no-repeat,
        linear-gradient(to right, rgba(200,139,42,.16), rgba(200,139,42,.16)) 72% 220px / 28% 2px no-repeat,
            /* side verticals only upper area */
        linear-gradient(to bottom, rgba(200,139,42,.16), rgba(200,139,42,.16)) 20% 0 / 2px 260px no-repeat,
        linear-gradient(to bottom, rgba(200,139,42,.16), rgba(200,139,42,.16)) 80% 0 / 2px 260px no-repeat;
    opacity: .55;
}

.about-page-final__inner{
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page-final__image{
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 44px;
    overflow: hidden;
    border: 1px solid rgba(20,20,20,.08);
    background: rgba(255,255,255,.35);
}

.about-page-final__image img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-page-final__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: start;
}

/* push text slightly lower under the image (figma spacing) */
.about-page-final__image + .about-page-final__grid{
    margin-top: 10px;
}

.about-page-final__title{
    font-family: var(--serif);
    color: var(--gold);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.about-page-final__text{
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: #2a2a2a;
}

.about-page-final__text p{ margin: 0 0 12px; }
.about-page-final__text ul{ margin: 0; padding-left: 18px; }
.about-page-final__text li{ margin: 6px 0; }
.about-page-final__text li::marker{ color: var(--gold); }

@media (max-width:992px){
    .about-page-final{
        padding-bottom: 78px;
    }

    .about-page-final__grid{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-page-final__image{
        margin-bottom: 28px;
    }

    .about-page-final::before{
        background:
            linear-gradient(to bottom, rgba(200,139,42,.16), rgba(200,139,42,.16)) 50% 0 / 2px 240px no-repeat,
            linear-gradient(to right, rgba(200,139,42,.16), rgba(200,139,42,.16)) 0 170px / 100% 2px no-repeat;
    }
}

@media (max-width:480px){
    .about-page-final{
        padding-bottom: 58px;
    }

    .about-page-final__title{
        font-size: 16px;
    }
}

/* Wave separator */
.wave-wrap{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:140px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    pointer-events:none;
}
.wave{
    width:100%;
    height:120px;
}

/* About section */
.about{
    position: relative;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #f7f5ef;
    z-index: 1;
    margin-top: -8px; /* wave sits closer to hero text (Figma) */
    width: 100%;
    max-width: none;
}

/* Full-bleed photo: natural height (no top/bottom crop) */
#about.about .about-media{
    position: relative;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    margin: 110px 0 0;
    transform: translateX(-50%);
    overflow: visible;
    line-height: 0;
    z-index: 0;
    height: auto;
}

#about.about .line{
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    transform: translateX(-50%) rotate(-1deg);
    z-index: 9;
    display: block;
    pointer-events: none;
}

.line{
    position: absolute;
    top: 0;
    left: -1%;
    transform: rotate(-1deg);
    z-index: 9;
    width: 100%;
    display: block;
    pointer-events: none;
}

.about-bg{
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

img.about-bg.about-bg--photo,
.about-bg.about-bg--photo{
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.about-bg--video{
    position: absolute;
    top: 120px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    height: auto;
    min-height: calc(100% - 120px);
    display: block;
    object-fit: cover;
    object-position: center center;
}

#about.about:has(.about-bg--video){
    min-height: 1200px;
}

.about-content{
    position: absolute;
    left: 0;
    right: 0;
    top: 110px;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 46%) 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    pointer-events: none;
    box-sizing: border-box;
}

.about-card{
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    width: min(430px, 100%);
    max-width: min(430px, calc(46vw - 48px));
    margin: 0 0 0 clamp(24px, 6vw, 110px);
    padding: 0;
    color: #fff;
    pointer-events: auto;
    box-sizing: border-box;
}

@media (min-width: 993px) and (max-width: 1400px){
    .about-title{
        font-size: clamp(48px, 4.8vw, 64px);
    }

    .about-lead{
        font-size: clamp(20px, 2vw, 24px);
        max-width: 100%;
    }

    .about-lower,
    .about-list,
    .about-lead{
        max-width: 100%;
    }
}

@media (max-width: 1200px){
    .about-card{
        margin-left: clamp(24px, 5vw, 70px);
    }
}
.about-kicker{
    font-size:18px;
    letter-spacing:.22em;
    font-weight:300;
    text-transform:uppercase;
    opacity:.98;
}
.about-title{
    margin-top:14px;
    font-family:var(--serif);
    font-size:72px;
    line-height:1;
    font-weight:500;
    letter-spacing:.02em;
}
.about-lead{
    margin-top:18px;
    font-size:26px;
    line-height:1.22;
    font-weight:300;
    max-width:430px;
}
.about-list{
    margin:26px 0 0 0;
    padding:0 0 0 18px;
    font-size:18px;
    line-height:1.75;
    font-weight:300;
}
.about-list li{margin:6px 0}
.about-list li::marker{color:var(--gold)}

.about-lower{
    margin-top:20px;
    font-size: 16px;
    line-height:1.8;
    font-weight:300;
    max-width:360px;
    opacity:.98;
    letter-spacing:.01em;
}
.about-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:auto;
    min-width:140px;
    max-width:100%;
    height:auto;
    min-height:48px;
    padding:12px 24px;
    margin-top:30px;
    background:var(--burgundy);
    color:#fff;
    border-radius:6px;
    font-size:16px;
    font-weight:500;
    letter-spacing:.04em;
    line-height:1.25;
    text-align:center;
    text-transform:none;
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
    box-shadow:0 10px 24px rgba(0,0,0,.18);
    transition:transform .18s ease, filter .18s ease;
}
.about-btn:hover{transform:translateY(-1px); filter:brightness(1.05)}

/* Gallery section */
.gallery{
    position: relative;
    z-index: 2;
    background:#f7f5ef;
    padding:92px 0 88px 0;
}

/* Home exhibitions section (editable from static_pages.home.exhibitions_section) */
.home-exhibitions{
    position:relative;
    background:#f7f5ef;
    overflow:visible;
    padding: 22px 0 86px;
}

.home-exhibitions__bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    filter:grayscale(100%);
    opacity:.38;
    z-index:1;
}

.home-exhibitions__inner{
    position:relative;
    z-index:3;
    max-width:1440px;
    margin:0 auto;
    padding:0 56px;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    overflow:visible;
    overflow-wrap:anywhere;
}

.home-exhibitions__head{
    margin:0;
    overflow:visible;
}

.home-exhibitions__line{
    display:block;
    width:auto;
    max-width:min(1020px, calc(100% + 55px));
    height:auto;
    margin:0 0 82px -55px;
    pointer-events:none;
    object-fit:contain;
    object-position:left top;
}

.home-exhibitions__grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:80px;
    align-items:start;
}

.home-exhibitions__col{
    min-width:0;
}

.home-exhibitions__title{
    margin:0;
    font-family:var(--serif);
    color:var(--gold);
    font-size:clamp(24px, 3.2vw + 0.65rem, 44px);
    line-height:1;
    font-weight:500;
    letter-spacing:.04em;
    text-transform:uppercase;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.home-exhibitions__heading{
    font-size:22px;
    line-height:1.2;
    font-weight:400;
    color:#1f1f1f;
    max-width:520px;
}

.home-exhibitions__bullets{
    margin:18px 0 0;
    padding:0 0 0 18px;
    font-size: 16px;
    line-height:1.75;
    color:#1f1f1f;
}
.home-exhibitions__bullets li{ margin:6px 0; }

.home-exhibitions__copy{
    margin-top:18px;
    font-size: 16px;
    line-height:1.75;
    color:#1f1f1f;
    max-width:520px;
}

.home-exhibitions__copy--right{ margin-top: 64px; }

.home-exhibitions__cards{
    margin-top:54px;
    display:grid;
    grid-template-columns:1fr;
    gap:clamp(48px, 5vw, 72px);
    align-items:start;
}

.home-exhibitions-card{
    min-width:0;
}

.home-exhibitions-card__link{
    display:grid;
    grid-template-columns:minmax(260px, 42%) minmax(0, 1fr);
    gap:0;
    align-items:start;
    color:inherit;
    text-decoration:none;
}

.home-exhibitions-card__media{
    width:100%;
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(20,20,20,.08);
    background:rgba(255,255,255,.35);
    aspect-ratio: 520 / 720;
}

.home-exhibitions-card__media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

.home-exhibitions-card__meta{
    margin-top:0;
    min-width:0;
    text-align:left;
    padding:175px 0 0;
}

.home-exhibitions-card__line{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    margin:0 0 18px;
}

.home-exhibitions-card__title{
    font-family:var(--serif);
    color:var(--gold);
    font-size:clamp(20px, 2vw, 28px);
    line-height:1.15;
    font-weight:500;
    letter-spacing:.06em;
    text-transform:uppercase;
    padding-left:35px;
}

.home-exhibitions-card__desc{
    margin-top:12px;
    font-size: 16px;
    line-height:1.75;
    font-weight:300;
    color:#2a2a2a;
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding-left:35px;
    text-align:left;
}

.home-exhibitions-card__desc :is(p, li, div){
    text-align:left;
}

.home-exhibitions__footer{
    margin-top:26px;
    display:flex;
    justify-content:flex-end;
}

/* Кнопка по центру под карточками (или под текстом, если карточек нет) */
.home-exhibitions__footer--center{
    justify-content:center;
}

.home-exhibitions__footer--center .home-exhibitions__btn{
    margin-top:0;
}

.home-exhibitions__grid + .home-exhibitions__footer--center{
    margin-top:32px;
}

.home-exhibitions__cards + .home-exhibitions__footer--center{
    margin-top:48px;
}

.home-exhibitions__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:40px;
    padding:0 22px;
    margin-top:22px;
    background:var(--burgundy);
    color:#fff;
    border-radius:6px;
    font-size: 16px;
    text-decoration:none;
}

@media (max-width:1200px){
    .home-exhibitions__inner{ padding:0 40px; }
    .home-exhibitions__line{
        max-width:min(920px, calc(100% + 36px));
        margin:0 0 82px -36px;
    }
    .home-exhibitions__grid{ gap: 52px; }
    .home-exhibitions__cards{ gap: 34px; }
}

@media (max-width:992px){
    .home-exhibitions__inner{ padding:0 18px; }
    .home-exhibitions__line{
        max-width:min(720px, calc(100% + 20px));
        margin:0 0 82px -20px;
    }
    .home-exhibitions__grid{
        grid-template-columns:1fr;
        gap:26px;
    }
    .home-exhibitions__copy--right{ margin-top: 0; }
    .home-exhibitions__cards{
        gap:40px;
    }

    .home-exhibitions-card__link{
        grid-template-columns:1fr;
        gap:22px;
    }

    .home-exhibitions-card__meta{
        padding:0 4px;
        padding-top:0;
        text-align:left;
    }

    .home-exhibitions-card__title,
    .home-exhibitions-card__desc,
    .home-exhibitions-card__desc :is(p, li, div){
        padding-left:0;
        text-align:left;
    }

    .home-exhibitions-card__line{
        margin-left:0;
        margin-right:0;
    }

    .home-exhibitions__footer,
    .home-exhibitions__footer:not(.home-exhibitions__footer--center){
        justify-content:center;
    }
}
.gallery-inner{
    max-width:1700px;
    margin:0 auto;
    padding:0 110px;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    overflow-wrap:anywhere;
}
.gallery-head{
    display:block;
}
.gallery-title{
    margin:0;
    font-family:var(--serif);
    color:var(--gold);
    font-size:clamp(26px, 3.5vw + 0.75rem, 48px);
    font-weight:500;
    letter-spacing:.08em;
    text-transform:uppercase;
    line-height:1;
    margin-bottom:22px;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
}
.gallery-toptexts{
    display:grid;
    grid-template-columns: 1fr 1fr;
    column-gap:88px;
    row-gap:20px;
    padding-top:0;
}
.gallery-toptext{
    font-size: 16px;
    line-height:1.7;
    font-weight:300;
    letter-spacing:.02em;
    color:#2a2a2a;
    max-width:520px;
}

.gallery-grid{
    margin-top:54px;
    display:grid;
    grid-template-columns: 0.92fr 1.08fr;
    column-gap:60px;
    row-gap:64px;
    align-items:start;
}

/* Home gallery: each card is a GallerySection (thumbnail = first item image) */
.gallery-section-grid{
    margin-top:54px;
    display:grid;
    grid-template-columns: 0.92fr 1.08fr;
    column-gap:60px;
    row-gap:64px;
    align-items:start;
}

/* Home gallery: column masonry (original block proportions). DOM is reordered in JS on wide viewports so reading order is row-major (0|1 / 2|3). */
#gallery.gallery .gallery-section-grid{
    display:block;
    column-count:2;
    column-gap:60px;
}

#gallery.gallery .gallery-section-card{
    display:inline-block;
    width:100%;
    break-inside:avoid;
    margin:0 0 64px 0;
}

#gallery.gallery .gallery-section-card:nth-child(odd),
#gallery.gallery .gallery-section-card:nth-child(even){
    grid-column:auto;
}

.gallery-section-card{
    display:block;
    width:100%;
    min-width:0;
}

.gallery-section-card:nth-child(odd){ grid-column:1; }
.gallery-section-card:nth-child(even){ grid-column:2; }

.gallery-section-card-link{
    display:block;
    text-decoration:none;
    color:inherit;
}

.gallery-section-card-image{
    width:100%;
    min-width:0;
    overflow:hidden;
    border:0;
    outline:none;
    box-shadow:none;
    background:transparent;
    aspect-ratio: auto !important;
    height: auto !important;
    line-height:0;
}

.gallery-section-card-image img{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    display:block;
    object-fit:contain;
    object-position:center;
    margin:0;
}

/* Home gallery: natural image height, no fixed slot boxes */
#gallery.gallery .gallery-section-card-image,
#gallery.gallery .gallery-section-card:nth-child(n) .gallery-section-card-image{
    aspect-ratio:auto !important;
    height:auto !important;
}

/* Home collection: 1 big card + 1 small card (Figma-like) */
#collection.gallery .gallery-section-grid{
    grid-template-columns: 1.35fr 0.65fr;
    column-gap: 44px; /* tighter gap only in this block */
    grid-auto-rows: auto;
    align-items:start;
}

#collection.gallery .gallery-section-card{
    grid-column:auto;
    grid-row:auto;
}

#collection.gallery .gallery-section-card:nth-child(1){
    grid-column:1;
    grid-row:1;
}

#collection.gallery .gallery-section-card:nth-child(2){
    grid-column:2;
    grid-row:1;
}

/* If there are more sections than 2, stack them under */
#collection.gallery .gallery-section-card:nth-child(n+3){
    grid-column:1 / -1;
}

#collection.gallery .gallery-section-card:nth-child(1) .gallery-section-card-image{ aspect-ratio: 1026 / 746; }
#collection.gallery .gallery-section-card:nth-child(2) .gallery-section-card-image{ aspect-ratio: 723 / 604; }

@media (max-width: 992px){
    #collection.gallery .gallery-section-grid{
        grid-template-columns: 1fr 1fr;
    }

    #collection.gallery .gallery-section-card:nth-child(1){
        grid-row:auto;
    }
}

.gallery-section-card-meta{
    margin-top:12px;
    min-width:0;
    max-width:100%;
}

.gallery-section-card-title{
    display:block;
    max-width:100%;
    font-family:var(--serif);
    color:var(--gold);
    font-size:18px;
    line-height:1.15;
    font-weight:500;
    letter-spacing:.06em;
    text-transform:uppercase;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.gallery-section-card-desc{
    margin-top:6px;
    font-family:var(--serif);
    font-size: 16px;
    line-height:1.5;
    color:#2a2a2a;
    max-width:100%;
    min-width:0;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.gallery-section-card-desc:has(.gallery-section-card-desc-line){
    display:flex;
    flex-direction:column;
    gap:4px;
}

.gallery-section-card-desc-line{
    margin:0;
    padding:0;
    font-size:var(--gallery-meta-size);
    line-height:var(--gallery-meta-line-height);
    font-family:var(--gallery-meta-font-en);
    font-weight:var(--gallery-meta-weight);
    font-synthesis:none;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
}

.gallery-section-card-desc-line :is(p, div, span, li, h1, h2, h3, h4, h5, h6, strong, b, em, i){
    margin:0;
    padding:0;
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
    line-height:inherit;
    font-style:inherit;
    letter-spacing:inherit;
    color:inherit;
}

html[lang="ru"] .gallery-section-card-desc-line,
html[lang="ru"] .gallery-section-card-desc-line :is(p, div, span, li, h1, h2, h3, h4, h5, h6, strong, b, em, i){
    font-family:var(--gallery-meta-font-ru);
    font-weight:900;
}

html[lang="hy"] .gallery-section-card-desc-line,
html[lang="am"] .gallery-section-card-desc-line,
html[lang="hy"] .gallery-section-card-desc-line :is(p, div, span, li, h1, h2, h3, h4, h5, h6, strong, b, em, i),
html[lang="am"] .gallery-section-card-desc-line :is(p, div, span, li, h1, h2, h3, h4, h5, h6, strong, b, em, i){
    font-family:var(--gallery-meta-font-hy);
}

.gallery-card{
    display:block;
    width:100%;
    min-width:0;
}

.gallery-link{
    display:block;
    color:inherit;
}

.gallery-card:nth-child(odd){ grid-column:1; }
.gallery-card:nth-child(even){ grid-column:2; }

.gallery-image{
    width:100%;
    overflow:hidden;
    border:0;
    outline:none;
    box-shadow:none;
    background:transparent;
    aspect-ratio: auto !important;
    height: auto !important;
    line-height:0;
}

.gallery-image img{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    display:block;
    object-fit:contain;
    object-position:center;
    margin:0;
}

.gallery-meta{
    margin-top:12px;
}
.gallery-item-title{
    font-family:var(--serif);
    color:var(--gold);
    font-size:18px;
    line-height:1.15;
    font-weight:500;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.gallery-item-desc{
    margin-top:6px;
    font-size: 16px;
    line-height:1.7;
    font-weight:300;
    color:#2a2a2a;
    max-width:520px;
}

.gallery-item-desc strong,
.gallery-item-desc b{
    font-weight:600;
}
.gallery-footer{
    margin-top:18px;
    display:flex;
    justify-content:flex-end;
}
.gallery-more{
    display:flex;
    align-items:center;
    gap:12px;
    color:#6a5a3d;
    font-size: 16px;
    letter-spacing:.02em;
    font-weight:300;
    user-select:none;
}
.gallery-more-text{
    text-transform:lowercase;
}
.gallery-more-btn{
    width:34px;
    height:34px;
    border-radius:999px;
    background:var(--gold);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

/* 1200px: reduce fonts */
@media (max-width:1200px){
    .header-inner{padding:0 34px}
    .nav-list{gap:34px}
    .nav-link{letter-spacing:.18em}

    .hero{height:auto; min-height:0}
    .hero-inner{padding-bottom:28px}
    .hero-title{font-size:72px}
    .hero-subtitle{max-width:560px}

    .about-card{
        width: min(420px, calc(100% - 48px));
    }
    .about-title{font-size:60px}
    .about-lead{font-size:22px}

    .gallery{padding:78px 0 72px 0}
    .gallery-inner{padding:0 70px}
    .hero-videos__inner{ padding: 0 70px; }
    .gallery-head{grid-template-columns: 220px 1fr; column-gap:48px}
    .gallery-toptexts{column-gap:56px}
    .gallery-grid{
        grid-template-columns: 1fr;
        column-gap:0;
        row-gap:46px;
        justify-content:stretch;
    }
    .gallery-section-grid{
        grid-template-columns: 1fr;
        column-gap:0;
        row-gap:46px;
        justify-content:stretch;
    }
    .gallery-card{grid-column:auto}
    .gallery-section-card{grid-column:auto}
    .gallery-image,
    .gallery-section-card-image,
    #gallery.gallery .gallery-section-card-image{
        width:100% !important;
        height:auto !important;
        aspect-ratio:auto !important;
    }

    .gallery-image img,
    .gallery-section-card-image img{
        width:100% !important;
        height:auto !important;
        object-fit:contain !important;
    }

    /* Single column: natural sort order (script restores DOM below 1201px) */
    #gallery.gallery .gallery-section-grid{
        column-count:1;
        column-gap:0;
    }
    #gallery.gallery .gallery-section-card{
        display:block;
        margin:0 0 46px 0;
    }
}

/* 992px: tighten header spacing */
@media (max-width:992px){
    .header-inner{padding:0 22px}
    .brand{width:96px}
    .primary-nav{justify-content:flex-end}
    .nav-list{gap:22px; flex-wrap:wrap; justify-content:flex-end}
    .lang-pill{margin-left:14px}
}

/* 768px: burger + stacked about */
@media (max-width:768px){
    .site-header{height:86px}
    .header-inner{height:86px; padding:0 18px}

    .primary-nav{display:none}
    .nav-toggle{display:inline-flex; flex-direction:column; justify-content:center}

    /* slide-over menu */
    .nav-open .primary-nav{
        display:block;
        position:fixed;
        top:86px;
        left:0;
        right:0;
        background:rgba(255,255,255,.98);
        backdrop-filter:saturate(180%) blur(10px);
        border-top:1px solid rgba(200,139,42,.22);
        padding:18px 0 26px 0;
        z-index:60;
        max-height:calc(100vh - 86px);
        overflow:auto;
    }
    .nav-open .nav-list{
        flex-direction:column;
        gap:18px;
        padding:0 18px;
    }
    .nav-open .nav-link{
        font-size: 16px;
        letter-spacing:.18em;
    }

    .hero{height:auto; min-height:0}
    .hero-inner{padding:38px 16px 24px}
    .hero-title{font-size:46px}
    .hero-subtitle{font-size: 16px; max-width:92%}

    .wave-wrap{height:110px}
    .wave{height:96px}

    .about{
        height:auto;
        min-height:0;
        padding:0 0 90px 0;
    }

    #about.about .about-media{
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        top: auto !important;
        bottom: auto !important;
        transform: none;
        height: auto;
        overflow: visible;
        display: block;
    }

    #about.about .line{
        left: 50% !important;
        right: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        transform: translateX(-50%) rotate(-1deg) !important;
    }

    #about.about .about-content{
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        display: block !important;
    }

    img.about-bg.about-bg--photo,
    .about-bg.about-bg--photo{
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: unset !important;
        object-position: unset !important;
    }

    .about-card{
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        width:min(430px, calc(100% - 36px));
        max-width: none;
        margin: 0 18px !important;
        padding-top:0;
        color: #2a2a2a;
    }

    .gallery{padding:56px 0 58px 0}
    .gallery-inner{padding:0 18px}
    .hero-videos__inner{ padding: 0 18px; }
    .gallery-head{
        grid-template-columns: 1fr;
        row-gap:18px;
    }
    .gallery-toptexts{
        grid-template-columns: 1fr;
        column-gap:0;
        row-gap:16px;
    }
    .gallery-grid{
        grid-template-columns: 1fr;
        column-gap:0;
        row-gap:34px;
        margin-top:34px;
    }
    .gallery-section-grid{
        grid-template-columns: 1fr;
        column-gap:0;
        row-gap:34px;
        margin-top:34px;
    }
    .gallery-card{margin-bottom:0}
    .gallery-footer{margin-top:6px}
}

/* 480px: compact header */
@media (max-width:480px){
    .site-header{height:78px}
    .header-inner{height:78px; padding:0 14px}
    .brand{width:86px}
    .nav-toggle{width:42px; height:42px; padding:9px}
    .lang-pill{width:28px; height:28px; font-size: var(--text-ui); margin-left:12px}

    .nav-open .primary-nav{top:78px; max-height:calc(100vh - 78px)}
}
.site-footer{
    background:#f7f5ef;
    position:relative;
    overflow:hidden;
}

.site-footer__top-line{
    height:4px;
    background:#9f2f34;
    width:100%;
}

.site-footer__inner{
    max-width:1440px;
    margin:0 auto;
    padding:0 40px;
}

.site-footer__top{
    padding:22px 0 18px;
}

.site-footer__top svg{
    display:block;
    width:100%;
    height:auto;
}

.site-footer__top .site-footer__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.site-footer__logo{
    width:118px;
    height:auto;
    display:block;
}

.site-footer__top-text{
    font-size: 16px;
    line-height:1.6;
    color:#9b928d;
    text-align:right;
    max-width:720px;
}

.site-footer__middle{
    padding:28px 0 26px;
}

.site-footer__middle .site-footer__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.site-footer__nav{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:18px 22px;
}

.site-footer__nav-link{
    text-decoration:none;
    color:#8e8a85;
    font-size: 16px;
    line-height:1.4;
    text-transform:uppercase;
    transition:.2s ease;
}

.site-footer__nav-link:hover{
    color:#9f2f34;
}

.site-footer__socials{
    display:flex;
    align-items:center;
    gap:16px;
}

.site-footer__social{
    width:28px;
    height:28px;
    border-radius:50%;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 16px;
    line-height:1;
    text-transform:uppercase;
}

.site-footer__pattern{
    height: 60px;
    background-image: url("/assets/images/footer-line-img.png");
    background-repeat: repeat-x;
    background-size: auto 60px;
}

.home-articles{
    font-family: 'Zen Old Mincho', serif;
    position: relative;
    background: #dcc895;
    padding: 70px 0 40px;
    overflow: hidden;
}

.home-articles::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 74px;
    background: #f7f5ef;
    clip-path: polygon(
        0 0,
        0 40%,
        8% 18%,
        18% 8%,
        30% 18%,
        42% 44%,
        54% 62%,
        68% 64%,
        82% 58%,
        92% 26%,
        100% 0
    );
    z-index: 1;
}

.home-articles::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: #f7f5ef;
    clip-path: polygon(
        0 100%,
        0 34%,
        12% 16%,
        26% 26%,
        40% 12%,
        56% 26%,
        72% 14%,
        86% 24%,
        100% 0,
        100% 100%
    );
    z-index: 1;
}

.home-articles-inner{
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-articles-head{
    margin-bottom: 56px;
}

.home-articles-title{
    margin: 0 0 20px;
    color: #d2912c;
    font-size: clamp(24px, 4vw + 0.75rem, 52px);
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-articles-toptexts{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.home-articles-toptext{
    color: #2f2418;
    font-size: 16px;
    line-height: 1.55;
    max-width: 100%;
}

.home-articles-stage{
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 250px;
    gap: 40px;
    align-items: end;
}

.home-articles-side-card{
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    align-items: end;
    min-height: 330px;
}

.home-articles-side-image-wrap{
    position:relative;
    width:62px;
    height:304px;
    overflow:hidden;
    flex-shrink:0;
}

.home-articles-side-image-wrap::after{
    content: "";
    position: absolute;
    right: -12px;
    top: 22px;
    width: 3px;
    height: 230px;
    background: #d2912c;
}

.home-articles-side-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.home-articles-side-content{
    padding-bottom: 8px;
}

.home-articles-main-card{
    width:100%;
    max-width:620px;
    aspect-ratio:620 / 540;
    margin:0 auto;
    overflow:hidden;
}

.home-articles-main-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.home-articles-right-card{
    align-self: end;
    padding-bottom: 14px;
    position: relative;
}

.home-articles-right-card::before{
    content: "";
    position: absolute;
    left: -18px;
    top: 10px;
    width: 3px;
    height: 220px;
    background: #d2912c;
}

.home-articles-right-card::after{
    content: "";
    position: absolute;
    left: -18px;
    bottom: -10px;
    width: 190px;
    height: 1px;
    background: #d2912c;
}

.home-articles-card-title{
    margin: 0 0 12px;
    color: #d2912c;
    font-size: 34px;
    line-height: 1;
    text-transform: uppercase;
}

.home-articles-card-text{
    color: #2f2418;
    font-size: 16px;
    line-height: 1.55;
}

.home-articles-footer{
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

.home-articles-more{
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.home-articles-more-text{
    color: #d2912c;
    font-size: 36px;
    line-height: 1;
    text-transform: lowercase;
}

.home-articles-more-btn{
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #d2912c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 1200px){
    .home-articles-inner{
        padding: 0 32px;
    }

    .home-articles-stage{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-articles-side-card{
        min-height: auto;
        grid-template-columns: 90px 1fr;
    }

    .home-articles-main-image{
        max-width: 100%;
    }

    .home-articles-right-card::before,
    .home-articles-right-card::after{
        display: none;
    }

    .home-articles-toptexts{
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px){
    .home-articles{
        padding: 48px 0 32px;
    }

    .home-articles-inner{
        padding: 0 18px;
    }

    .home-articles-card-title{
        font-size: 22px;
    }

    .home-articles-more-text{
        font-size: 24px;
    }

    .home-articles-more-btn{
        width: 42px;
        height: 42px;
    }
}
@media (max-width: 992px){
    .site-footer__top .site-footer__inner,
    .site-footer__middle .site-footer__inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .site-footer__top-text{
        text-align:left;
    }

    .site-footer__socials{
        margin-top:6px;
    }
}

@media (max-width: 768px){
    .site-footer__inner{
        padding:0 18px;
    }

    .site-footer__nav{
        gap:12px 16px;
    }

    .site-footer__nav-link{
        font-size: 16px;
    }

    .site-footer__top-text{
        font-size: 16px;
    }

    .site-footer__pattern{
        height:80px;
        background-size:auto 80px;
    }
}

@media (max-width: 480px){
    .site-footer__top{padding:18px 0 14px}
    .site-footer__middle{padding:20px 0 18px}
    .site-footer__nav{gap:10px 14px}
    .site-footer__socials{gap:12px; flex-wrap:wrap}
    .site-footer__pattern{height:60px; background-size:auto 60px}
}

/* =========================================================
   PROFESSIONAL RESPONSIVE MEDIA OVERRIDES
   Only responsive fixes. Desktop/base styles above are untouched.
   ========================================================= */

img, svg, video, iframe{
    max-width: 100%;
}

@media (max-width: 1700px){
    .header-inner,
    .hero-inner,
    .gallery-inner,
    .hero-videos__inner{
        max-width: 1440px;
    }

    .gallery-inner{
        padding-left: 80px;
        padding-right: 80px;
    }

    .hero-videos__inner{
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (max-width: 1440px){
    .header-inner{
        padding-left: 42px;
        padding-right: 42px;
    }

    .nav-list{
        gap: 32px;
    }

    .nav-link{
        letter-spacing: .18em;
    }

    .hero-title{
        font-size: 82px;
    }

    .about-card{
        margin-left: 82px;
    }

    .gallery-inner{
        padding-left: 72px;
        padding-right: 72px;
    }

    .hero-videos__inner{
        padding-left: 72px;
        padding-right: 72px;
    }

    .gallery-section-grid,
    .gallery-grid{
        column-gap: 48px;
    }

    .home-articles-inner{
        padding-left: 64px;
        padding-right: 64px;
    }

    .home-articles-stage{
        grid-template-columns: 150px minmax(0, 1fr) 230px;
        gap: 34px;
    }
}

@media (max-width: 1366px){
    .hero{
        height: auto;
        min-height: 0;
    }

    .hero-title{
        font-size: 76px;
    }

    .about-card{
        margin-left: 68px;
    }

    .about-title{
        font-size: 64px;
    }

    .about-lead{
        font-size: 23px;
    }

    .home-exhibitions__inner{
        padding-left: 52px;
        padding-right: 52px;
    }
}

@media (max-width: 1280px){
    .header-inner{
        padding-left: 34px;
        padding-right: 34px;
    }

    .brand{
        width: 96px;
    }

    .nav-list{
        gap: 26px;
    }

    .nav-link{
        font-size: 16px;
        letter-spacing: .16em;
    }

    .hero-title{
        font-size: 70px;
    }

    .gallery-inner{
        padding-left: 56px;
        padding-right: 56px;
    }

    .hero-videos__inner{
        padding-left: 56px;
        padding-right: 56px;
    }

    .gallery-toptexts{
        column-gap: 48px;
    }

    .home-articles-inner{
        padding-left: 42px;
        padding-right: 42px;
    }

    .home-articles-stage{
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .home-articles-main-card{
        max-width: 720px;
    }

    .home-articles-side-card{
        min-height: auto;
        grid-template-columns: 90px 1fr;
        align-items: center;
    }

    .home-articles-right-card::before,
    .home-articles-right-card::after{
        display: none;
    }
}

@media (max-width: 1100px){
    .primary-nav{
        justify-content: flex-end;
    }

    .nav-list{
        gap: 18px;
    }

    .nav-link{
        font-size: 16px;
        letter-spacing: .13em;
    }

    .lang-pill{
        margin-left: 12px;
    }

}

@media (max-width: 992px){
    .site-header,
    .header-inner{
        height: 86px;
    }

    .brand-mark{
        width: 58px;
    }

    .primary-nav{
        display: none;
    }

    .nav-toggle{
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-open .primary-nav{
        display: block;
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: saturate(180%) blur(10px);
        border-top: 1px solid rgba(200,139,42,.22);
        padding: 18px 0 26px;
        z-index: 60;
        max-height: calc(100vh - 86px);
        overflow: auto;
    }

    .nav-open .nav-list{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        padding: 0 18px;
    }

    .nav-open .nav-link{
        font-size: 16px;
        letter-spacing: .18em;
    }

    .hero{
        height: auto;
        min-height: 0;
    }

    .hero-inner{
        width: 100%;
        padding: 46px 22px 28px;
    }

    .hero-title{
        font-size: clamp(46px, 8vw, 64px);
    }

    .hero-subtitle{
        max-width: 620px;
    }

    .about{
        position: relative;
        height: auto;
        min-height: 0;
        padding: 0 0 56px;
    }

    #about.about .about-media{
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0;
        overflow: visible;
        line-height: 0;
        transform: none;
        display: block;
        height: auto;
    }

    #about.about .line{
        left: 50% !important;
        right: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        transform: translateX(-50%) rotate(-1deg) !important;
        top: -3%;
    }

    #about.about .about-media{
        margin-top: 0;
    }

    img.about-bg.about-bg--photo,
    .about-bg.about-bg--photo{
        position: relative !important;
        inset: auto !important;
        display: block;
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: unset !important;
        object-position: unset !important;
    }

    .about-bg--video{
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        width: 100% !important;
        min-height: 0 !important;
        height: clamp(240px, 70vw, 380px) !important;
        object-fit: cover;
        object-position: center center;
    }

    #about.about:has(.about-bg--video){
        min-height: 0;
    }

    .about-content{
        position: relative;
        height: auto;
        min-height: 0;
        display: block;
        grid-template-columns: none;
        grid-template-rows: none;
    }

    .about-card{
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        width: auto;
        max-width: none;
        margin: 0 14px !important;
        padding-top: 0;
        color: #2a2a2a;
    }

    .about-title{
        font-size: 54px;
    }

    .about-lead{
        font-size: 20px;
    }

    .about-list{
        font-size: 16px;
        line-height: 1.65;
    }

    .about-lower{
        font-size: 16px;
    }

    .gallery{
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .gallery-inner{
        padding-left: 26px;
        padding-right: 26px;
    }

    .hero-videos__inner{
        padding-left: 26px;
        padding-right: 26px;
    }

    .gallery-toptexts{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-section-grid,
    .gallery-grid,
    #collection.gallery .gallery-section-grid{
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 38px;
    }

    /* Home collection: slightly tighter vertical spacing between its images */
    #collection.gallery .gallery-section-grid{
        gap: 24px;
    }

    .gallery-section-card,
    .gallery-card,
    .gallery-section-card:nth-child(odd),
    .gallery-section-card:nth-child(even),
    .gallery-card:nth-child(odd),
    .gallery-card:nth-child(even),
    #collection.gallery .gallery-section-card:nth-child(1),
    #collection.gallery .gallery-section-card:nth-child(2),
    #collection.gallery .gallery-section-card:nth-child(n+3){
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-section-card-image,
    .gallery-image,
    #collection.gallery .gallery-section-card:nth-child(1) .gallery-section-card-image,
    #collection.gallery .gallery-section-card:nth-child(2) .gallery-section-card-image{
        aspect-ratio: auto !important;
    }

    .home-exhibitions{
        padding-top: 18px;
        padding-bottom: 72px;
    }

    .home-exhibitions__line{
        max-width:min(640px, 100%);
        margin:0 0 82px 0;
    }

    .home-exhibitions__inner{
        padding-left: 26px;
        padding-right: 26px;
    }

    .home-exhibitions__grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-exhibitions__copy--right{
        margin-top: 0;
    }

    .home-articles-head{
        margin-bottom: 34px;
    }

    .home-articles-toptexts{
        grid-template-columns: 1fr;
    }

    .home-contact__inner,
    .contact-page__inner{
        max-width: 900px;
    }

    .contact-form__grid{
        gap: 26px 34px;
    }
}

@media (max-width: 768px){
    .header-inner{
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero{
        min-height: 0;
    }

    .hero-inner{
        padding: 38px 18px 24px;
    }

    .hero-title{
        font-size: clamp(40px, 10vw, 52px);
        line-height: 1.08;
    }

    .hero-subtitle{
        font-size: 16px;
        max-width: 92%;
    }

    .hero-videos{
        padding-top: 22px;
    }

    .hero-videos__grid{
        --hero-videos-gap: 14px;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: var(--hero-videos-gap);
    }

    .hero-video{
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }

    .about{
        min-height: 0;
        padding-top: 0;
        padding-bottom: 84px;
    }

    #about.about .about-media{
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        height: auto;
    }

    img.about-bg.about-bg--photo,
    .about-bg.about-bg--photo{
        height: auto !important;
        object-fit: unset !important;
    }

    .about-card{
        margin-left: 18px !important;
        margin-right: 18px;
        width: auto;
        max-width: none;
    }

    .about-btn{
        min-width: 0;
        min-height: 44px;
        padding: 10px 20px;
        max-width: 100%;
    }

    .about-kicker{
        font-size: 16px;
    }

    .about-title{
        font-size: 44px;
    }

    .about-lead{
        font-size: 18px;
    }

    .about-list{
        margin-top: 20px;
        font-size: 16px;
    }

    .gallery{
        padding-top: 54px;
        padding-bottom: 56px;
    }

    .gallery-inner{
        padding-left: 18px;
        padding-right: 18px;
    }

    .gallery-title,
    .home-exhibitions__title,
    .home-contact__title{
        line-height: 1.08;
    }

    .gallery-section-grid,
    .gallery-grid,
    #collection.gallery .gallery-section-grid{
        margin-top: 32px;
        gap: 30px;
    }

    /* Home collection: reduce whitespace between stacked images */
    #collection.gallery .gallery-section-grid{
        margin-top: 18px;
        gap: 16px;
    }

    .gallery-section-card-title,
    .gallery-item-title{
        font-size: 16px;
    }

    .gallery-footer{
        justify-content: flex-start;
        margin-top: 20px;
    }

    .home-exhibitions__inner{
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-exhibitions__line{
        max-width:min(520px, 100%);
        margin:0 0 82px 0;
    }

    .home-exhibitions__heading{
        font-size: 18px;
    }

    .home-articles-inner{
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-articles-stage{
        gap: 24px;
    }

    .home-articles-side-card{
        grid-template-columns: 76px 1fr;
        gap: 14px;
    }

    .home-articles-side-image-wrap{
        width: 76px;
        height: 220px;
    }

    .home-articles-main-card{
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }

    .contact-form,
    .contact-form--home{
        width: 100%;
    }

    .contact-form__grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 576px){
    .site-header,
    .header-inner{
        height: 80px;
    }

    .brand{
        width: 82px;
    }

    .brand-mark{
        width: 52px;
    }

    .nav-toggle{
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }

    .lang-pill{
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-left: 8px;
    }

    .nav-open .primary-nav{
        top: 80px;
        max-height: calc(100vh - 80px);
    }

    .hero{
        min-height: 330px;
    }

    .hero-inner{
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title{
        font-size: clamp(34px, 11vw, 44px);
    }

    .hero-subtitle{
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.6;
    }

    .about{
        min-height: 0;
        padding-top: 0;
        padding-bottom: 72px;
    }

    #about.about .line{
        left: 50% !important;
        right: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        transform: translateX(-50%) rotate(-1deg) !important;
    }

    img.about-bg.about-bg--photo,
    .about-bg.about-bg--photo{
        height: auto !important;
        object-fit: unset !important;
    }

    .about-card{
        width: auto;
        margin-left: 16px !important;
        margin-right: 16px;
    }

    .about-title{
        font-size: 38px;
    }

    .about-lead{
        font-size: 16px;
    }

    .about-list,
    .about-lower{
        font-size: 16px;
    }

    .gallery-title,
    .home-exhibitions__title,
    .home-contact__title{
        line-height: 1.08;
    }

    .gallery-toptext,
    .home-exhibitions__copy,
    .home-exhibitions__bullets,
    .home-articles-toptext,
    .home-articles-card-text{
        font-size: 16px;
    }

    /* <576px: keep natural image ratios */
    .gallery-section-card-image,
    .gallery-image,
    #collection.gallery .gallery-section-card:nth-child(1) .gallery-section-card-image,
    #collection.gallery .gallery-section-card:nth-child(2) .gallery-section-card-image{
        aspect-ratio: auto !important;
        height: auto !important;
    }

    .gallery-section-card-image img,
    .gallery-image img{
        height: auto !important;
        object-fit: contain !important;
    }

    .gallery-section-card-meta,
    .gallery-meta{
        margin-top: 6px;
    }

    .gallery-section-card-desc,
    .gallery-item-desc{
        margin-top: 4px;
    }

    .home-articles-side-card{
        grid-template-columns: 1fr;
    }

    .home-articles-side-image-wrap{
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .home-articles-side-image-wrap::after{
        display: none;
    }

    .home-contact__hero-wrap{
        padding-top: 58px;
    }

    .home-contact__inner{
        padding-top: 78px;
    }

}

@media (max-width: 430px){
    .hero{
        min-height: 0;
    }

    .hero-title{
        font-size: 36px;
    }

    .about{
        min-height: 590px;
    }

    .about-title{
        font-size: 34px;
    }

    .about-btn{
        min-height: 42px;
        padding: 10px 18px;
        font-size: 15px;
        letter-spacing: .02em;
    }

    .gallery,
    .home-articles{
        padding-top: 46px;
        padding-bottom: 48px;
    }

    .home-exhibitions{
        padding-top: 14px;
        padding-bottom: 48px;
    }

    .home-exhibitions__line{
        max-width:min(420px, 100%);
        margin:0 0 62px 0;
    }

    .gallery-title,
    .home-exhibitions__title,
    .home-contact__title,
    .home-articles-title{
        line-height: 1.05;
    }

    .home-articles-card-title{
        font-size: 20px;
    }

    .home-articles-more-text{
        font-size: 22px;
    }

    .contact-field__input,
    .contact-field__textarea{
        font-size: 16px;
    }
}

@media (max-width: 390px){
    .header-inner{
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-title{
        font-size: 33px;
    }

    .hero-subtitle{
        max-width: 100%;
    }

    .about-title{
        font-size: 31px;
    }

    .about-lead{
        font-size: 16px;
    }

    .gallery-inner,
    .home-exhibitions__inner,
    .home-articles-inner,
    .home-contact__hero-inner,
    .home-contact__inner{
        padding-left: 14px;
        padding-right: 14px;
    }

}

@media (max-width: 360px){
    .hero-title{
        font-size: 30px;
    }

    .hero-subtitle,
    .gallery-toptext,
    .about-lower,
    .home-exhibitions__copy,
    .home-articles-toptext,
    .home-articles-card-text{
        font-size: 16px;
    }

    .about-kicker{
        font-size: 16px;
    }

    .about-title{
        font-size: 29px;
    }

    .about-list{
        padding-left: 16px;
    }

    .home-articles-more-btn,
    .gallery-more-btn{
        width: 36px;
        height: 36px;
    }
}
