/* Shared visual layer for the existing routes and controls. */
@font-face{font-family:Motion;src:url('/fonts/HelveticaNowDisplay-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Motion;src:url('/fonts/HelveticaNowDisplay-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
html:root,html:root[data-theme=light]{
 --canvas:#f7f6f2;--color-ground:#f7f6f2;--color-bg:#fffefa;--chrome:#f7f6f2;
 --ink:#252924;--color-title:#252924;--color-page-ink:#252924;
 --muted:#5b625a;--color-body:#5b625a;--color-page-ink-60:#5b625a;
 --color-highlight:#b44126;--color-highlight-invert:#b44126;--accent:#b44126;
 --line:#d5d8ce;--color-divider:#d5d8ce;--tile:#e8eae3;--glass:#fffefa;
 --color-disable:#70776c;--scene-opacity:.035;--shade-a:#f7f6f2e8;--shade-b:#f7f6f2fa;
 --content-width:1440px;--page-gutter:clamp(20px,3.5vw,56px);--radius:12px;--font-body:Motion,Arial,sans-serif;
 color-scheme:light;
}
html:root[data-theme=dark]{
 --canvas:#171b17;--color-ground:#171b17;--color-bg:#212721;--chrome:#171b17;
 --ink:#f5f4eb;--color-title:#f5f4eb;--color-page-ink:#f5f4eb;
 --muted:#bbc3b6;--color-body:#bbc3b6;--color-page-ink-60:#bbc3b6;
 --color-highlight:#f4a88d;--color-highlight-invert:#f4a88d;--accent:#f4a88d;
 --line:#4b5548;--color-divider:#4b5548;--tile:#2c342c;--glass:#212721;
 --scene-opacity:.06;--shade-a:#171b17e8;--shade-b:#171b17fa;color-scheme:dark;
}
html:root body{font-family:Motion,var(--font-body),Arial,sans-serif;background:var(--canvas);color:var(--ink)}
html:root :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px;border-radius:4px}
html:root ::selection{background:var(--accent);color:var(--canvas)}
html:root :is(button,a,input,select,textarea){-webkit-tap-highlight-color:transparent}
html:root :is(input,select,textarea){font-size:16px;line-height:1.5;accent-color:var(--accent)}
html:root :is(input,select,textarea):disabled{opacity:.65}
html:root :is(h1,h2,h3,h4,p){text-wrap:pretty}
html:root :is(h1,h2,h3){font-weight:400;letter-spacing:-.045em}
html:root .eyebrow{font:13px/1.4 Motion,Arial,sans-serif;text-transform:none;letter-spacing:.015em;color:var(--muted)}
html:root .film-grain{opacity:.006}
html:root .ea-atmosphere-layer{filter:blur(60px) saturate(.3)}
html:root .cursor-label{display:none!important}
html:root :is(.ea-home-cta,.primary-action){background:var(--accent);border-color:var(--accent);color:#fffefa;min-height:48px!important;font:16px/1.35 Motion,Arial,sans-serif;border-radius:999px;padding:14px 24px!important;text-decoration:none}
html:root[data-theme=dark] :is(.ea-home-cta,.primary-action){color:#171b17}
html:root :is(.ea-home-cta,.primary-action):hover{filter:brightness(.92);background:var(--accent)}
html:root :is(.secondary-action,.ea-save-button,.ea-reel-controls button,.catalog-tabs button){min-height:46px;font:14px/1.4 Motion,Arial,sans-serif;border:1px solid var(--line);background:var(--glass);color:var(--ink);border-radius:999px;box-shadow:none;backdrop-filter:none}
html:root .ea-save-button{padding:11px 18px}
html:root .ea-save-button[data-selected=true]{color:var(--accent);border-color:var(--accent);background:var(--color-bg)}
html:root .ea-save-button[data-selected=true]::before{content:'✓';font-weight:700}
html:root :is(.ea-save-button,.secondary-action):hover{color:var(--ink);border-color:var(--ink);background:var(--tile)}
html:root :is(.text-button,.text-link,.back-link,.company-credit,.agency-site){font:14px/1.5 Motion,Arial,sans-serif;min-height:44px;display:inline-flex;align-items:center}
html:root .catalog-header{width:min(calc(100% - 2 * var(--page-gutter)),var(--content-width));margin:0 auto;padding:24px 0;min-height:92px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;gap:24px}
html:root .catalog-header .brand{font-size:25px;font-weight:700;letter-spacing:-.05em}
html:root .catalog-header nav{font:14px/1.4 Motion,Arial,sans-serif;text-transform:none;gap:26px}
html:root .catalog-header nav a{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
html:root .catalog-header nav [aria-current=page]{text-decoration:underline;text-underline-offset:7px}
html:root .theme-button{width:44px;height:44px;color:var(--ink);border-color:var(--line)}
html:root .catalog-layout{width:min(calc(100% - 2 * var(--page-gutter)),var(--content-width));padding:44px 0 0;margin:0 auto;grid-template-columns:280px minmax(0,1fr);gap:56px}
html:root .catalog-aside{padding:0;min-height:0;max-height:none;position:static;overflow:visible;background:transparent;border:0;border-radius:0}
html:root .catalog-aside h1{font-size:clamp(34px,3vw,46px);line-height:1.08;max-width:11ch;margin:20px 0}
html:root .catalog-aside :is(.intro,.agency-description){font-size:16px;line-height:1.55;margin:0 0 28px;max-width:36ch;color:var(--muted)}
html:root .catalog-content{padding:0;background:transparent;min-height:65svh;border-radius:0}
html:root .filters{gap:20px}
html:root .filters label{font:14px/1.4 Motion,Arial,sans-serif;text-transform:none;gap:9px}
html:root .filters :is(input[type=search],select){font:16px/1.5 Motion,Arial,sans-serif;min-height:48px;padding:11px 12px;background:var(--color-bg);border:1px solid var(--line);border-radius:8px}
html:root .filters .photo-filter{font-size:14px;min-height:44px}
html:root .photo-filter input{width:20px;height:20px}
html:root .aside-foot{font:13px/1.5 Motion,Arial,sans-serif;gap:20px;margin-top:24px;padding-top:20px}
html:root .catalog-toolbar{padding-bottom:20px;gap:16px;flex-wrap:wrap}
html:root .catalog-tabs{gap:8px}
html:root .catalog-tabs button{padding:10px 20px}
html:root .catalog-tabs button[aria-pressed=true]{background:var(--ink);color:var(--canvas);border-color:var(--ink)}
html:root #catalog-count{font:13px/1.4 Motion,Arial,sans-serif;white-space:nowrap}
html:root .catalog-hint{font-size:14px;margin:20px 0 28px;line-height:1.5}
html:root .catalog-hint .catalog-scope-clear{appearance:none;border:0;background:none;color:var(--color-highlight);cursor:pointer;margin-inline-start:2px;padding:2px 0;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:.18em;max-width:100%;white-space:normal}
html:root .catalog-hint .catalog-scope-clear:focus-visible{outline:2px solid var(--color-highlight);outline-offset:2px;border-radius:2px}
html:root .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 28px;align-items:start}
html:root .catalog-grid article{min-width:0;display:flex;flex-direction:column;align-self:stretch;padding-bottom:24px;border-bottom:1px solid var(--line)}
html:root .work-cover{aspect-ratio:3/2;height:auto;min-height:0;width:100%;display:block;border:1px solid transparent;border-radius:var(--radius);background:var(--tile);overflow:hidden;flex:none}
html:root .work-cover img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:50% 50%;display:block;transform:none!important;filter:none!important}
html:root .work-cover.is-empty{display:flex;min-height:0;padding:24px;background:var(--tile);border-color:var(--line)}
html:root .work-cover.is-empty>span{font-family:Motion,Arial,sans-serif}
html:root .work-cover.is-empty>span:nth-child(2){font-size:14px}
html:root .open-arrow{opacity:1;transform:none;width:38px;height:38px;font-size:20px;background:var(--color-bg);border:1px solid var(--line);box-shadow:none}
html:root .company-monogram{color:var(--muted);opacity:1;font-size:48px;font-weight:400}
html:root .card-meta{font:13px/1.5 Motion,Arial,sans-serif;margin:16px 0 8px;text-transform:none;letter-spacing:0}
html:root .catalog-grid :is(h2,h3){font-size:clamp(24px,2.1vw,30px);line-height:1.15;margin:0;overflow-wrap:break-word}
html:root .catalog-grid p{font-size:15px;line-height:1.55;max-width:none;margin:10px 0 0}
html:root .card-actions{padding-top:18px;margin-top:auto;gap:10px 16px;align-items:center}
html:root .card-actions>a{font:14px/1.5 Motion,Arial,sans-serif;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:5px}
html:root .card-actions .ea-save-button{font-size:14px;padding:11px 17px}
html:root .agency-aside h1{max-width:none;overflow-wrap:break-word}
html:root .agency-formats{gap:8px;margin:20px 0}
html:root .agency-formats span{font-size:13px;line-height:1.4;padding:7px 11px;border-radius:999px}
html:root .agency-save{align-self:flex-start}
html:root .agency-heading{margin:0 0 28px;padding-bottom:24px;gap:20px;align-items:flex-start;flex-wrap:wrap}
html:root .agency-heading h2{font-size:34px;line-height:1.15;margin-top:10px}
html:root .agency-heading h2 span{font-size:13px}
html:root .agency-heading .text-link{font-size:14px;white-space:normal}
html:root .agency-content .catalog-grid{grid-template-columns:1fr;gap:40px}
html:root .agency-content .work-cover{max-height:none;aspect-ratio:3/2}
html:root .agency-content .work-cover img{max-height:none}
html:root .agency-content .catalog-grid h3{font-size:32px}
html:root .catalog-footer{width:min(calc(100% - 2 * var(--page-gutter)),var(--content-width));margin:56px auto 0;padding:24px 0 32px;font:14px/1.5 Motion,Arial,sans-serif;gap:20px}
html:root .empty-state{padding:40px 28px;min-height:280px;border:1px solid var(--line);border-radius:var(--radius);background:var(--color-bg)}
html:root .empty-state h2{font-size:32px;line-height:1.15}
html:root .empty-state p{font-size:16px;line-height:1.6}
html:root .empty-state button{min-height:48px;font-size:16px}
.catalog-skeleton{aspect-ratio:3/2;background:var(--tile);border-radius:var(--radius);position:relative;overflow:hidden}
.catalog-skeleton::after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent, #ffffff80,transparent);animation:ea-loading 1.8s infinite}
@keyframes ea-loading{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
/* Keep the template's two-panel stage, entrance and clock. */
html:root .home.is-landing .panels{grid-template-columns:37% minmax(0,1fr);max-width:1680px;margin:auto}
html:root .home.is-landing .panel-left{padding:30px var(--page-gutter)}
html:root .pl-top{font-size:25px;line-height:1.2;letter-spacing:-.05em}
html:root .home.is-landing .ea-home-intro h1{font-size:clamp(38px,3.5vw,58px);line-height:1.06;letter-spacing:-.05em;max-width:12ch}
html:root .home.is-landing .ea-home-copy{font-size:17px;line-height:1.55;max-width:35ch;margin-top:20px}
html:root .home.is-landing .ea-home-cta{margin-top:26px}
html:root .home.is-landing .ea-occasion-picker{margin-top:32px;max-width:none}
html:root .home.is-landing .ea-occasion-picker h2{font-size:16px;line-height:1.5;max-width:none;margin-bottom:12px}
html:root .ea-occasion-options{gap:8px}
html:root .home.is-landing .ea-occasion-options a{font:14px/1.3 Motion,Arial,sans-serif;padding:11px 14px;min-height:44px;border-color:var(--line);background:var(--color-bg);color:var(--ink)}
html:root .home.is-landing .ea-clock-face{min-height:240px;max-height:300px;height:260px}
html:root .site-header{padding:29px var(--page-gutter) 24px 0;min-height:92px}
html:root :is(.site-header-nav a,.site-header-email,.ea-project-nav){font:14px/1.4 Motion,Arial,sans-serif;letter-spacing:0;min-height:44px;display:inline-flex;align-items:center;color:var(--ink)}
html:root .ws-hero,html:root .ws-slide{border-radius:var(--radius)}
html:root .ws img{object-fit:contain!important}
html:root .ws-slide[data-photo-error] img{visibility:hidden}
html:root .ws-slide[data-photo-error]::after{content:"Фотография недоступна";position:absolute;inset:0;display:grid;place-items:center;color:var(--color-body);font:14px var(--font-body);background:var(--color-bg)}
html:root .home.is-landing .ws.ea-photo-reel{touch-action:pan-x pinch-zoom;overscroll-behavior:auto}
html:root .ea-photo-reel .ws-stage{display:none}
html:root .ea-photo-reel .ws-slide{inset:0;width:100%;height:100%;opacity:0;visibility:hidden;will-change:auto}
html:root .ea-photo-reel .ws-in,html:root .ea-photo-reel img{will-change:auto}
html:root .ea-photo-reel img{display:block;width:100%;height:100%;object-position:center}
html.ea-project-transition .home.is-landing .ws.ea-photo-reel{display:block}
html.ea-project-shared .home :is(.ws-slide img,.pm-hero img,.ea-photo-preview){visibility:hidden!important}
html.ea-project-transition .home :is(.reveal-in,.pm-hero,.pl-project,.pr-scroll){transition:none!important;animation:none!important}
html.ea-project-transition .home .pl-project .reveal-in{transform:none!important}
html.ea-project-transition,html.ea-project-transition *{scroll-behavior:auto!important}
.ea-project-flight{border-radius:var(--radius,3px);display:block}
html:root .home.is-landing .ws{right:var(--page-gutter)}
html:root .ea-work-number{font-size:12px;color:var(--muted)}
html:root .ea-work-caption-copy h2{font-size:clamp(26px,2.4vw,38px);line-height:1.12;letter-spacing:-.04em}
html:root .ea-work-caption-copy p{font:14px/1.5 Motion,Arial,sans-serif;margin-bottom:8px}
html:root .ea-work-caption-copy a{font:14px/1.5 Motion,Arial,sans-serif;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
html:root .home.is-landing .ea-reel-controls{right:var(--page-gutter)}
html:root .ea-reel-controls>button:nth-last-child(2){font-size:14px}
html:root .pl-foot{font-size:13px}
/* Case pages keep whole photographs and a readable information column. */
html:root .pl-project-title{font-size:clamp(34px,3.6vw,56px);line-height:1.08;letter-spacing:-.045em;overflow-wrap:break-word}
html:root :is(.pl-project-desc,.project-info-description){font-size:17px;line-height:1.6}
html:root :is(.ea-company-link,.ea-project-source){font:14px/1.5 Motion,Arial,sans-serif;min-height:44px;display:inline-flex;align-items:center}
html:root .pl-project-details{font-size:14px;line-height:1.6;margin-top:26px}
html:root .pr-scroll.is-detail{padding-right:var(--page-gutter)}
html:root .pm{gap:32px}
html:root .pm-hero{border-radius:var(--radius);background:var(--tile)}
html:root .pm-row{gap:32px}
html:root .pm-tile-media{background:var(--tile);border-radius:var(--radius)}
html:root .pm :is(img,video){object-fit:contain!important}
html:root .pm-next-project-label{font-size:clamp(32px,4vw,60px)}
html:root .mobile-nav-surface,html:root .mobile-nav-card{background:var(--color-bg);color:var(--ink);border:1px solid var(--line);box-shadow:0 8px 24px #25292410}
html:root .mobile-nav-card{--color-bg:var(--canvas);--color-title:var(--ink);--color-body:var(--muted);--color-page-ink:var(--ink);--color-page-ink-60:var(--muted);--color-divider:var(--line);--color-highlight:var(--accent);background:var(--glass);backdrop-filter:none}
html:root .mobile-nav :is(button,a){color:var(--ink)}
html:root .mobile-nav-list a{min-height:48px;display:flex;align-items:center}
html:root .mobile-nav-square{width:44px;height:44px;min-width:44px;min-height:44px}
html:root .mobile-nav-toggle{min-height:44px}
html:root .mobile-nav{bottom:max(12px,env(safe-area-inset-bottom));color:var(--ink)}
/* The same form and shortlist, with a consistent reading rhythm. */
html:root .my-project{width:min(calc(100% - 2 * var(--page-gutter)),var(--content-width));padding:44px 0 64px;margin:auto;max-width:none}
html:root .project-intro{gap:60px;padding-bottom:44px}
html:root .project-intro h1{font-size:clamp(38px,4.5vw,64px);line-height:1.08;margin:18px 0}
html:root .project-intro-note{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--color-bg)}
html:root .project-intro-note>span{font-size:22px}
html:root .project-intro-note p{font-size:15px;line-height:1.55}
html:root .project-agency-card{border-radius:var(--radius);background:var(--color-bg);padding:24px}
html:root .project-case-photo{aspect-ratio:3/2;background:var(--tile);border-radius:8px;overflow:hidden;min-height:0}
html:root .project-case-photo img{width:100%;height:100%;max-height:none;object-fit:contain}
html:root .comparison-block :is(p,li,dd){font-size:15px;line-height:1.6}
html:root .comparison-block :is(h4,h5){font-size:16px;line-height:1.45}
html:root .comparison-block .comparison-detail{font-size:14px}
html:root .comparison-block>a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
html:root .comparison-actions button{min-height:44px;font-size:14px}
html:root :is(.project-case-reason p,.project-intro-note a){font-size:14px;line-height:1.55}
html:root #project-review{background:var(--color-bg);border-radius:var(--radius);padding:32px}
html:root .project-handoff{margin-top:48px;gap:28px}
html:root .project-handoff p{font-size:16px;line-height:1.6}
html:root .project-contact{max-width:760px}
html:root #brief-dialog,html:root #replacement-dialog{background:var(--color-bg);border-radius:16px;padding:32px;max-height:calc(100dvh - 32px);color:var(--ink);overscroll-behavior:contain}
html:root .brief-fields label{font:14px/1.5 Motion,Arial,sans-serif}
html:root .brief-fields :is(input:not([type=checkbox]),select,textarea){font:16px/1.5 Motion,Arial,sans-serif;min-height:48px;background:var(--canvas);border-color:var(--line);border-radius:8px;padding:11px 12px}
html:root .brief-fields .brief-check{min-height:44px;font-size:15px}
html:root .brief-check input{width:20px;height:20px}
html:root :is(.brief-close,.ea-notice-close){width:44px;height:44px;min-height:44px}
html:root .ea-selection-notice{background:var(--color-bg);border:1px solid var(--line);color:var(--ink);border-radius:16px;box-shadow:0 12px 48px #25292420}
html:root .ea-notice-actions :is(button,a){min-height:44px;font-size:14px}
html:root .ea-notice-actions a{background:var(--accent);color:#fffefa}
html:root .project-warning{color:var(--accent);font-size:16px;border-left:3px solid var(--accent);padding:12px 16px}
html:root #project-request-result{border-color:var(--accent);background:var(--color-bg);padding:28px;border-radius:var(--radius);scroll-margin:24px}
html:root #project-request-result strong{font-size:26px;line-height:1.2}
html:root .project-empty{padding:36px;border:1px solid var(--line);border-radius:var(--radius);background:var(--color-bg);max-width:none}
html:root .project-empty p{max-width:55ch;font-size:16px}
@media(min-width:901px) and (max-width:1250px){
 html:root .catalog-layout{grid-template-columns:250px minmax(0,1fr);gap:32px}
 html:root .home.is-landing .panels{grid-template-columns:40% minmax(0,1fr)}
 html:root .home.is-landing .ea-home-intro h1{font-size:38px}
 html:root .home.is-landing .ea-home-copy{font-size:16px}
 html:root .site-header-nav{gap:14px}
 html:root .site-header-email{display:none}
 html:root .catalog-grid{gap:32px 22px}
 html:root .card-actions{flex-direction:column;align-items:flex-start}
}
@media(max-width:900px){
 html:root .catalog-layout{grid-template-columns:1fr;gap:32px;padding-top:32px}
 html:root .catalog-aside{position:static;overflow:visible;max-height:none}
 html:root .catalog-aside h1{font-size:clamp(36px,5.5vw,46px);max-width:18ch;margin:14px 0 16px}
 html:root .catalog-aside .intro{max-width:52ch;margin-bottom:24px}
 html:root .filter-options{padding:0 16px;border:1px solid var(--line);border-radius:10px;background:var(--color-bg)}
 html:root .filter-options>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;font:16px/1.4 Motion,Arial,sans-serif;border:0}
 html:root .filter-options:not([open]) .filter-extra{display:none}
 html:root .filter-options[open] .filter-extra{padding:8px 0 16px}
 html:root .filter-selects{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 html:root .filters .search-label{max-width:none}
 html:root .aside-foot{margin-top:20px}
 html:root .catalog-header nav{gap:18px;font-size:14px}
 html:root .agency-layout{gap:36px}
 html:root .agency-description{max-width:65ch!important}
 html:root .agency-content .catalog-grid{grid-template-columns:1fr}
 html:root .home.is-landing .panels{padding:28px 0 116px;max-width:none}
 html:root .home.is-landing .pl-top{margin:0 var(--page-gutter) 34px;font-size:25px}
 html:root .home.is-landing .ea-home-intro{margin:0 var(--page-gutter) 30px;max-width:660px}
 html:root .home.is-landing .ea-home-intro h1{font-size:clamp(38px,6.5vw,56px);max-width:16ch;line-height:1.07}
 html:root .home.is-landing .ea-home-copy{max-width:48ch;font-size:16px;margin-top:18px}
 html:root .home.is-landing .ea-occasion-picker{margin-top:28px}
 html:root .home.is-landing .ea-occasion-options a{min-height:44px}
 html:root .home.is-landing .ws{inset:auto;width:calc(100% - 2 * var(--page-gutter));margin:0 var(--page-gutter);height:auto;aspect-ratio:3/2;min-height:0}
 html:root .home.is-landing .ea-reel-controls{margin:20px var(--page-gutter) 0;inset:auto;grid-template-columns:46px minmax(0,1fr) 46px;gap:20px 10px}
 html:root .home.is-landing .ea-work-caption{gap:16px}
 html:root .home.is-landing .ea-work-caption-copy h2{font-size:30px;overflow-wrap:break-word}
 html:root .home.is-landing .ea-work-number{font-size:12px;min-width:48px}
 html:root .home.is-landing .ea-clock-face{width:calc(100% - 2 * var(--page-gutter));margin:40px var(--page-gutter) 0;height:300px;min-height:300px;max-height:300px}
 html:root .ea-reel-controls>button{width:46px;height:46px}
 html:root .ea-reel-controls>button:nth-last-child(2){width:100%;font-size:14px}
 html:root .pr-scroll.is-detail{padding:24px var(--page-gutter) 116px}
 html:root .project-info-card{padding:28px;max-height:calc(100dvh - 32px)}
 html:root .my-project{padding-top:32px}
 html:root .project-intro{gap:24px;grid-template-columns:1fr}
 html:root .project-intro-note{max-width:none}
 html:root #project-board,html:root #project-board[data-count]{grid-template-columns:1fr}
 html:root .project-agency-card{padding:24px}
 html:root .project-handoff{grid-template-columns:1fr}
 html:root #project-review{padding:24px;gap:28px}
 html:root .ea-selection-notice{bottom:20px;max-height:calc(100dvh - 40px);overflow-y:auto}
 html:root:has(.home) .ea-selection-notice{bottom:90px;max-height:calc(100dvh - 110px)}
 html:root:has(input:focus,textarea:focus,select:focus) .mobile-nav{visibility:hidden}
}
@media(max-width:600px){
 html:root{--page-gutter:20px}
 html:root .catalog-header{flex-wrap:wrap;gap:10px 20px;padding:18px 0 12px}
 html:root .catalog-header nav{order:3;width:100%;margin:0;gap:8px;justify-content:space-between;font-size:13px}
 html:root .catalog-header nav a{min-height:44px}
 html:root .theme-button{margin-left:auto}
 html:root .catalog-grid{grid-template-columns:1fr;gap:28px}
 html:root .catalog-aside h1{font-size:38px}
 html:root .catalog-toolbar{gap:12px}
 html:root .catalog-tabs button{font-size:14px;padding:10px 18px}
 html:root #catalog-count{font-size:12px}
 html:root .catalog-grid :is(h2,h3),html:root .agency-content .catalog-grid h3{font-size:28px}
 html:root .catalog-grid p{font-size:15px}
 html:root .filter-selects{grid-template-columns:1fr}
 html:root .agency-heading{flex-direction:column;gap:12px}
 html:root .agency-heading h2{font-size:30px}
 html:root .agency-heading .text-link{align-self:flex-start}
 html:root .catalog-footer{flex-direction:column;gap:12px;margin-top:36px}
 html:root .home.is-landing .ea-home-intro h1{font-size:38px;max-width:13ch}
 html:root .home.is-landing .ea-home-copy{font-size:16px}
 html:root .home.is-landing .ea-work-caption{flex-wrap:wrap;gap:8px}
 html:root .home.is-landing .ea-work-caption-copy{flex-basis:100%;display:block}
 html:root .ea-work-caption .ea-save-button{margin-top:16px;font-size:14px}
 html:root .home.is-landing .ea-clock-face{margin-top:32px}
 html:root .project-intro h1{font-size:40px}
 html:root .project-section-heading h2{font-size:30px}
 html:root .project-handoff h2{font-size:34px}
 html:root .project-agency-card{padding:20px}
 html:root #project-review{padding:20px}
 html:root #brief-dialog,html:root #replacement-dialog{padding:24px 20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 html:root .brief-fields{grid-template-columns:1fr}
 html:root #brief-dialog h2{font-size:30px;padding-right:22px}
 html:root .brief-fields textarea{min-height:132px}
 html:root .project-empty{padding:24px}
 html:root .draft-result-actions :is(button,a){width:100%}
 html:root .request-review-heading{flex-wrap:wrap;gap:4px 16px}
}
@media(prefers-reduced-motion:reduce){.catalog-skeleton::after{animation:none}html:root *{scroll-behavior:auto!important}}
.ea-case-mobile-head{display:none}
html:root [aria-invalid=true]{border:2px solid var(--accent)!important}
@media(max-width:900px){
 .ea-case-mobile-head{display:block;min-width:0;padding:4px 0 6px}
 .ea-case-mobile-head>a{font:14px/1.5 Motion,Arial,sans-serif;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;color:var(--muted)}
 html:root .ea-case-mobile-head h1{font:400 clamp(34px,6vw,46px)/1.1 Motion,Arial,sans-serif;letter-spacing:-.045em;margin:14px 0;overflow-wrap:break-word}
 .ea-case-mobile-head p{font:16px/1.5 Motion,Arial,sans-serif;color:var(--muted);margin:0 0 20px}
 html:root .ea-case-mobile-head .ea-save-button{font-size:15px;min-height:48px}
 html:root .pr-ctrl{min-height:48px;height:48px;min-width:48px;background:var(--color-bg);color:var(--ink);border:1px solid var(--line)}
 html:root .pr-info{width:auto;padding:0 16px;display:flex;align-items:center;gap:8px;border-radius:999px}
 html:root .pr-info::after{content:'О событии';font:14px/1.4 Motion,Arial,sans-serif}
 html:root .pr-close{width:48px}
}
@media(min-width:901px){
 html:root .home.is-landing .ea-home-intro h1{max-width:none;font-size:clamp(36px,3vw,52px)}
 html:root .home.is-landing .ea-home-copy{font-size:16px}
}
@media(min-width:901px) and (max-height:800px){
 html:root .home.is-landing .ea-clock-face{min-height:210px;height:210px;max-height:210px}
 html:root .home.is-landing .ea-home-intro h1{font-size:36px}
 html:root .home.is-landing .ea-home-copy{margin-top:16px}
 html:root .home.is-landing .ea-home-cta{margin-top:20px}
 html:root .home.is-landing .ea-occasion-picker{margin-top:24px}
}

.ea-help-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin:12px 0;font-size:14px;line-height:1.4;text-decoration:none;min-height:44px;padding:10px 16px;border:1px solid currentColor;border-radius:28px;box-sizing:border-box}.catalog-hint:empty{display:none}

/* A soft contact shadow ties the home photograph to the page. */
html:root .home.is-landing .ea-photo-reel .ws-in{filter:drop-shadow(0 16px 18px #17251f24)}


/* Photo-sized surfaces, rather than shadows around the full reel viewport. */
html:root .home.is-landing .ea-photo-reel{overflow:visible;isolation:isolate}
html:root .home.is-landing .ea-photo-reel .ws-slides{z-index:1;overflow:hidden}
html:root .home.is-landing .ea-photo-reel .ws-slide{overflow:visible}
html:root .home.is-landing .ea-photo-reel .ws-in{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%) perspective(1400px) rotateY(-3deg) rotateX(1.5deg) rotateZ(-.7deg);border-radius:12px;overflow:hidden;filter:none;box-shadow:0 2px 4px #17251f12,0 18px 30px -10px #17251f40,0 45px 70px -25px #17251f40;outline:1px solid #ffffff40;outline-offset:-1px}
html:root .home.is-landing .ea-photo-reel .ws-in::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 1px 1px #ffffff55;background:linear-gradient(125deg,#ffffff0a,transparent 40%)}
.ea-reel-ambient{position:absolute;inset:-8% -5%;pointer-events:none;z-index:0;opacity:.34;filter:blur(55px) saturate(.8);mask-image:radial-gradient(ellipse,#000 12%,transparent 70%)}
html:root .ea-photo-reel .ea-reel-ambient img{position:absolute;width:100%;height:100%;object-fit:cover!important}
html[data-theme=dark] .ea-reel-ambient{opacity:.45}
@media(max-width:900px){html:root .home.is-landing .ea-photo-reel .ws-in{transform:translate(-50%,-50%) perspective(1000px) rotateY(-2deg) rotateZ(-.5deg);border-radius:9px}.ea-reel-ambient{filter:blur(30px);inset:-8% 0}}
@media(prefers-reduced-motion:reduce){html:root .home.is-landing .ea-photo-reel .ws-in{transform:translate(-50%,-50%)}}

/* Quiet depth: neutral geometry and restrained reflected colour. */
html:root .home.is-landing .ea-photo-reel .ws-in{transform:translate(-50%,-50%);border-radius:6px;box-shadow:0 3px 9px #17251f0a,0 16px 32px -16px #17251f28;outline:none}
html:root .home.is-landing .ea-photo-reel .ws-in::after{background:none;box-shadow:none}
html:root .home.is-landing .ea-reel-ambient{opacity:.09;filter:blur(70px) saturate(.45)}
html[data-theme=dark] .home.is-landing .ea-reel-ambient{opacity:.16}
@media(max-width:900px){html:root .home.is-landing .ea-reel-ambient{filter:blur(40px) saturate(.45)}}

/* Restrained reflected colour and a soft shadow for catalog photographs. */
html:root .catalog-grid .work-cover.has-photo-depth{position:relative;isolation:isolate;background:transparent;border:0;border-radius:6px;padding:8px;box-shadow:0 2px 5px #17251f06,0 12px 24px -16px #17251f25}
html:root .catalog-grid .has-photo-depth>img{position:relative;z-index:1;border-radius:4px}
.catalog-photo-ambient{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.09;filter:blur(25px) saturate(.5);mask-image:radial-gradient(ellipse,#000 15%,transparent 78%)}
html:root .catalog-photo-ambient img{width:100%;height:100%;object-fit:cover!important}
html:root .catalog-grid .has-photo-depth .open-arrow{z-index:2}
html[data-theme=dark] .catalog-photo-ambient{opacity:.14}
html[data-theme=dark] .catalog-grid .work-cover.has-photo-depth{box-shadow:0 3px 8px #0002,0 12px 24px -16px #0005}

/* A soft circular pointer in every interaction state. */
html:root .cursor-box{display:none!important}
html:root .cursor .cursor-dot{width:8px;height:8px;border-radius:50%;background:#65584e;opacity:.8;box-shadow:0 0 0 4px #65584e0a,0 0 8px #65584e24;transform:scale(1);transition:transform .22s ease-out,background-color .22s ease-out}
html:root .cursor[data-mode]:not([data-mode=""]) .cursor-dot{transform:scale(1.35)}
html[data-theme=dark] .cursor .cursor-dot{background:#e5ded3;box-shadow:0 0 0 4px #e5ded30a,0 0 8px #e5ded324}
@media(prefers-reduced-motion:reduce){html:root .cursor .cursor-dot{transition:none}}

.ea-static-cursor{position:fixed;top:0;left:0;z-index:10001;display:grid;place-items:center;pointer-events:none;opacity:0;transition:opacity .15s ease-out}

/* Replace the actual pointer, without a second following indicator. */
html:root .cursor,html:root .cursor-label{display:none!important}
@media(pointer:fine){
 html{--ea-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2210%22%20fill%3D%22%2365584e%22%20opacity%3D%22.08%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%228%22%20fill%3D%22%2365584e%22%20opacity%3D%22.12%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%226%22%20fill%3D%22%2365584e%22%20opacity%3D%221%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.65%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E") 16 16,auto;--ea-pointer-link:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2212%22%20fill%3D%22%2365584e%22%20opacity%3D%22.08%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2210%22%20fill%3D%22%2365584e%22%20opacity%3D%22.12%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%228%22%20fill%3D%22%2365584e%22%20opacity%3D%221%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.65%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E") 16 16,pointer}
 html[data-theme=dark]{--ea-pointer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2210%22%20fill%3D%22%23e5ded3%22%20opacity%3D%22.08%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%228%22%20fill%3D%22%23e5ded3%22%20opacity%3D%22.12%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%226%22%20fill%3D%22%23e5ded3%22%20opacity%3D%221%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.65%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E") 16 16,auto;--ea-pointer-link:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2212%22%20fill%3D%22%23e5ded3%22%20opacity%3D%22.08%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2210%22%20fill%3D%22%23e5ded3%22%20opacity%3D%22.12%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%228%22%20fill%3D%22%23e5ded3%22%20opacity%3D%221%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.65%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E") 16 16,pointer}
 html:root,html:root body,html:root body *{cursor:var(--ea-pointer)!important}
 html:root :is(a,button,select,[role=button],[role=checkbox],[data-media-index],[data-cursor=see]),html:root :is(a,button,[role=button]) *{cursor:var(--ea-pointer-link)!important}
 html:root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,[contenteditable=true]){cursor:text!important}
}
