.gallery-page__intro{justify-content:flex-start;align-items:center;gap:48px;padding:48px 120px 0;display:flex}.gallery-page__intro-title{font-family:var(--display-font);color:var(--ink);letter-spacing:-.03em;flex:none;margin:0;font-size:38px;font-weight:700;line-height:1.05}.gallery-page__search-wrap{flex:auto;min-width:0;position:relative}.gallery-page__search-icon{width:22px;height:22px;color:var(--ink-soft);pointer-events:none;position:absolute;top:50%;left:22px;transform:translateY(-50%)}.gallery-page__search{border:1.5px solid var(--divider);width:100%;height:60px;color:var(--ink);font:inherit;background:#fff;border-radius:999px;padding:0 24px 0 56px;font-size:17px;transition:border-color .2s,background .2s}.gallery-page__search::placeholder{color:var(--ink-soft)}.gallery-page__search:hover{border-color:var(--ink-soft)}.gallery-page__search:focus-visible{border-color:var(--primary);background:#fff;outline:none;box-shadow:0 0 0 4px #0e90882e}.gallery-page__layout{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:48px;padding:36px 120px 0;display:grid}.gallery-page__sidebar{scrollbar-width:thin;scrollbar-color:var(--divider) transparent;max-height:calc(100vh - 132px);position:sticky;top:108px;overflow-y:auto}.gallery-page__side-list{flex-direction:column;gap:4px;display:flex}.gallery-page__side-item{border-radius:var(--radius-button);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;padding:13px 16px;font-size:15px;font-weight:600;transition:background .2s,color .2s;display:flex}.gallery-page__side-item:hover{background:var(--cream)}.gallery-page__side-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.gallery-page__side-item--active,.gallery-page__side-item--active:hover{background:var(--ink);color:var(--cream)}.gallery-page__cats{min-width:0}.gallery-photos{column-count:3;column-gap:14px}.gallery-photos__tile{background:var(--bg-alt);cursor:zoom-in;break-inside:avoid;border:none;border-radius:16px;width:100%;margin:0 0 14px;padding:0;transition:box-shadow .25s;animation:.4s ease-out both gallery-photos-in;display:block;overflow:hidden;box-shadow:0 2px 10px #3d28171a}.gallery-photos__tile:hover{box-shadow:0 10px 28px #3d281738}.gallery-photos__tile:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.gallery-photos__img{width:100%;transition:transform .45s;display:block}.gallery-photos__tile:hover .gallery-photos__img{transform:scale(1.05)}@keyframes gallery-photos-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.gallery-photos__tile{animation:none}.gallery-photos__img{transition:none}}.gallery-page__empty{color:var(--ink-soft)}.gallery-page__spacer{height:90px}.cat-grid{--cat-cols:3;--cat-gap:16px;grid-template-columns:repeat(var(--cat-cols), 1fr);gap:var(--cat-gap);display:grid}.cat-card{aspect-ratio:4/5;cursor:pointer;background:var(--cream);opacity:0;border:none;border-radius:16px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.cat-card:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.cat-card__img{object-fit:cover;transform-origin:50%;will-change:transform;width:100%;height:100%;display:block}.cat-card__shade{background:linear-gradient(#0000 0%,#3d28171f 45%,#3d2817d1 100%);position:absolute;inset:0}.cat-card__text{text-align:left;padding:16px 18px;position:absolute;bottom:0;left:0;right:0}.cat-card__title{color:#fff;font-family:var(--display-font);letter-spacing:-.01em;font-size:19px;font-weight:700;line-height:1.15}.cat-card__count{color:#ffffffc7;margin-top:3px;font-size:12.5px;font-weight:500}.gallery-overlay{--m-backdrop:#281a0f99;--m-panel:var(--cream);--m-head:var(--cream);--m-stage:var(--bg-alt);--m-text:var(--ink);--m-accent:var(--primary);--m-accent-ink:#fff;--m-line:var(--divider);background:var(--m-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9000;overscroll-behavior:contain;justify-content:center;align-items:center;padding:32px;display:flex;position:fixed;inset:0;overflow:hidden}.gallery-overlay__panel{background:var(--m-panel);border-radius:28px;flex-direction:column;width:min(1160px,100%);height:min(820px,100%);display:flex;position:relative;overflow:hidden;box-shadow:0 40px 100px #140e0973}.gallery-overlay__head{background:var(--m-head);border-bottom:1px solid var(--m-line);flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:28px 36px 22px;display:flex}.gallery-overlay__titles{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.gallery-overlay__title{font-family:var(--display-font);color:var(--m-text);letter-spacing:-.03em;margin:0;font-size:36px;font-weight:700;line-height:1.05}.gallery-overlay__close{border-radius:var(--radius-button);background:var(--ink);width:44px;height:44px;color:var(--cream);cursor:pointer;border:none;flex-shrink:0;justify-content:center;align-items:center;transition:transform .25s cubic-bezier(.2,.8,.2,1),background .2s;display:inline-flex;box-shadow:0 6px 16px #3d281740}.gallery-overlay__close:hover{background:var(--accent);transform:rotate(90deg)}.gallery-overlay__close:focus-visible{outline:2px solid var(--m-accent);outline-offset:3px}.gallery-carousel__stage{background:var(--m-stage);touch-action:pan-y;flex:auto;justify-content:center;align-items:center;min-height:0;padding:20px 84px;display:flex;position:relative}.gallery-carousel__img{object-fit:contain;-webkit-user-select:none;user-select:none;border-radius:12px;max-width:100%;max-height:100%;animation:.35s ease-out gallery-carousel-in;box-shadow:0 20px 60px #00000080}@keyframes gallery-carousel-in{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}.gallery-carousel__nav{border-radius:var(--radius-button);background:var(--cream);width:48px;height:48px;color:var(--ink);cursor:pointer;border:none;justify-content:center;align-items:center;margin-top:-24px;transition:transform .2s,background .2s,color .2s;display:inline-flex;position:absolute;top:50%;box-shadow:0 6px 18px #3d28174d}.gallery-carousel__nav:hover{background:var(--m-accent);color:var(--m-accent-ink);transform:scale(1.08)}.gallery-carousel__nav:focus-visible{outline:2px solid var(--m-accent);outline-offset:3px}.gallery-carousel__nav--prev{left:18px}.gallery-carousel__nav--next{right:18px}.gallery-carousel__counter{background:var(--ink);color:var(--cream);letter-spacing:.04em;pointer-events:none;border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:600;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.gallery-carousel__thumbs{overscroll-behavior:contain;background:var(--m-panel);border-top:1px solid var(--m-line);scrollbar-width:thin;scrollbar-color:var(--m-line) transparent;flex:none;gap:10px;padding:14px 24px;display:flex;overflow-x:auto}.gallery-carousel__thumb{background:var(--m-head);cursor:pointer;opacity:.55;border:2px solid #0000;border-radius:10px;flex:none;width:96px;height:72px;padding:0;transition:opacity .2s,border-color .2s,transform .2s;overflow:hidden}.gallery-carousel__thumb img{object-fit:cover;width:100%;height:100%;display:block}.gallery-carousel__thumb:hover{opacity:1}.gallery-carousel__thumb:focus-visible{outline:2px solid var(--m-text);outline-offset:2px}.gallery-carousel__thumb--active{opacity:1;border-color:var(--m-accent);transform:translateY(-2px)}@media (prefers-reduced-motion:reduce){.gallery-carousel__img{animation:none}}@media (width<=1100px){.gallery-page__layout{grid-template-columns:220px minmax(0,1fr);gap:32px}.cat-grid{--cat-cols:2}.gallery-photos{column-count:2}}@media (width<=820px){.gallery-page__intro{flex-direction:column;align-items:stretch;gap:16px;padding:28px 18px 0}.gallery-page__search-wrap{width:100%}.gallery-page__search{height:54px;font-size:16px}.gallery-page__layout{padding:16px 0 0;display:block}.gallery-page__sidebar{max-height:none;position:static;overflow:visible}.gallery-page__side-list{scrollbar-width:none;flex-direction:row;gap:8px;padding:0 18px 6px;overflow-x:auto}.gallery-page__side-list::-webkit-scrollbar{display:none}.gallery-page__side-item{border:1.5px solid var(--divider);border-radius:var(--radius-button);white-space:nowrap;flex:none;width:auto;min-height:42px;padding:0 16px;font-size:14px}.gallery-page__side-item--active{border-color:var(--ink)}.gallery-page__cats{padding:18px 18px 0}.gallery-page__intro-title{font-size:28px}.gallery-page__spacer{height:60px}.cat-grid{--cat-cols:2;--cat-gap:12px}.gallery-photos{column-count:2;column-gap:12px}.gallery-photos__tile{margin-bottom:12px}.gallery-overlay{padding:0}.gallery-overlay__panel{width:100%;height:100%;box-shadow:none;border-radius:0}.gallery-overlay__head{padding:18px 18px 16px}.gallery-overlay__title{font-size:26px}.gallery-overlay__close{width:40px;height:40px}.gallery-carousel__stage{padding:12px}.gallery-carousel__nav{width:40px;height:40px;margin-top:-20px}.gallery-carousel__nav--prev{left:10px}.gallery-carousel__nav--next{right:10px}.gallery-carousel__thumbs{gap:8px;padding:10px 12px}.gallery-carousel__thumb{width:72px;height:56px}}
