:root {
    --bg: #fff;
    --fg: #0a0a0a;
    --mut: #5d5d5d;
    --line: #e0e0e0;
    --soft: #f4f4f4;
    --pop: #2a2a2a;
    --dk: #ececec;
    --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html {
    -webkit-text-size-adjust: 100%;
}
h1,
h2,
h3 {
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}
.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 200;
    background: #000;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 14px;
}
.skip:focus {
    left: 12px;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 76px);
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 400 17px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a {
    color: inherit;
}
::selection {
    background: var(--pop);
    color: #fff;
}
:focus-visible {
    outline: 2px solid var(--pop);
    outline-offset: 3px;
}
main,
footer {
    position: relative;
    z-index: 2;
}
#d0,
#d1 {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#d0 {
    z-index: 0;
}
#d1 {
    z-index: 1;
}
.w {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 40px);
}
.g12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(12px, 2vw, 28px);
}
.s {
    font-size: 14px;
    color: var(--mut);
}
h2 {
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
    font-weight: 700;
}
/* header: appears after the hero */
#hd {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#hd.show {
    transform: none;
}
#hd .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
#hd a.nm {
    font-weight: 700;
    font-size: 23px;
    letter-spacing: -0.025em;
    text-decoration: none;
}
/* buttons */
.b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid var(--fg);
    background: var(--fg);
    color: var(--bg);
    font: 500 15px var(--sans);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.25s,
        color 0.25s,
        border-color 0.25s;
}
.b:hover {
    background: var(--pop);
    border-color: var(--pop);
    color: #fff;
}
.b.o {
    background: transparent;
    color: var(--fg);
}
.b.o:hover {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
}
.b.sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}
.b .pi {
    margin-left: 12px;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.b.on .pi {
    transform: rotate(45deg);
}
.b .ic {
    margin-right: 9px;
    flex: none;
}
.lnk {
    all: unset;
    cursor: pointer;
    color: var(--mut);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 10px 0;
}
.lnk:hover {
    color: var(--fg);
}
.btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* hero */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100svh;
    border-bottom: 1px solid var(--line);
}
.ph {
    position: relative;
    margin: 0;
    overflow: hidden;
    min-height: 520px;
    background: var(--soft);
}
.ph img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
    filter: grayscale(1) contrast(1.04);
    animation: rev 1.3s cubic-bezier(0.7, 0, 0.2, 1) both;
}
@keyframes rev {
    from {
        clip-path: inset(0 0 100% 0);
        transform: scale(1.08);
    }
    to {
        clip-path: inset(0);
        transform: none;
    }
}
.ht {
    padding: clamp(28px, 4.5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
h1 {
    font-weight: 700;
    font-size: clamp(28px, 3.8vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 26px;
    white-space: nowrap;
}
.lead {
    font-size: 18px;
    line-height: 1.6;
    max-width: 34em;
    margin: 0 0 16px;
    color: #2b2b2b;
}
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .ph {
        min-height: 62svh;
    }
    .lead {
        font-size: 17px;
    }
    h1 {
        font-size: clamp(30px, 7.4vw, 56px);
    }
}
/* strip */
section {
    padding: clamp(56px, 8vw, 100px) 0;
}
.sh {
    margin-bottom: 32px;
}
.sh p {
    margin: 8px 0 0;
}
/* drawers: layers that open from the point clicked */
.pn {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.dr.open > .pn {
    grid-template-rows: 1fr;
}
.pn > div {
    overflow: hidden;
    min-height: 0;
}
.dr:not(.open) > .pn > div {
    visibility: hidden;
    transition: visibility 0s 0.95s;
}
.dr.done > .pn > div {
    overflow: visible;
}
.lay {
    --bg: #f5f5f5;
    --fg: #0a0a0a;
    --mut: #5d5d5d;
    --line: #dedede;
    --soft: #ebebeb;
    background: #f5f5f5;
    color: var(--fg);
    padding: clamp(24px, 3vw, 44px) 0 clamp(40px, 5vw, 72px);
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.28);
    transform: translateY(-36px);
    opacity: 0;
    transition:
        transform 0.9s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.6s ease;
}
.dr.open .lay {
    transform: none;
    opacity: 1;
}
.lay a {
    text-decoration-color: #555;
}
.dh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.cx {
    all: unset;
    cursor: pointer;
    color: var(--mut);
    font-size: 15px;
    padding: 10px 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cx:hover {
    color: var(--fg);
}
.sl {
    grid-column: 1/4;
    position: sticky;
    top: 84px;
    align-self: start;
    margin-bottom: 24px;
}
.sc {
    grid-column: 4/13;
}
@media (max-width: 860px) {
    .sl,
    .sc {
        grid-column: 1/13;
        position: static;
    }
}
/* tiles */
#tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.tile {
    all: unset;
    box-sizing: border-box;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(14px, 1.6vw, 22px);
    position: relative;
    cursor: pointer;
    transition:
        background 0.3s,
        color 0.3s,
        border-color 0.3s;
}
.tile:hover {
    background: #f9f9f9;
    border-color: #e2e2e2;
}
.tile.on {
    background: #f5f5f5;
    border-color: #dcdcdc;
}
.tile:focus-visible {
    outline: 2px solid var(--pop);
    outline-offset: 3px;
}
.tile .pl {
    align-self: flex-end;
    font-size: 26px;
    line-height: 1;
    transition: transform 0.35s;
}
.tile.on .pl {
    transform: rotate(45deg);
}
.tile .pl {
    position: relative;
    z-index: 1;
}
.tile .lgo {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72%;
    height: 44%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tile .lgo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
    mix-blend-mode: multiply;
}
.tile .lgo.ph0 {
    border: 1px dashed #cfcfcf;
    font-size: 12px;
    color: #9a9a9a;
}
.tile.on::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -17px;
    margin-left: -13px;
    border: 13px solid transparent;
    border-top: 0;
    border-bottom-color: #f5f5f5;
}
@media (max-width: 900px) {
    #tiles {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .tile.on::after {
        display: none;
    }
}
/* case content */
.gh {
    margin-bottom: 12px;
}
#lb .ib {
    background: none;
    border: 1px solid #555;
    color: #f5f5f5;
    min-height: 36px;
    padding: 0 14px;
    cursor: pointer;
    font: 500 14px var(--sans);
    border-radius: 2px;
}
#lb .ib:hover {
    border-color: #fff;
}
.gal {
    --h: clamp(240px, 34vw, 480px);
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-bottom: 14px;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.gal::-webkit-scrollbar {
    display: none;
}
.trk {
    position: relative;
    height: 12px;
    background: #fff;
    border: 1px solid #d4d4d4;
    margin-bottom: 44px;
    cursor: pointer;
    touch-action: none;
}
.thb {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 0;
    width: 30%;
    background: #000;
    cursor: grab;
}
.gi {
    all: unset;
    box-sizing: border-box;
    flex: 0 0 auto;
    height: var(--h);
    width: calc(var(--h) * var(--r));
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    background: var(--soft)
        repeating-linear-gradient(
            135deg,
            transparent 0 9px,
            var(--line) 9px 10px
        );
    display: flex;
    align-items: flex-end;
    padding: 10px;
    font-size: 13px;
    color: var(--mut);
    cursor: grab;
}
.gi:focus-visible {
    outline: 2px solid var(--pop);
}
.gi img,
.gi video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}
.gi::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 0 solid var(--pop);
    transition: border-width 0.25s;
    pointer-events: none;
}
.gi .v {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 11px;
    border: 1px solid var(--fg);
    border-radius: 20px;
    padding: 2px 9px;
    font-style: normal;
    color: var(--fg);
}
.gi span {
    position: relative;
    background: #fff;
    color: #0a0a0a;
    padding: 2px 7px;
}
.side {
    grid-column: 1/5;
    position: sticky;
    top: 84px;
    align-self: start;
}
.btns.col {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}
.btns.col .b {
    width: auto;
}
dl {
    margin: 0 0 24px;
}
dl div:first-child dd {
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
dl div {
    padding: 11px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
}
dt {
    color: var(--mut);
    font-size: 13px;
}
dd {
    margin: 0;
}
.bd {
    grid-column: 5/13;
}
.bd .cx2 {
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin: 0 0 30px;
    max-width: 30em;
}
.bd h4 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mut);
}
.bd ol {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.bd li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    max-width: 40em;
}
.bd li b {
    font-weight: 600;
}
@media (max-width: 860px) {
    .side,
    .bd {
        grid-column: 1/13;
    }
    .side {
        position: static;
        order: 2;
        margin-top: 32px;
    }
    .bd {
        order: 1;
        margin-top: 0;
    }
}
/* services, background */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
}
@media (max-width: 860px) {
    .two {
        grid-template-columns: 1fr;
    }
}
.grp > h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: -0.025em;
    margin: 0 0 6px;
    font-weight: 700;
}
.grp > p {
    color: var(--mut);
    margin: 0 0 16px;
}
.acc {
    border-top: 1px solid var(--line);
}
.acc:last-child {
    border-bottom: 1px solid var(--line);
}
.ih {
    all: unset;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    cursor: pointer;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.ih:hover {
    color: #555;
}
.ih::after {
    content: '+';
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s;
}
.acc.open > .ih::after {
    transform: rotate(45deg);
}
.ab {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.acc.open > .ab {
    grid-template-rows: 1fr;
}
.ab > div {
    overflow: hidden;
    min-height: 0;
}
.ab p {
    margin: 0 0 12px;
    color: #2b2b2b;
}
.ab ul {
    margin: 0 0 20px;
    padding-left: 18px;
    color: var(--mut);
    font-size: 15px;
}
.ab li {
    padding: 2px 0;
}
.mods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 32px);
    margin: 48px 0 0;
}
.mods div {
    border-top: 2px solid var(--fg);
    padding-top: 14px;
}
.mods b {
    display: block;
    font-size: 19px;
    margin-bottom: 6px;
}
.mods p {
    margin: 0;
    color: var(--mut);
    font-size: 15px;
}
.proc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.4vw, 32px);
    margin: 40px 0 36px;
}
.proc div {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.proc b {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}
.proc p {
    margin: 0;
    color: var(--mut);
    font-size: 15px;
}
.lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--mut);
    margin: 44px 0 0;
}
@media (max-width: 860px) {
    .mods,
    .proc {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 520px) {
    .mods,
    .proc {
        grid-template-columns: 1fr;
    }
}
.brief {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(24px, 4vw, 60px);
    margin-bottom: 64px;
}
.brief div {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    font-size: 16px;
}
.brief .s {
    font-size: 14px;
}
@media (max-width: 760px) {
    .brief {
        grid-template-columns: 1fr;
    }
}
.prof p {
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin: 0 0 22px;
    max-width: 30em;
}
.lg {
    margin: 36px 0 64px;
}
.lg > div {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 16px;
}
.lg > div:last-child {
    border-bottom: 1px solid var(--line);
}
.ex > div {
    display: grid;
    grid-template-columns: 120px 1.1fr 2.2fr;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.ex > div:last-child {
    border-bottom: 1px solid var(--line);
}
.ex b {
    font-weight: 600;
    display: block;
}
.ex p {
    margin: 0 0 6px;
    color: #2b2b2b;
    font-size: 16px;
}
.ex .s a {
    color: var(--fg);
}
@media (max-width: 760px) {
    .ex > div,
    .lg > div,
    .brief div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
/* flows */
.fl {
    max-width: 720px;
}
.pg {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.pg .s {
    white-space: nowrap;
}
.bar {
    flex: 1;
    height: 3px;
    background: var(--line);
}
.bar i {
    display: block;
    height: 100%;
    background: var(--fg);
    transition: width 0.4s;
}
.q {
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 8px;
    animation: sl 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.qp {
    color: var(--mut);
    margin: 0 0 22px;
    animation: sl 0.5s;
}
@keyframes sl {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}
.ops {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    animation: sl 0.55s;
}
.op {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    background: #fff;
    color: #0a0a0a;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    padding: 16px 18px;
    font-size: 18px;
    min-height: 56px;
    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
}
.op small {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}
.op b {
    font-weight: 600;
}
.op:hover {
    border-color: var(--pop);
}
.op:focus-visible {
    outline: 2px solid var(--pop);
}
.op[aria-pressed='true'] {
    background: var(--pop);
    color: #fff;
    border-color: var(--pop);
}
.op[aria-pressed='true'] small {
    color: #ddd;
}
.fl label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 8px;
}
.fl .gl {
    font-size: 15px;
    color: var(--mut);
    margin: 24px 0 10px;
    font-weight: 600;
}
.fl input,
.fl textarea {
    width: 100%;
    font: 400 18px var(--sans);
    color: #0a0a0a;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    padding: 15px;
    outline: none;
}
.fl textarea {
    min-height: 140px;
    resize: vertical;
}
.fl input:focus,
.fl textarea:focus {
    border-color: var(--pop);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.14);
}
.amt {
    position: relative;
}
.amt span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #555;
}
.amt input {
    padding-left: 36px;
    font-size: 26px;
}
.c3 {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
}
@media (max-width: 560px) {
    .c3,
    .ops {
        grid-template-columns: 1fr;
    }
}
.er {
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 600;
    min-height: 22px;
    margin-top: 12px;
}
.er:not(:empty) {
    border-left: 3px solid #0a0a0a;
    padding-left: 10px;
}
.ok {
    font-size: 16px;
    padding: 16px;
    background: #fff;
    color: #0a0a0a;
    border: 1px solid #cfcfcf;
    margin-top: 16px;
}
.nv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 12px;
}
.sum {
    background: #fff;
    color: #0a0a0a;
    border: 1px solid #cfcfcf;
    padding: 4px 18px;
    margin-bottom: 18px;
}
.sum div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e3e3e3;
    font-size: 16px;
}
.sum div:last-child {
    border: 0;
}
.sum span {
    color: #666;
}
.sum b {
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}
.fl .s {
    display: block;
    margin-top: 14px;
}
/* inquiry + client + footer */
#inquiry {
    border-top: 1px solid var(--line);
}
.cg {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: stretch;
}
.cc {
    display: flex;
    flex-direction: column;
}
.cc h2 {
    margin-bottom: 28px;
}
.rows {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.rows a.r {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    font-size: 21px;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}
.rows a.r:last-child {
    border-bottom: 1px solid var(--line);
}
.rows a.r:hover {
    color: var(--mut);
}
.rows a.r small {
    display: block;
    color: var(--mut);
    font-size: 13px;
    letter-spacing: 0;
}
.cf {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    padding: clamp(20px, 3vw, 40px);
    background: transparent;
}
.cf form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.cf textarea {
    flex: 1;
    min-height: 220px;
}
.cf .b {
    align-self: flex-start;
}
@media (max-width: 900px) {
    .cg {
        grid-template-columns: 1fr;
    }
    .rows a.r {
        flex: none;
    }
}
footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    background: #fff;
}
footer .w {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
footer nav {
    display: flex;
    gap: 24px;
}
footer a {
    text-decoration: none;
    font-size: 15px;
}
footer a:hover {
    color: var(--pop);
}
#lb {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 18px;
    flex-direction: column;
    gap: 12px;
    color: #ddd;
}
#lb.on {
    display: flex;
    animation: fi 0.4s;
}
@keyframes fi {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
}
#lb .st {
    width: min(1100px, 100%);
    aspect-ratio: 16/10;
    max-height: 70vh;
    background: #101010
        repeating-linear-gradient(135deg, transparent 0 11px, #262626 11px 12px);
    display: grid;
    place-items: center;
    color: #8a8a8a;
    text-align: center;
    padding: 20px;
}
#lb img,
#lb video {
    max-width: 100%;
    max-height: 70vh;
}
#lb .x {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: 16px;
}
#lb .n {
    display: flex;
    gap: 10px;
}
@media (max-width: 900px) {
    .tile .lgo {
        width: 82%;
        height: 56%;
    }
}
@media (max-width: 620px) {
    .tile .lgo {
        width: 86%;
        height: 60%;
    }
}
.gal img,
.gal video {
    pointer-events: none;
    -webkit-user-drag: none;
}
.gal.dragging {
    cursor: grabbing;
}
.gal.dragging * {
    user-select: none;
}
.zm {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    background: #fff;
    color: #0a0a0a;
    border: 0;
    font: 500 13px var(--sans);
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}
.zm:hover {
    background: #0a0a0a;
    color: #fff;
}
.zm:focus-visible {
    outline: 2px solid #0a0a0a;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
