/* =========================================================
   KAVORA — home.css
   Hero · The Art of Living (3D room) · About · Services ·
   Projects · Before & After · Materials · Philosophy ·
   Process · Journal preview
   ========================================================= */

/* ================= HERO — the room seen through the diamond ================= */
.hx { position: relative; height: 100vh; height: 100svh; min-height: 660px; overflow: hidden; background: var(--black); color: var(--ivory); isolation: isolate; }
.hx__img { position: absolute; inset: 0; z-index: -3; clip-path: polygon(50% 38%, 58% 50%, 50% 62%, 42% 50%); transition: clip-path 2.2s var(--ease-io); }
.hx.in .hx__img, .hx.static .hx__img { clip-path: polygon(50% -60%, 160% 50%, 50% 160%, -60% 50%); }
.hx__img > div { position: absolute; inset: -4%; will-change: transform; }
.hx__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.hx.in .hx__img img { transform: scale(1.04); }
.hx__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(17,17,17,.82) 0%, rgba(17,17,17,.45) 42%, rgba(17,17,17,.08) 75%), linear-gradient(0deg, rgba(17,17,17,.7), transparent 40%); }
.hx__light { position: absolute; inset: -20%; z-index: -2; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,214,140,.16) 46%, rgba(255,226,170,.06) 52%, transparent 60%); mix-blend-mode: screen; animation: hxL 11s ease-in-out infinite; }
@keyframes hxL { 0%, 100% { transform: translateX(-18%); } 50% { transform: translateX(14%); } }
.hx__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx__lines i { position: absolute; border: 1px solid rgba(247,245,240,.28); transform: rotate(45deg); will-change: transform; }
.hx__lines i.g { border-color: rgba(242,185,39,.6); }
.hx__lines i.s { background: var(--gold); border: 0; opacity: .9; }
.hx__in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; padding: calc(var(--nh) + 20px) var(--pad) clamp(28px, 4.5vh, 48px); }
.hx h1 { align-self: center; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8.4vw, 9.6rem); line-height: .92; text-transform: uppercase; letter-spacing: -.005em; }
.hx h1 .l { display: flex; align-items: baseline; gap: .22em; overflow: hidden; padding-bottom: .04em; }
.hx h1 .l > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hx h1 .l small { font-family: var(--sans); font-size: .1em; letter-spacing: .3em; color: var(--gold); transform: translateY(-1.6em); opacity: 0; transition: opacity 1s .9s; }
.hx.in h1 .l > span { transform: none; } .hx.in h1 .l small { opacity: 1; }
.hx.in h1 .l:nth-child(2) > span { transition-delay: .12s; } .hx.in h1 .l:nth-child(3) > span { transition-delay: .24s; }
.hx h1 .l:nth-child(3) em { font-style: italic; position: relative; z-index: 0; }
.hx h1 .l:nth-child(3) em::before { content: ""; position: absolute; z-index: -1; left: -.1em; right: -.12em; top: .1em; bottom: .04em; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 1.2s; }
.hx.in h1 .l:nth-child(3) em::before { transform: none; }
.hx h1 .l:nth-child(3) em { color: var(--black); }
.hx__rail { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 22px; padding-left: 24px; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(247,245,240,.75); }
.hx__rail a { writing-mode: vertical-rl; transform: rotate(180deg); }
.hx__rail a:hover { color: var(--gold); }
.hx__sc { position: relative; width: 20px; height: 70px; }
.hx__sc::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(247,245,240,.3); }
.hx__sc::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; background: var(--gold); transform: rotate(45deg); animation: hxS 2.4s var(--ease-io) infinite; }
@keyframes hxS { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 62px; opacity: 0; } }
.hx__foot { grid-column: 1; display: grid; grid-template-columns: minmax(0, 430px) 1fr; gap: clamp(20px, 4vw, 60px); align-items: end; }
.hx__sub { font-size: clamp(.96rem, 1.1vw, 1.06rem); line-height: 1.75; color: #e6dfd3; margin: 0; }
.hx .btn--o { color: var(--ivory); }
.hx [data-h] { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.hx.in [data-h] { opacity: 1; transform: none; }
.hx.in [data-h="2"] { transition-delay: .5s; } .hx.in [data-h="3"] { transition-delay: .65s; } .hx.in [data-h="4"] { transition-delay: .8s; }
.hx__cap { position: absolute; right: calc(var(--pad) + 60px); top: calc(var(--nh) + 26px); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,245,240,.6); }

/* ================= THE ART OF LIVING — 3D room ================= */
.rm { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: #1b1916; color: var(--ivory); overflow: hidden; }
.rm__stage { position: absolute; inset: 0; touch-action: pan-y; }
.rm__stage canvas { width: 100% !important; height: 100% !important; outline: none; }
.rm__fb { position: absolute; inset: 0; display: none; }
.rm__fb img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rm.no-gl .rm__fb { display: block; }
.rm.no-gl .rm__ctl { display: none; }
.rm__ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; grid-template-columns: minmax(0, 440px) 1fr; padding: calc(var(--nh) + 10px) var(--pad) 34px; }
.rm__copy { align-self: start; padding: 30px 0; }
.rm__copy .d2 { font-size: clamp(2.4rem, 4.6vw, 4.8rem); margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.rm__copy .lead { color: #e6dfd3; font-size: 1rem; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.rm__ctl { position: absolute; left: var(--pad); bottom: 34px; display: grid; gap: 14px; pointer-events: auto; background: rgba(17,17,17,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 18px 20px; border: 1px solid rgba(247,245,240,.12); width: min(440px, calc(100vw - 2 * var(--pad))); }
.rm__ctl h3 { font-size: .58rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.seg button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: .68rem; letter-spacing: .06em; border: 1px solid rgba(247,245,240,.18); color: #e6dfd3; transition: background .35s, color .35s, border-color .35s; }
.seg button:hover { border-color: var(--gold); }
.seg button[aria-pressed="true"] { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.seg button i { width: 14px; height: 14px; transform: rotate(45deg); background: var(--sw); border: 1px solid rgba(255,255,255,.3); }
.rm__shots { position: absolute; right: var(--pad); bottom: 34px; display: flex; gap: 22px; pointer-events: auto; }
.rm__shots button { display: grid; justify-items: center; gap: 10px; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,245,240,.6); transition: color .4s; }
.rm__shots button::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); transition: background .4s, border-color .4s; }
.rm__shots button[aria-current="true"] { color: var(--ivory); }
.rm__shots button[aria-current="true"]::before { background: var(--gold); border-color: var(--gold); }
.rm__tag { position: absolute; right: var(--pad); top: calc(var(--nh) + 16px); text-align: right; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,245,240,.65); }
.rm__tag b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--ivory); margin-top: 4px; }

