@font-face {
    font-family: Montserrat;
    src: url('fonts/montserrat-regular.ttf') format('truetype');
    font-weight: 400 500;
    font-display: swap;
}
@font-face {
    font-family: Montserrat;
    src: url('fonts/montserrat-bold.ttf') format('truetype');
    font-weight: 600 800;
    font-display: swap;
}
:root {
    --paper: #f8f7f4;
    --navy: #161736;
    --red: #ed2533;
    --muted: #62616b;
    --line: #dddad5;
}
body { font-family: Montserrat, Arial, sans-serif; }
button { font: inherit; }
button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--red); }
.wrap { width: min(1280px, calc(100% - 96px)); }
.site-header { min-height: 88px; }
.site-front .site-header { position: absolute; z-index: 5; left: 0; right: 0; top: 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 228px; height: auto; }

.site-header nav { display: flex; gap: 30px; align-items: center; font-size: 11px; }
.site-header nav a:hover, .text-link:hover { color: #bf1725; }
.site-header .header-contact { color: white; background: var(--navy); border-radius: 30px; padding: 11px 20px; margin-left: 25px; }
.site-header .header-contact:hover { background: #343557; color: white; }
.header-contact span { margin-left: 14px; }
.eyebrow { font-size: 9px; font-weight: 400; letter-spacing: .22em; line-height: 1.8; text-transform: uppercase; margin: 0 0 9px; }
.button { border-radius: 30px; background: var(--navy); padding: 13px 23px; min-height: 43px; font-size: 11px; font-weight: 400; gap: 23px; }
.button:hover { background: #343557; }
.button span { color: #fff; font-size: 15px; }
.relief-hero { position: relative; overflow: hidden; min-height: 640px; background: #eeece7; }
.relief-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.relief-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f5f3eee0 0%, #f5f3eea8 24%, #f5f3ee00 53%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 164px 0 43px; }
.hero-content .eyebrow { letter-spacing: .23em; font-size: 10px; color: #51505b; line-height: 1.7; margin-bottom: 16px; }
.hero-content h1 { font-family: Montserrat, Arial, sans-serif; font-weight: 700; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.025em; text-transform: uppercase; margin-left: -2px; }
.hero-description { font-size: 12px; line-height: 1.8; margin: 19px 0 21px; }
.hero-sectors { display: flex; gap: 28px; margin-top: 39px; }
.hero-sectors a { display: flex; align-items: center; gap: 9px; font-size: 9px; }
.hero-sectors a:hover { color: #bf1725; }
.hero-sectors svg { width: 29px; height: 29px; flex-shrink: 0; }
.hero-sectors strong { display: block; font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.1; margin-bottom: 3px; }
.home-page h2 { font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: clamp(27px, 2.9vw, 42px); line-height: 1.16; letter-spacing: -.025em; }
.section-top { align-items: end; gap: 25px; }
.section-top > p, .section-aside { font-size: 10px; line-height: 1.7; color: var(--muted); }
.text-link { display: inline-block; white-space: nowrap; font-size: 10px; margin-bottom: 5px; }
.text-link span { margin-left: 10px; }
.spaces-section { padding: 41px 0 38px; scroll-margin-top: 25px; }
.directions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 23px; }
.direction { display: block; }
.direction-photo { position: relative; aspect-ratio: 1.33; overflow: hidden; background: #e9e4dc; }
.direction-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.direction:hover img { transform: scale(1.035); }
.direction-mark { position: absolute; top: 12px; left: 12px; color: white; background: var(--navy); width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; font-family: Montserrat, Arial, sans-serif; font-size: 16px; }
.direction-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.direction-bottom strong { font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; display: block; }
.direction-bottom small { display: block; color: var(--muted); font-size: 9px; line-height: 1.6; margin-top: 6px; }
.direction-arrow { color: #b41c29; font-size: 19px; }
.materials-section { background: #f0efec; padding: 36px 0 27px; scroll-margin-top: 25px; }
.materials-section .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 27px; gap: 25px; }
.materials-section .card { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; align-content: start; column-gap: 14px; background: transparent; border: none; }
.materials-section .swatch { width: 64px; height: 64px; border-radius: 50%; grid-row: 1 / 3; aspect-ratio: auto; }
.materials-section .swatch img { border-radius: 50%; }
.materials-section .swatch span { display: none; }
.sample-monogram { display: grid; place-items: center; width: 100%; height: 100%; color: var(--navy); background: #e3e0db; font-family: Montserrat, Arial, sans-serif; font-size: 28px; font-weight: 400; }
.swatch .sample-monogram { border-radius: 50%; }
.product-brand { display: block; font-size: 7px; line-height: 1.4; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.materials-section .card-text { padding: 0; gap: 8px; flex-direction: row; }
.materials-section .card-text small { display: none; }
.materials-section .card-text h3 { font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -.025em; line-height: 1.25; }
.materials-section .card-text b { font-weight: 400; font-size: 14px; color: #b41c29; }
.materials-section .rate { font-size: 9px; line-height: 1.6; padding: 7px 0 0; }
.materials-section .rate strong { display: block; color: var(--navy); font-size: 13px; }
.materials-section .rate span { display: block; font-size: 8px; margin-top: 3px; }
.catalog-footnote { border-top: 1px solid #d7d5d1; padding-top: 17px; margin-top: 26px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 8px; line-height: 1.7; }
.catalog-footnote span { color: var(--red); margin-left: 5px; }
.textures-section { background: #f0efec; padding: 42px 0 30px; scroll-margin-top: 25px; }
.textures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin-top: 27px; }
.texture-card { display: block; min-width: 0; }
.texture-card-photo { position: relative; aspect-ratio: 1.32; overflow: hidden; background: #e4e1db; }
.texture-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.texture-card[href$="imitatsiya-mikrotsementa/"] .texture-card-photo img { transform: scale(1.5); transform-origin: left center; }
.texture-number { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--navy); padding: 7px 9px; font-size: 11px; font-weight: 600; }
.texture-card-copy { padding-top: 14px; }
.texture-card-copy h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.texture-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.texture-card-copy > p { color: var(--muted); font-size: 11px; line-height: 1.7; min-height: 3.4em; margin-top: 8px; }
.texture-card-action { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 13px; font-size: 10px; }
.texture-card-action > span { color: #b41c29; font-size: 18px; }
.interiors-section { padding: 40px 0 38px; scroll-margin-top: 25px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0 22px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button { border: 1px solid #d8d5d1; border-radius: 30px; padding: 9px 15px; min-height: 36px; font-size: 9px; background: transparent; color: var(--navy); cursor: pointer; }
.gallery-filters button.active { background: var(--navy); color: white; border-color: var(--navy); }
.gallery-filters button:hover { border-color: var(--navy); }
.gallery-count { font-size: 9px; color: var(--muted); white-space: nowrap; }
.interiors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 24px; }
.interior-card[hidden] { display: none; }
.interior-open { position: relative; display: block; width: 100%; aspect-ratio: 1.42; padding: 0; border: none; background: #e9e4dc; cursor: zoom-in; overflow: hidden; }
.interior-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.interior-open:hover img { transform: scale(1.035); }
.interior-zoom { position: absolute; bottom: 9px; right: 9px; width: 30px; height: 30px; display: grid; place-items: center; background: #161736b0; color: white; border-radius: 50%; font-size: 16px; }
.interior-card figcaption { position: static; background: none; color: var(--navy); font-family: Montserrat, Arial, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.35; padding: 11px 0 0; }
.interior-card figcaption small { display: block; font-family: Montserrat, Arial, sans-serif; font-size: 8px; line-height: 1.6; margin-top: 5px; color: var(--muted); }
.inspiration-note { margin-top: 25px; font-size: 8px; line-height: 1.8; color: var(--muted); }
.project-section { background: #efeeea; padding: 36px 0; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.project-copy h2 { font-size: clamp(27px, 2.9vw, 42px); }
.project-copy > p:not(.eyebrow) { font-size: 11px; line-height: 1.9; max-width: 43ch; margin: 17px 0 22px; }
.project-phone { display: inline-block; font-size: 10px; margin: 18px 0 0 20px; }
.project-image { height: 350px; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
footer .wrap { min-height: 70px; font-size: 8px; }
.detail h1, .specs h2 { font-family: Montserrat, Arial, sans-serif; font-weight: 600; letter-spacing: -.025em; }
.detail h1 { line-height: 1.12; }
.product-detail { padding-top: 22px; }
.product-detail h1 { font-size: clamp(32px, 4.1vw, 56px); overflow-wrap: anywhere; }
.product-detail h2 { font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: clamp(27px, 2.9vw, 40px); line-height: 1.18; letter-spacing: -.02em; }
.product-summary .eyebrow { font-size: 9px; }
.product-summary .lead { font-size: 13px; line-height: 1.8; margin: 18px 0; }
.product-photo { aspect-ratio: 1.1; overflow: hidden; background: #e6e3de; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo figcaption { font-size: 9px; max-width: calc(100% - 26px); line-height: 1.5; }
.typographic-sample .sample-monogram { font-size: clamp(100px, 16vw, 225px); color: #44435c; background: #e9e6e1; }
.product-price { border-top: 1px solid var(--line); padding-top: 15px; }
.product-price > span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.product-price > strong { display: block; font-family: Montserrat, Arial, sans-serif; font-size: 44px; font-weight: 600; line-height: 1.15; margin-top: 4px; }
.product-price small { font-size: 24px; }
.price-explanation { font-size: 9px; line-height: 1.7; color: var(--muted); margin: 6px 0 19px; max-width: 45ch; }
.product-summary .phone { font-size: 11px; }
.product-effects { padding-top: 48px; }
.effects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; margin-top: 25px; }
.effects-grid article { padding: 21px; border: 1px solid var(--line); }
.effects-grid h3 { font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.effects-grid p { font-size: 11px; line-height: 1.8; color: var(--muted); }
.effect-note { font-size: 9px; color: var(--muted); margin-top: 17px; }
.product-zones { background: #efeeea; padding: 25px; margin-top: 32px; }
.product-zones > p:last-child { font-size: 12px; line-height: 1.8; max-width: 85ch; margin-top: 12px; }
.product-detail .specs { margin-top: 35px; }
.product-detail .specs dl { font-size: 12px; }
.product-detail .specs dl div { grid-template-columns: 1fr 2fr; gap: 25px; }
.base-material-link { display: inline-block; margin-top: 22px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.product-sources { font-size: 10px; color: var(--muted); line-height: 1.7; margin-top: 25px; }
.product-sources summary { cursor: pointer; margin-top: 12px; }
.product-sources details div { display: grid; gap: 8px; margin: 10px 0; }
.product-sources a { text-decoration: underline; text-underline-offset: 4px; }
.texture-photo-open { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #e7e4de; }
.texture-photo-open img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.texture-reference-photo figcaption { position: static; background: none; color: var(--muted); font-size: 10px; line-height: 1.6; padding: 10px 0 0; }
.texture-photo-zoom { position: absolute; right: 13px; bottom: 13px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #161736b8; color: white; font-size: 21px; }
.texture-detail .product-price > strong { font-size: 28px; margin-top: 10px; }
.texture-project-notes { margin-top: 34px; }
.texture-project-notes p { font-size: 12px; line-height: 1.9; color: var(--muted); max-width: 85ch; margin-top: 16px; }
.image-viewer { width: min(1080px, calc(100% - 32px)); max-height: 94dvh; border: 0; padding: 12px; background: var(--paper); color: var(--navy); }
.image-viewer::backdrop { background: #0b0c1de8; }
.viewer-close { position: absolute; z-index: 1; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff8; background: var(--navy); color: white; font-size: 30px; cursor: pointer; }
.image-viewer .viewer-image { display: block; width: 100%; height: min(74dvh, 900px); object-fit: contain; }
.image-viewer figcaption { position: static; padding: 14px 5px 5px; background: transparent; color: var(--navy); display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.viewer-detail { color: var(--muted); }
.viewer-open { overflow: hidden; }
@media (max-width: 1050px) {
    .wrap { width: calc(100% - 56px); }
    .site-header nav { gap: 20px; }
    .site-header .header-contact { margin-left: 0; }
    .relief-hero { min-height: 590px; }
    .hero-content { padding-top: 152px; }
    .hero-content h1 { font-size: 46px; }
    .materials-section .cards { gap: 20px; }
    .materials-section .card { grid-template-columns: 50px 1fr; column-gap: 10px; }
    .materials-section .swatch { width: 50px; height: 50px; }
    .materials-section .card-text h3 { font-size: 18px; }
    .project-grid { gap: 35px; }
    .project-phone { display: block; margin-left: 0; }
}
@media (min-width: 701px) and (max-width: 960px) {
    .materials-section .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
    .textures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 36px); }
    .site-header { min-height: 75px; gap: 15px; }
    .brand-logo { width: 178px; }


    .site-header nav { font-size: 9px; gap: 15px; }
    .site-header nav > a:first-child, .site-header .header-contact { display: none; }
    .relief-hero { min-height: 720px; }
    .relief-background { top: 290px; height: 430px; object-position: 72% center; }
    .relief-hero::after { background: linear-gradient(180deg, #f2f0eb 0%, #f2f0eb 42%, #f2f0eb00 63%); }
    .hero-content { padding: 110px 0 32px; }
    .hero-content .eyebrow { font-size: 8px; margin-bottom: 17px; }
    .hero-content h1 { font-size: clamp(29px, 8.8vw, 44px); }
    .hero-description { font-size: 11px; margin: 16px 0 19px; }
    .hero-sectors { margin-top: 25px; gap: 25px; }
    .hero-sectors a { font-size: 8px; gap: 6px; }
    .hero-sectors strong { font-size: 15px; }
    .hero-sectors svg { width: 26px; height: 26px; }
    .spaces-section { padding: 32px 0; }
    .home-page h2 { font-size: 28px; }
    .section-top { flex-direction: column; align-items: start; gap: 13px; }
    .text-link { font-size: 9px; margin: 0; }
    .directions-grid { gap: 12px; margin-top: 18px; }
    .direction-photo { aspect-ratio: .72; }
    .direction-mark { width: 29px; height: 29px; font-size: 14px; left: 7px; top: 7px; }
    .direction-bottom { padding-top: 10px; gap: 3px; }
    .direction-bottom strong { font-size: clamp(11px, 3.2vw, 18px); }
    .direction-bottom small { font-size: 8px; }
    .direction-arrow { display: none; }
    .materials-section { padding: 30px 0 23px; }
    .materials-section .cards { grid-template-columns: 1fr; gap: 22px; margin-top: 23px; }
    .materials-section .card { grid-template-columns: 59px 1fr; column-gap: 14px; }
    .materials-section .swatch { width: 59px; height: 59px; }
    .materials-section .card-text h3 { font-size: 21px; }
    .materials-section .rate { font-size: 10px; }
    .catalog-footnote { flex-direction: column; gap: 8px; font-size: 8px; margin-top: 24px; }
    .section-aside { font-size: 10px; }
    .section-aside br { display: none; }
    .interiors-section { padding: 32px 0; }
    .gallery-toolbar { margin: 19px 0; gap: 10px; }
    .gallery-filters { gap: 6px; }
    .gallery-filters button { font-size: 8px; padding: 9px 11px; min-height: 36px; }
    .gallery-count { display: none; }
    .interiors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .interior-open { aspect-ratio: .92; }
    .interior-card figcaption { font-size: 14px; }
    .interior-card figcaption small { font-size: 8px; }
    .interior-zoom { width: 26px; height: 26px; bottom: 6px; right: 6px; }
    .project-section { padding: 30px 0; }
    .project-grid { grid-template-columns: 1fr; gap: 25px; }
    .project-image { height: 270px; }
    .project-copy > p:not(.eyebrow) { font-size: 11px; }
    footer .wrap { min-height: 63px; font-size: 7px; gap: 10px; }
    .image-viewer figcaption { display: block; font-size: 12px; }
    .viewer-detail { display: block; font-size: 10px; margin-top: 7px; }
    .product-detail .detail-grid > .product-photo { order: 0; aspect-ratio: 1.4; }
    .product-detail h1 { font-size: 34px; }
    .product-detail .detail-grid { grid-template-columns: 1fr; gap: 25px; }
    .product-detail .specs dl div { grid-template-columns: 1fr; gap: 6px; }
    .effects-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
    .effects-grid article { padding: 18px; }
    .product-effects { padding-top: 35px; }
    .product-zones { padding: 21px; }
    .materials-section .rate span { font-size: 9px; }
    .product-brand { font-size: 8px; }
    .textures-section { padding: 32px 0 25px; }
    .textures-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 22px; }
    .texture-card-photo { aspect-ratio: 1.3; }
    .texture-card-copy h3 { font-size: 22px; }
    .texture-card-copy > p { min-height: 0; }
    .texture-detail .detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .texture-detail h1 { font-size: 32px; }
    .texture-photo-open img { max-height: 460px; }
    .texture-detail .product-price > strong { font-size: 26px; }
}
@media (max-width: 380px) {
    .site-header nav { font-size: 8px; gap: 12px; }
    .brand-logo { width: 152px; }
    .hero-sectors { gap: 17px; }
    .direction-bottom strong { font-size: 11px; }
    .direction-bottom small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .direction-photo img, .interior-open img { transition: none; }
}
