/* Service drawer + portfolio filter — overlay for ui_kits/direction-c/index.html */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(28,20,10,0.65); backdrop-filter: blur(6px); z-index: 300; opacity: 0; pointer-events: none; transition: opacity 280ms var(--ease-out-soft); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 92vw); background: var(--bg); z-index: 301; transform: translateX(100%); transition: transform 420ms var(--ease-out-soft); display: flex; flex-direction: column; border-left: 1px solid var(--border-strong); overflow: hidden; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 32px; border-bottom: 1px solid var(--border-hairline); flex-shrink: 0; gap: 16px; }
.drawer-head .num { font: var(--type-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.drawer-head .close { width: 36px; height: 36px; border: 1px solid var(--border-hairline); background: transparent; color: var(--fg); border-radius: 50%; cursor: pointer; font: 500 18px/1 var(--font-mono); display: flex; align-items: center; justify-content: center; transition: all var(--dur-base); flex-shrink: 0; }
.drawer-head .close:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.drawer-body { padding: 32px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.drawer-body h2 { font: 500 40px/1.05 var(--font-display); letter-spacing: -0.02em; margin: 0; color: var(--fg); }
.drawer-body h2 em { color: var(--accent); font-style: normal; }
.drawer-body .sub { font: var(--type-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--border-hairline); }
.drawer-body .copy p { font: 400 15px/1.6 var(--font-sans); color: var(--fg); margin: 0 0 12px; }
.drawer-body .copy p em { color: var(--accent); font-style: normal; font-weight: 500; }
.drawer-body .copy p:last-child { margin-bottom: 0; color: var(--fg-muted); }
.drawer-body .examples-label { font: var(--type-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin: 8px 0 -8px; }
.drawer-body .examples { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-body .ex-tile { aspect-ratio: 4/5; border: 1px solid var(--border-hairline); border-radius: 4px; overflow: hidden; background: var(--bg-elev); position: relative; }
.drawer-body .ex-tile img, .drawer-body .ex-tile video { width: 100%; height: 100%; object-fit: cover; }
.drawer-body .ex-tile .cap { position: absolute; bottom: 8px; left: 8px; background: rgba(28,20,10,0.7); color: var(--fg); padding: 3px 8px; font: var(--type-mono-sm); letter-spacing: 0.08em; border-radius: 3px; backdrop-filter: blur(8px); }
.drawer-foot { padding: 20px 32px; border-top: 1px solid var(--border-hairline); display: flex; flex-direction: column; gap: 10px; background: var(--bg-elev); flex-shrink: 0; }
.drawer-foot .cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--accent-fg); padding: 14px 20px; font: 500 15px/1 var(--font-sans); border: none; border-radius: 4px; cursor: pointer; transition: all var(--dur-base); }
.drawer-foot .cta:hover { background: var(--fg); color: var(--bg); }
.drawer-foot .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: transparent; color: var(--fg); padding: 14px 20px; font: 500 15px/1 var(--font-sans); border: 1px solid var(--border-strong); border-radius: 4px; cursor: pointer; transition: all var(--dur-base); }
.drawer-foot .ghost:hover { background: var(--fg); color: var(--bg); }
.drawer-foot .ghost .arrow { font-family: var(--font-mono); transition: transform var(--dur-base); }
.drawer-foot .ghost:hover .arrow { transform: translateX(4px); }
.case-c.hidden { display: none; }