/* ================= ABOUT INTRO ================= */
.ab { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 40px); align-items: center; }
.ab > * { min-width: 0; }
.ab__img { grid-column: 1 / span 6; aspect-ratio: 4 / 5; position: relative; }
.ab__img .im { height: 100%; }
.ab__sq { position: absolute; z-index: 2; width: 34%; aspect-ratio: 1; right: -9%; bottom: 10%; background: var(--gold); }
.ab__dia { position: absolute; z-index: 3; width: 26%; aspect-ratio: 1; left: -6%; top: 8%; border: 2px solid var(--black); transform: rotate(45deg); }
.ab__txt { grid-column: 8 / span 5; }
.ab__txt .d2 { margin-bottom: 30px; }
.ab__small { width: 56%; aspect-ratio: 4/3; margin: 40px 0 0 auto; }

/* ================= SERVICES — diamond-reveal photographic mosaic ================= */
.svg5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.svg5 > * { min-width: 0; }
.sv { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.6; overflow: hidden; color: var(--ivory); background: var(--char); isolation: isolate; }
.sv:nth-child(5n+2), .sv:nth-child(5n+4) { transform: translateY(60px); }
.sv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: grayscale(1) brightness(.55) contrast(1.05); transition: transform 1.6s var(--ease); transform: scale(1.06); }
.sv .sv__c { position: absolute; inset: 0; z-index: -2; clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); transition: clip-path 1s var(--ease-io); }
.sv .sv__c img { filter: none; z-index: 0; }
.sv::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17,17,17,.9), rgba(17,17,17,.05) 62%); }
.sv:hover .sv__c, .sv:focus-visible .sv__c { clip-path: polygon(50% -50%, 150% 50%, 50% 150%, -50% 50%); }
.sv:hover img { transform: scale(1); }
.sv__n { position: absolute; top: 18px; left: 18px; font-family: var(--serif); font-size: 1.6rem; font-style: italic; }
.sv__k { position: absolute; top: 22px; right: 18px; width: 14px; height: 14px; border: 1.5px solid var(--ivory); transform: rotate(45deg); transition: background .5s, border-color .5s, transform .7s var(--ease); }
.sv:hover .sv__k { background: var(--gold); border-color: var(--gold); transform: rotate(225deg); }
.sv__b { margin-top: auto; padding: 22px 20px 24px; }
.sv h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.7vw, 1.8rem); line-height: 1.08; margin-bottom: 10px; }
.sv p { font-size: .84rem; color: #ddd5c8; margin: 0 0 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s; }
.sv:hover p, .sv:focus-visible p { max-height: 8em; opacity: 1; }
.sv .lk { color: var(--ivory); font-size: .62rem; }
.sv .chip.pp { position: absolute; top: 56px; left: 18px; color: var(--beige); font-size: .5rem; opacity: 0; transition: opacity .5s; }
.sv:hover .chip.pp { opacity: 1; }

/* ================= PROJECTS — overlapping editorial ================= */
.pjx { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 44px) clamp(14px, 2vw, 32px); }
.pjx > * { min-width: 0; }
.pc { position: relative; display: block; }
.pc__m { position: relative; overflow: hidden; background: var(--beige); }
.pc__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.pc:hover .pc__m img { transform: scale(1.06); }
.pc__m::before { content: ""; position: absolute; z-index: 2; inset: 0; border: 0 solid var(--gold); transition: border-width .6s var(--ease); pointer-events: none; }
.pc:hover .pc__m::before { border-width: 8px; }
.pc__c { position: relative; z-index: 3; background: var(--ivory); padding: 24px 26px 26px; max-width: 460px; }
.pc__c .n { font-size: 1.2rem; }
.pc__c h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2.4rem); line-height: 1.05; margin: 6px 0 8px; }
.pc__c small { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-d); margin-bottom: 10px; }
.pc__c p { font-size: .92rem; color: var(--text); margin: 0 0 14px; }
.pc__c .chip { margin-bottom: 14px; }
.pc.hide { display: none; }
/* layout pattern: full · tall+wide · wide+tall(overlap) */
.pjx .pc:nth-child(6n+1) { grid-column: 1 / -1; aspect-ratio: auto; }
.pjx .pc:nth-child(6n+1) .pc__m { aspect-ratio: 21 / 9; }
.pjx .pc:nth-child(6n+1) .pc__c { position: absolute; left: 30px; bottom: -40px; }
.pjx .pc:nth-child(6n+2) { grid-column: 1 / span 5; margin-top: 110px; } .pjx .pc:nth-child(6n+2) .pc__m { aspect-ratio: 3 / 4; }
.pjx .pc:nth-child(6n+3) { grid-column: 7 / span 6; margin-top: 240px; } .pjx .pc:nth-child(6n+3) .pc__m { aspect-ratio: 4 / 3; }
.pjx .pc:nth-child(6n+3) .pc__c { margin: -90px 0 0 -60px; }
.pjx .pc:nth-child(6n+4) { grid-column: 2 / span 6; margin-top: 40px; } .pjx .pc:nth-child(6n+4) .pc__m { aspect-ratio: 16 / 10; }
.pjx .pc:nth-child(6n+4) .pc__c { margin: -80px 0 0 auto; }
.pjx .pc:nth-child(6n+5) { grid-column: 9 / span 4; margin-top: 160px; } .pjx .pc:nth-child(6n+5) .pc__m { aspect-ratio: 3 / 4.4; }
.pjx .pc:nth-child(6n+6) { grid-column: 3 / span 8; margin-top: 60px; } .pjx .pc:nth-child(6n+6) .pc__m { aspect-ratio: 16 / 8; }
.pjx .pc:nth-child(6n+6) .pc__c { margin: -70px auto 0; }
.pjx.flat .pc { grid-column: span 6 !important; margin-top: 0 !important; }
.pjx.flat .pc .pc__m { aspect-ratio: 4 / 3 !important; }
.pjx.flat .pc .pc__c { position: relative !important; left: auto !important; bottom: auto !important; margin: 0 !important; }

