body:has(.tb-page){background:#fff url('media/site-bg-v266.png') center top / min(2048px,100vw) auto repeat-y}
.tb-page{box-sizing:border-box;width:min(910px,calc(100% - 48px));margin:auto;padding:140px 0 25px;direction:ltr;color:#103438}
.tb-page figure{margin:0;min-width:0}.tb-page img{display:block;width:100%;height:auto;max-width:100%;border:0}
.tb-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:110px;margin-bottom:30px}.tb-heading img{width:auto;max-width:120px;max-height:110px;object-fit:contain}.tb-heading h1{margin:0;font-size:28px;line-height:1.4;text-align:right;font-weight:800}
.tb-page .tb-pattern{margin-bottom:34px}.tb-page .tb-palette{margin-bottom:38px}
.tb-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;direction:rtl;align-items:start}.tb-gallery a{display:block}.tb-gallery a img{transition:transform .25s ease,filter .25s ease;transform-origin:center;pointer-events:none}@media(hover:hover) and (pointer:fine){.tb-gallery a:hover img{transform:translateY(-3px) scale(1.035);filter:drop-shadow(0 5px 8px rgba(74,114,114,.16))}}.tb-gallery a:focus-visible,.tb-social a:focus-visible{outline:2px solid #4a7272;outline-offset:4px}
.tb-page .tb-scene{position:relative;width:100vw;height:70vh;margin:200px 0 0;left:50%;translate:-50% 0;isolation:isolate;overflow:clip}.tb-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5;mask-image:linear-gradient(transparent,#000 90px)}.tb-scene::after{content:'';position:absolute;inset:0;background:url('media/texture.png') center / min(100vw,2048px) auto repeat-y;mix-blend-mode:multiply;opacity:.9;mask-image:linear-gradient(transparent 18px,#000 190px);pointer-events:none}.tb-letters{position:absolute;inset:0;z-index:2;pointer-events:none}.tb-letters img{position:absolute;top:0;left:0;max-width:none;transform-origin:center;user-select:none;pointer-events:none}
.tb-social{display:flex;gap:10px;align-items:center;flex-wrap:wrap;direction:ltr;margin-top:12px}.tb-social a{display:block;width:40px;height:40px;flex:0 0 40px}.tb-social img{width:40px;height:40px;object-fit:contain;transition:transform .2s ease,filter .2s ease}.tb-social a:hover img{transform:translateY(-3px);filter:brightness(1.05)}
@media(max-width:980px){.tb-page{width:calc(100% - 28px);padding-top:106px}.tb-gallery{gap:16px}}
@media(max-width:720px){.tb-page{padding-top:92px}.tb-heading{min-height:75px;gap:12px;margin-bottom:24px}.tb-heading img{max-width:104px;max-height:86px}.tb-heading h1{font-size:clamp(16px,4.8vw,24px)}.tb-page .tb-pattern,.tb-page .tb-palette{margin-bottom:24px}.tb-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,2vw,14px)}.tb-page .tb-scene{height:clamp(180px,65vw,420px);margin-top:clamp(40px,12vw,96px)}}
@media(prefers-reduced-motion:reduce){.tb-social img,.tb-gallery a img{transition:none}.tb-gallery a:hover img{transform:none}}

/* BERMOR responsive V1 — local breakpoint */
@media(max-width:760px){
.tb-heading { min-width:0; gap:clamp(8px,2vw,16px); }
.tb-heading h1 { min-width:0; max-width:100%; overflow-wrap:anywhere; white-space:normal; font-size:clamp(14px,3.6vw,24px); }
.tb-heading img { max-width:min(100%,24vw); object-fit:contain; }
}