/* ================= BEFORE & AFTER ================= */
.ba__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; }
.ba__tabs button { padding: 12px 20px 11px; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line-d); color: #d9d2c6; transition: background .4s, color .4s, border-color .4s; }
.ba__tabs button:hover { border-color: var(--gold); color: var(--gold); }
.ba__tabs button[aria-selected="true"] { background: var(--gold); color: var(--black); border-color: var(--gold); }
.cmp { position: relative; aspect-ratio: 16 / 8.4; overflow: hidden; background: var(--char); user-select: none; -webkit-user-select: none; touch-action: pan-y; --x: 50%; }
.cmp__a, .cmp__b { position: absolute; inset: 0; margin: 0; }
.cmp img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .7s; }
.cmp__b { clip-path: inset(0 0 0 var(--x)); }
.cmp__a img { filter: saturate(.75) brightness(.95); }
.cmp__lab { position: absolute; top: 20px; z-index: 3; font-size: .6rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 8px 12px 7px; background: rgba(17,17,17,.65); color: var(--ivory); backdrop-filter: blur(4px); pointer-events: none; }
.cmp__lab--a { left: 20px; } .cmp__lab--b { right: 20px; background: var(--gold); color: var(--black); }
.cmp__line { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.cmp__knob { position: absolute; z-index: 5; top: 50%; left: var(--x); width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; pointer-events: none; }
.cmp__knob::before { content: ""; position: absolute; inset: 9px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.cmp.drag .cmp__knob::before { transform: rotate(135deg) scale(1.08); }
.cmp__knob svg { position: relative; width: 26px; height: 14px; color: var(--black); }
.cmp input[type=range] { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp input[type=range]:focus-visible + .cmp__knob::before { outline: 2px solid var(--ivory); outline-offset: 4px; }
.ba__foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 20px; font-size: .84rem; color: #bdb5a9; }
.ba__foot strong { color: var(--ivory); font-weight: 400; font-family: var(--serif); font-size: 1.4rem; display: block; }

/* ================= MATERIALS ================= */
.mx { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 22vw, 330px); gap: 10px; }
.mx > * { min-width: 0; }
.mc { position: relative; overflow: hidden; color: var(--ivory); isolation: isolate; background: var(--char); outline-offset: -3px; }
.mc:nth-child(1) { grid-row: span 2; } .mc:nth-child(4) { grid-column: span 2; } .mc:nth-child(6) { grid-row: span 2; } .mc:nth-child(8) { grid-column: span 2; }
.mc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease), filter .8s; filter: saturate(.9); }
.mc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17,17,17,.82), rgba(17,17,17,0) 55%); opacity: .55; transition: opacity .6s; }
.mc:hover img, .mc:focus-within img, .mc.on img { transform: scale(1.1); }
.mc:hover::after, .mc:focus-within::after, .mc.on::after { opacity: 1; }
.mc__sq { position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; background: var(--gold); transform: scale(0) rotate(0); transition: transform .7s var(--ease); }
.mc:hover .mc__sq, .mc:focus-within .mc__sq, .mc.on .mc__sq { transform: scale(1) rotate(45deg); }
.mc__b { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.mc__b small { font-size: .56rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.mc__b h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.05; margin: 4px 0 0; }
.mc__b p { font-size: .84rem; color: #ddd5c8; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.mc:hover .mc__b p, .mc:focus-within .mc__b p, .mc.on .mc__b p { max-height: 7em; opacity: 1; margin-top: 8px; }
.mc button { position: absolute; inset: 0; z-index: 3; opacity: 0; }

/* ================= PHILOSOPHY — Beauty in every detail ================= */
.pz { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 30px); }
.pz > * { min-width: 0; }
.pz__i { display: flex; flex-direction: column; }
.pz__i:nth-child(even) { margin-top: 90px; }
.pz__i .im { aspect-ratio: 3 / 4.2; margin-bottom: 24px; }
.pz__i .n { font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.pz__i .n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pz__i h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.6rem); text-transform: uppercase; margin: 10px 0 10px; }
.pz__i p { color: var(--text); font-size: .95rem; }

/* ================= PROCESS — horizontal diamond timeline ================= */
.tln { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.4vw, 40px); padding-top: 70px; }
.tln > * { min-width: 0; }
.tln__rail { position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: var(--line-d); }
.tln__rail i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tln__s { position: relative; opacity: .4; transition: opacity .8s var(--ease); }
.tln__s.on { opacity: 1; }
.tln__s::before { content: ""; position: absolute; left: 0; top: -53px; width: 16px; height: 16px; border: 1.5px solid var(--taupe); background: var(--black); transform: rotate(45deg); transition: background .6s, border-color .6s, transform .8s var(--ease); }
.tln__s.on::before { background: var(--gold); border-color: var(--gold); transform: rotate(225deg); }
.tln__s .n { font-size: 3.2rem; line-height: 1; color: var(--taupe); display: block; margin-bottom: 18px; }
.tln__s h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2vw, 2.1rem); text-transform: uppercase; margin-bottom: 10px; }
.tln__s p { color: #cfc8bd; font-size: .92rem; }

/* ================= JOURNAL PREVIEW ================= */
.jg { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(18px, 2.4vw, 40px); }
.jg > * { min-width: 0; }
.jc { display: flex; flex-direction: column; }
.jc .im { aspect-ratio: 4 / 5; margin-bottom: 20px; }
.jc:first-child .im { aspect-ratio: 4 / 4.6; }
.jc:hover .im img { transform: scale(1.06); }
.jc small { font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-d); }
.jc h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.1; margin: 8px 0 10px; transition: color .4s; }
.jc:hover h3 { color: var(--gold-d); }
.jc p { font-size: .92rem; color: var(--text); }
.jc.hide { display: none; }
.rm__ui::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.78) 0%, rgba(17,17,17,.45) 30%, rgba(17,17,17,0) 55%), linear-gradient(0deg, rgba(17,17,17,.55), transparent 30%); pointer-events: none; }
.rm__ui { isolation: isolate; }
@media (max-width: 960px) { .rm__ui::before { background: linear-gradient(180deg, rgba(17,17,17,.8) 0%, rgba(17,17,17,.2) 40%, rgba(17,17,17,0) 55%, rgba(17,17,17,.6) 100%); } }
.mx { grid-auto-flow: dense; }
