/* The agency site: one 800x600 stage on black, scaled to the window like a movie set to show all.
   On a phone the stage is 400 wide and as tall as the screen. Everything inside is sized in stage pixels. */
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
body.scrolly { overflow-y: auto; }
#wrap { position: relative; width: 100%; height: 100%; overflow: hidden; }
* { box-sizing: border-box; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 1px dotted currentColor; outline-offset: 2px; }
[hidden] { display: none !important; }

.stage {
  --px: 8px; --hub-bg: #0a0b0d; --hub-fg: #e8ebee; --hub-mut: #7c8590; --hub-acc: #ff7a00; --hub-line: #262a30;
  position: absolute; left: 0; top: 0; width: 800px; height: 600px; transform-origin: 0 0; overflow: hidden;
  background: #000; color: var(--hub-fg); font: 12px/1.45 Verdana, Geneva, Tahoma, sans-serif;
  cursor: var(--cur, default); user-select: none; -webkit-user-select: none; contain: layout paint;
  -webkit-text-size-adjust: 100%;
}
.stage.tall { --px: 10px; font-size: 13px; }
.stage a { cursor: inherit; }
.px { font-family: 'Silkscreen', 'Courier New', monospace; font-size: var(--px); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; -webkit-font-smoothing: none; }
.scr { position: absolute; inset: 0; }

/* ---------------------------------------------------------------- loader */
.loader { display: grid; place-items: center; background: #000; z-index: 30; transition: opacity .35s; }
.loader.out { opacity: 0; pointer-events: none; }
.ld-in { width: 220px; display: grid; gap: 8px; }
.ld-pct { font-family: 'Michroma', Verdana, sans-serif; font-size: 34px; letter-spacing: .04em; color: #fff; line-height: 1; }
.ld-pct small { font-size: 14px; color: var(--hub-acc); margin-left: 4px; }
.ld-bar { height: 1px; background: #2a2a2a; position: relative; }
.ld-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--hub-acc); box-shadow: 0 0 8px var(--hub-acc); }
.ld-lab { color: #8a8a8a; display: flex; justify-content: space-between; }
.ld-lab::after { content: ''; width: 6px; height: 6px; background: var(--hub-acc); animation: blink 0.6s steps(1) infinite; align-self: center; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------------------- splash */
.splash { background: radial-gradient(120% 80% at 50% 38%, #15171b 0%, #050506 70%); }
.sp-band { position: absolute; left: 36px; top: 84px; width: 728px; height: 296px; display: flex; gap: 1px; }
.sp-slice { flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; background: #111 center / auto 100% no-repeat; transition: flex-grow .45s cubic-bezier(.2,.8,.2,1), filter .3s; filter: saturate(.9) brightness(.86); }
.sp-slice::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.45)); }
.sp-band.live .sp-slice { animation: pan var(--pd, 40s) linear infinite alternate; }
@keyframes pan { from { background-position: 30% 50%; } to { background-position: 70% 50%; } }
.sp-band:hover .sp-slice { filter: saturate(.5) brightness(.55); }
.sp-band .sp-slice.hot { flex-grow: 14; filter: saturate(1.05) brightness(1.02); }
.sp-marks i { position: absolute; width: 14px; height: 14px; border-color: #5a5f66; border-style: solid; border-width: 0; }
.sp-marks i:nth-child(1) { left: 22px; top: 70px; border-left-width: 1px; border-top-width: 1px; }
.sp-marks i:nth-child(2) { right: 22px; top: 70px; border-right-width: 1px; border-top-width: 1px; }
.sp-marks i:nth-child(3) { left: 22px; top: 386px; border-left-width: 1px; border-bottom-width: 1px; }
.sp-marks i:nth-child(4) { right: 22px; top: 386px; border-right-width: 1px; border-bottom-width: 1px; }
.sp-name { position: absolute; left: 0; right: 0; top: 414px; margin: 0; text-align: center; font: 400 28px/1 'Michroma', Verdana, sans-serif; letter-spacing: .34em; padding-left: .34em; color: #fff; white-space: nowrap; }
.sp-name span { display: inline-block; }
.sp-rule { position: absolute; left: 50%; top: 462px; width: 300px; margin-left: -150px; height: 1px; background: linear-gradient(90deg, transparent, var(--hub-acc) 30%, var(--hub-acc) 70%, transparent); }
.sp-enter { position: absolute; left: 50%; top: 486px; transform: translateX(-50%); font-size: 16px; color: #fff; padding: 8px 14px; letter-spacing: .22em; }
.sp-enter::before, .sp-enter::after { content: '['; color: var(--hub-acc); position: relative; display: inline-block; transition: transform .25s; margin-right: 10px; }
.sp-enter::after { content: ']'; margin: 0 0 0 4px; }
.sp-enter:hover::before, .sp-enter:focus-visible::before { transform: translateX(-8px); }
.sp-enter:hover::after, .sp-enter:focus-visible::after { transform: translateX(8px); }
.sp-enter.blink { animation: enterblink 1.4s steps(1) infinite; }
@keyframes enterblink { 70% { color: #fff; } 85% { color: #555; } }
.sp-map { position: absolute; left: 50%; top: 540px; transform: translateX(-50%); color: #6c737c; padding: 6px 10px; }
.sp-map:hover, .sp-map:focus-visible { color: var(--hub-acc); }
.tall .sp-band { left: 16px; top: 76px; width: 368px; height: calc(var(--H) - 340px); max-height: 440px; }
.tall .sp-marks i:nth-child(1), .tall .sp-marks i:nth-child(3) { left: 6px; }
.tall .sp-marks i:nth-child(2), .tall .sp-marks i:nth-child(4) { right: 6px; }
.tall .sp-marks i:nth-child(1), .tall .sp-marks i:nth-child(2) { top: 64px; }
.tall .sp-marks i:nth-child(3), .tall .sp-marks i:nth-child(4) { top: calc(76px + min(440px, var(--H) - 340px) - 2px); }
.tall .sp-name { top: calc(76px + min(440px, var(--H) - 340px) + 34px); font-size: 17px; letter-spacing: .3em; }
.tall .sp-rule { top: calc(76px + min(440px, var(--H) - 340px) + 70px); width: 220px; margin-left: -110px; }
.tall .sp-enter { top: calc(76px + min(440px, var(--H) - 340px) + 92px); }
.tall .sp-map { top: calc(76px + min(440px, var(--H) - 340px) + 146px); }

/* ---------------------------------------------------------------- hub */
.hub { background: radial-gradient(90% 70% at 30% 0%, #1a1d22 0%, var(--hub-bg) 60%); }
.hub::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 6px 6px; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hub-head { position: absolute; left: 0; right: 0; top: 0; height: 56px; }
.hub-logo { position: absolute; left: 24px; top: 19px; display: flex; align-items: center; gap: 10px; font: 400 14px/1 'Michroma', Verdana, sans-serif; letter-spacing: .3em; color: #fff; white-space: nowrap; }
.hub-logo i { width: 9px; height: 9px; background: var(--hub-acc); box-shadow: 0 0 10px var(--hub-acc); }
.hub-nav { position: absolute; right: 18px; top: 18px; display: flex; gap: 4px; }
.hub-nav button { position: relative; padding: 6px 10px 7px; color: var(--hub-mut); font-size: 10px; }
.hub-nav button::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 2px; background: var(--hub-acc); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.hub-nav button:hover, .hub-nav button:focus-visible, .hub-nav button.on { color: #fff; }
.hub-nav button:hover::after, .hub-nav button:focus-visible::after, .hub-nav button.on::after { transform: scaleX(1); }
.hub-line { position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px; background: var(--hub-line); }
.hub-line b { position: absolute; left: 0; top: -1px; width: 64px; height: 3px; background: var(--hub-acc); }
.hub-main { position: absolute; left: 0; right: 0; top: 56px; bottom: 44px; }
.hv { position: absolute; inset: 0; }
.hub-foot { position: absolute; left: 24px; right: 24px; bottom: 0; height: 44px; border-top: 1px solid var(--hub-line); }
.hub-foot button { position: absolute; left: -6px; top: 11px; padding: 6px; color: var(--hub-mut); font-size: 10px; }
.hub-foot button:hover, .hub-foot button:focus-visible, .hub-foot button.on { color: var(--hub-acc); }

/* the work grid: a 2x2 monitor and the buttons, best work first */
.grid { position: absolute; left: 25px; top: 12px; display: grid; grid-template-columns: repeat(6, 120px); grid-auto-rows: 66px; gap: 6px; }
.mon { grid-area: 1 / 1 / 3 / 3; position: relative; background: #000; border: 1px solid #3a3f46; box-shadow: 0 0 0 3px #0d0f12, 0 0 0 4px #24282e, inset 0 0 30px rgba(0,0,0,.8); }
.mon-scr { position: absolute; inset: 4px; overflow: hidden; background: #000; }
.mon-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
#mon-a { z-index: 2; } #mon-b { z-index: 1; }
.mon-fx { position: absolute; inset: 4px; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.18) 2px 3px), linear-gradient(160deg, rgba(255,255,255,.12), transparent 40%); }
.cm { position: absolute; width: 8px; height: 8px; border: 0 solid var(--hub-acc); }
.cm.tl { left: -6px; top: -6px; border-left-width: 1px; border-top-width: 1px; }
.cm.tr { right: -6px; top: -6px; border-right-width: 1px; border-top-width: 1px; }
.cm.bl { left: -6px; bottom: -6px; border-left-width: 1px; border-bottom-width: 1px; }
.cm.br { right: -6px; bottom: -6px; border-right-width: 1px; border-bottom-width: 1px; }
.tile { --tc: #ff7a00; position: relative; display: block; overflow: hidden; background: #000; border: 1px solid color-mix(in srgb, var(--tc) 45%, #000); box-shadow: 0 0 7px color-mix(in srgb, var(--tc) 28%, transparent); transition: box-shadow .2s, border-color .2s, transform .2s; }
.tile .tl-img { position: absolute; inset: 0; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.8) saturate(.92); transition: filter .2s, transform .4s; }
.tile .tl-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.04) 46%, rgba(255,255,255,0) 50%); pointer-events: none; }
.tile .tl-img::before { content: ''; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; z-index: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
.tile .tl-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 3px 4px 2px; background: rgba(0,0,0,.82); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateY(101%); transition: transform .18s; }
.tile:hover, .tile:focus-visible, .tile.on { border-color: var(--tc); box-shadow: 0 0 16px var(--tc), 0 0 2px var(--tc); z-index: 1; }
.tile:hover img, .tile:focus-visible img, .tile.on img { filter: brightness(1.06) saturate(1.1); transform: scale(1.06); }
.tile:hover .tl-img::before, .tile:focus-visible .tl-img::before { animation: shine .55s ease-out; }
.tile:hover .tl-name, .tile:focus-visible .tl-name { transform: none; }
.tile:focus-visible { outline: 1px solid #fff; outline-offset: 1px; }
.tile.wave { box-shadow: 0 0 12px var(--tc); border-color: var(--tc); }
@keyframes shine { from { left: -40%; opacity: 1; } to { left: 120%; opacity: 1; } }
.info { position: absolute; left: 25px; right: 25px; top: 380px; height: 100px; border-top: 1px solid var(--hub-line); padding-top: 12px; }
.info-top { display: flex; align-items: baseline; gap: 14px; }
.info-name { font: 400 17px/1.1 'Michroma', Verdana, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.info-client { color: var(--hub-acc); }
.info-desc { margin-top: 9px; color: #9aa3ad; font-size: 12px; line-height: 1.55; max-width: 720px; min-height: 36px; }
.info-desc::after { content: '_'; color: var(--hub-acc); animation: blink .8s steps(1) infinite; }

/* about */
.hv-about { padding: 26px 25px 0; display: grid; grid-template-columns: 330px 1fr; gap: 36px; }
.ab-me h2 { margin: 0; font: 400 24px/1.15 'Michroma', Verdana, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ab-role { color: var(--hub-acc); margin-top: 12px; }
.ab-bio { margin-top: 14px; color: #c9ced4; font-size: 12px; line-height: 1.6; }
.ab-loc { margin-top: 14px; color: var(--hub-mut); }
.ab-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hbtn { display: inline-block; padding: 7px 10px 6px; border: 1px solid #3a3f46; color: #fff; text-decoration: none; position: relative; overflow: hidden; background: linear-gradient(180deg, #1d2025, #121418); }
.hbtn::before { content: ''; position: absolute; inset: 0; background: var(--hub-acc); transform: scaleX(0); transform-origin: left; transition: transform .2s; z-index: 0; }
.hbtn span { position: relative; z-index: 1; }
.hbtn:hover::before, .hbtn:focus-visible::before { transform: scaleX(1); }
.hbtn:hover, .hbtn:focus-visible { color: #000; border-color: var(--hub-acc); }
.ab-exp { overflow-y: auto; max-height: 456px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--hub-acc) #16181c; }
.ab-exp div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 7px; border-bottom: 1px solid var(--hub-line); }
.ab-exp b { font-weight: 400; color: #e3e6ea; font-size: 12px; }
.ab-exp span { color: var(--hub-mut); white-space: nowrap; padding-top: 2px; }
.tall .hv-about { grid-template-columns: 1fr; gap: 24px; overflow-y: auto; padding: 22px 16px 30px; }
.tall .ab-exp { max-height: none; overflow: visible; }

/* sitemap: the whole site as a tree */
.hv-map { padding: 24px 25px 0; display: grid; grid-template-columns: 150px 96px 1fr; align-items: start; }
.mp-node { display: inline-block; padding: 6px 9px 5px; border: 1px solid #3a3f46; background: #121418; color: #fff; white-space: nowrap; font-size: 10px; }
button.mp-node:hover, button.mp-node:focus-visible { border-color: var(--hub-acc); color: var(--hub-acc); }
.mp-root { margin-top: 220px; position: relative; }
.mp-root::after { content: ''; position: absolute; left: 100%; top: 50%; width: 22px; height: 1px; background: #4a5058; }
.mp-mid { position: relative; margin-top: 30px; height: 420px; border-left: 1px solid #4a5058; }
.mp-mid .mp-node { position: absolute; left: 14px; }
.mp-mid .mp-node::before { content: ''; position: absolute; right: 100%; top: 50%; width: 14px; height: 1px; background: #4a5058; }
.mp-mid .mp-work { top: 0; }
.mp-mid .mp-about { bottom: 0; }
.mp-mid .mp-work::after { content: ''; position: absolute; left: 100%; top: 50%; width: 30px; height: 1px; background: #4a5058; }
.mp-list { columns: 2; column-gap: 18px; border-left: 1px solid #4a5058; padding: 4px 0 4px 0; margin-top: 12px; }
.mp-list button { display: flex; align-items: center; gap: 0; width: 100%; break-inside: avoid; padding: 4px 6px 4px 0; color: #b8bfc7; text-align: left; white-space: nowrap; font-size: 10px; }
.mp-list button::before { content: ''; width: 12px; height: 1px; background: #4a5058; margin-right: 7px; flex: none; }
.mp-list button:hover, .mp-list button:focus-visible { color: var(--hub-acc); }
.mp-list button:hover::before { background: var(--hub-acc); }
.tall .hv-map { display: block; overflow-y: auto; padding: 20px 16px 30px; }
.tall .mp-root { margin: 0; }
.tall .mp-root::after { display: none; }
.tall .mp-mid { height: auto; margin: 10px 0 0 10px; padding: 10px 0 0; border: 0; display: grid; gap: 10px; }
.tall .mp-mid .mp-node { position: relative; left: 0; justify-self: start; }
.tall .mp-mid .mp-about { order: 3; }
.tall .mp-mid .mp-work::after { display: none; }
.tall .mp-list { columns: 1; margin: 0 0 0 10px; order: 2; }
.tall .mp-list button { padding: 6px 6px 6px 0; }

/* phone hub */
.tall .hub-head { height: 50px; }
.tall .hub-logo { left: 16px; top: 18px; font-size: 11px; letter-spacing: .24em; gap: 8px; }
.tall .hub-logo i { width: 7px; height: 7px; }
.tall .hub-nav { right: 8px; top: 12px; }
.tall .hub-line { left: 16px; right: 16px; }
.tall .hub-main { top: 50px; bottom: 44px; }
.tall .hv-work { overflow-y: auto; overflow-x: hidden; }
.tall .grid { position: relative; left: 0; top: 0; margin: 14px 16px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px 8px; }
.tall .mon { grid-area: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tall .info { position: relative; left: 0; right: 0; top: 0; height: auto; grid-column: 1 / -1; padding: 8px 0 6px; border-top: 0; }
.tall .info-top { flex-wrap: wrap; gap: 4px 10px; }
.tall .info-name { font-size: 14px; white-space: normal; }
.tall .info-desc { font-size: 12px; min-height: 0; }
.tall .tile { height: auto; display: flex; flex-direction: column; overflow: visible; border: 0; box-shadow: none; background: none; }
.tall .tile .tl-img { position: relative; aspect-ratio: 16 / 9; border: 1px solid color-mix(in srgb, var(--tc) 50%, #000); box-shadow: 0 0 7px color-mix(in srgb, var(--tc) 30%, transparent); }
.tall .tile .tl-name { position: static; transform: none; background: none; padding: 5px 0 0; white-space: normal; color: #c8ced5; line-height: 1.25; text-align: left; }
.tall .tile.on .tl-img { border-color: var(--tc); box-shadow: 0 0 14px var(--tc); }
.tall .hub-foot { left: 16px; right: 16px; }
.tall .hub-foot button { left: -6px; }

/* ---------------------------------------------------------------- global chrome */
.skip { position: absolute; right: 12px; top: 10px; z-index: 40; color: #fff; padding: 6px 8px; background: rgba(0,0,0,.45); }
.skip b { font-weight: 400; color: var(--skip, var(--hub-acc)); }
.skip:hover, .skip:focus-visible { background: #000; }
.snd { position: absolute; right: 10px; bottom: 9px; z-index: 40; display: flex; align-items: flex-end; gap: 5px; padding: 6px 7px; height: 26px; color: var(--snd, #9aa3ad); }
.snd svg { width: 12px; height: 12px; fill: currentColor; align-self: center; }
.snd .bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.snd .bars i { width: 2px; height: 2px; background: currentColor; }
.snd[aria-pressed="true"] { color: var(--snd-on, var(--hub-acc)); }
.snd:hover { filter: brightness(1.3); }
.snd.on-light { background: rgba(255,255,255,.55); }
#trail { position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border: 1px solid #fff; mix-blend-mode: difference; pointer-events: none; z-index: 100; opacity: 0; transition: opacity .2s; }
#trail.on { opacity: .9; }
.loupe { position: fixed; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #000, 0 6px 24px rgba(0,0,0,.6); background-repeat: no-repeat; background-color: #000; pointer-events: none; z-index: 90; opacity: 0; transition: opacity .15s; }
.loupe.on { opacity: 1; }
.wipe { position: absolute; z-index: 35; pointer-events: none; }

/* ---------------------------------------------------------------- microsites */
.ms { --bg1: #111; --bg2: #222; --fg: #fff; --mut: #aaa; --acc: #f70; --ink: #000; --df: 'Michroma', sans-serif;
  background: linear-gradient(165deg, var(--bg1) 0%, var(--bg2) 100%); color: var(--fg); overflow: hidden; z-index: 10; }
.ms-motif { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ms-motif canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ms-body { position: absolute; inset: 0; display: grid; }
.ms.intro .ms-body { visibility: hidden; }
.ms-hero { position: relative; overflow: hidden; min-height: 0; }
.ms-hero img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.ms-head { position: relative; z-index: 2; min-width: 0; }
.ms-client { color: var(--acc); margin-bottom: 6px; }
.ms-name { margin: 0; font-family: var(--df); font-weight: 400; line-height: 1.02; color: var(--fg); letter-spacing: .01em; }
.ms-plate { pointer-events: none; }
.ms-menu { display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; min-width: 0; position: relative; z-index: 2; }
.mi { position: relative; overflow: hidden; padding: 6px 8px 5px; border: 1px solid color-mix(in srgb, var(--fg) 28%, transparent); color: var(--fg); text-align: left; background: color-mix(in srgb, var(--bg1) 55%, transparent); }
.mi::before { content: ''; position: absolute; inset: 0; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .18s ease-out; }
.mi .ml { position: relative; z-index: 1; }
.mi:hover::before, .mi:focus-visible::before, .mi.on::before { transform: scaleX(1); }
.mi:hover, .mi:focus-visible, .mi.on { color: var(--ink); border-color: var(--acc); }
.mi .mg { display: none; }
.ms-pane { position: relative; min-height: 0; min-width: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--acc) color-mix(in srgb, var(--fg) 10%, transparent); overscroll-behavior: contain; z-index: 2; }
.ms-pane::-webkit-scrollbar { width: 9px; height: 9px; }
.ms-pane::-webkit-scrollbar-track { background: color-mix(in srgb, var(--fg) 8%, transparent); border-left: 1px solid color-mix(in srgb, var(--fg) 15%, transparent); }
.ms-pane::-webkit-scrollbar-thumb { background: var(--acc); }
.ms-in { position: relative; padding: 16px 18px 22px; --ph: 420px; --ab-fg: var(--fg); --ab-muted: var(--mut); --ab-accent: var(--acc); }
.ms .ab-media { gap: 26px; }
.ms .ab-lede { font-size: 13px; line-height: 1.6; color: var(--fg); max-width: 640px; }
.ms .ab-heading { font-family: 'Silkscreen', monospace; font-size: var(--px); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); padding-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); font-weight: 400; }
.ms .ab-text { font-size: 12px; line-height: 1.6; color: var(--mut); max-width: 640px; }
.ms .ab-media figcaption { font-family: 'Silkscreen', monospace; font-size: var(--px); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin-top: 7px; }
.ms .ab-credits { font-size: 11px; line-height: 1.6; color: var(--mut); border-top: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); padding-top: 12px; }
.ms .ab-frame { background: #000; box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 25%, transparent), 0 8px 24px rgba(0,0,0,.35); }
.ms .ab-landscape .ab-film { width: 100%; max-width: calc(var(--ph) * 16 / 9); justify-self: center; }
.ms .ab-portrait .ab-film { width: min(100%, 300px, calc(var(--ph) * 9 / 16)); }
.ms .ab-image img { max-height: var(--ph); }
.ms .ab-zoom { cursor: inherit; }
.ms .ab-audio audio { height: 34px; }
.ms .flashy { animation: flashy .7s ease-out; }
@keyframes flashy { from { filter: brightness(2.4); } to { filter: none; } }
.ms-back { position: absolute; left: 10px; top: 9px; z-index: 30; padding: 6px 8px 5px; color: var(--fg); background: color-mix(in srgb, var(--bg1) 70%, transparent); }
.ms-back:hover, .ms-back:focus-visible { background: var(--acc); color: var(--ink); }
.ms-read { position: absolute; z-index: 3; color: var(--acc); pointer-events: none; white-space: nowrap; }

/* rivets in the corners of every microsite */
.ms-deco i { position: absolute; width: 4px; height: 4px; background: var(--acc); opacity: .8; z-index: 3; pointer-events: none; }
.ms-deco i:nth-child(1) { left: 4px; top: 4px; } .ms-deco i:nth-child(2) { right: 4px; top: 4px; }
.ms-deco i:nth-child(3) { left: 4px; bottom: 4px; } .ms-deco i:nth-child(4) { right: 4px; bottom: 4px; }

/* 1. left: a column with name, menu and picture; the work fills the right */
.pat-left .ms-body { grid-template: ". . . . ." 40px ". head . pane ." auto ". menu . pane ." minmax(0, 1fr) ". hero . pane ." 112px ". . . . ." 38px / 22px 198px 22px minmax(0, 1fr) 20px; }
.pat-left .ms-head { grid-area: head; padding-bottom: 16px; }
.pat-left .ms-menu { grid-area: menu; flex-direction: column; flex-wrap: nowrap; gap: 0; overflow-y: auto; scrollbar-width: none; border-top: 1px solid color-mix(in srgb, var(--fg) 25%, transparent); }
.pat-left .mi { border: 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); background: none; padding: 8px 6px 7px 16px; }
.pat-left .mi::after { content: ''; position: absolute; left: 5px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: var(--acc); z-index: 1; }
.pat-left .mi:hover::after, .pat-left .mi.on::after { background: var(--ink); }
.pat-left .ms-hero { grid-area: hero; border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); box-shadow: 4px 4px 0 var(--acc); }
.pat-left .ms-pane { grid-area: pane; background: color-mix(in srgb, var(--bg1) 72%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); }
.pat-left .ms-plate { grid-area: 2 / 3 / 5 / 4; justify-self: center; width: 1px; background: color-mix(in srgb, var(--fg) 25%, transparent); }

/* 2. top: the picture as a band across the top, tabs under it */
.pat-top .ms-body { grid-template: "hero hero hero" 172px ". menu ." auto ". pane ." minmax(0, 1fr) ". . ." 38px / 24px minmax(0, 1fr) 24px; }
.pat-top .ms-hero { grid-area: hero; }
.pat-top .ms-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, var(--bg1) 100%), linear-gradient(90deg, color-mix(in srgb, var(--bg1) 55%, transparent), transparent 55%); }
.pat-top .ms-head { grid-area: hero; align-self: end; justify-self: start; margin: 0 0 14px 24px; }
.pat-top .ms-client { color: var(--fg); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pat-top .ms-name { background: var(--acc); color: var(--ink); padding: 6px 14px 3px; display: inline-block; box-shadow: 5px 5px 0 rgba(0,0,0,.35); }
.pat-top .ms-menu { grid-area: menu; padding: 10px 0 10px; gap: 3px; }
.pat-top .ms-pane { grid-area: pane; border-top: 2px solid var(--acc); background: color-mix(in srgb, var(--bg1) 45%, transparent); }

/* 3. right: the picture fills the stage, the work sits on a panel at the right */
.pat-right .ms-body { grid-template: ". . . . ." 22px ". head . menu ." auto ". head . pane ." minmax(0, 1fr) ". . . . ." 42px / 26px 204px 20px minmax(0, 1fr) 20px; }
.pat-right .ms-hero { grid-area: 1 / 1 / -1 / -1; }
.pat-right .ms-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 30%, color-mix(in srgb, var(--bg1) 70%, transparent) 42%, var(--bg1) 70%); }
.pat-right .ms-head { grid-area: head; align-self: end; padding-bottom: 4px; }
.pat-right .ms-name { text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 22px rgba(0,0,0,.55); color: #fff; }
.pat-right .ms-client { color: #fff; text-shadow: 0 1px 2px #000; }
.pat-right .ms-plate { grid-area: 2 / 4 / 4 / 5; margin: -10px; background: color-mix(in srgb, var(--bg1) 86%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 25%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg1) 50%, transparent); }
.pat-right .ms-menu { grid-area: menu; padding-bottom: 10px; gap: 3px; }
.pat-right .mi { background: none; }
.pat-right .ms-pane { grid-area: pane; }

/* 4. console: the work on a framed screen, a dock of buttons that only name themselves on hover */
.pat-console .ms-body { grid-template: ". head ." 48px ". pane ." minmax(0, 1fr) ". menu ." 62px / 40px minmax(0, 1fr) 40px; }
.pat-console .ms-head { grid-area: head; display: flex; align-items: baseline; gap: 12px; padding-left: 70px; align-self: center; white-space: nowrap; overflow: hidden; }
.pat-console .ms-client { margin: 0; }
.pat-console .ms-hero { grid-area: head; justify-self: end; align-self: center; width: 78px; height: 34px; border: 1px solid var(--acc); }
.pat-console .ms-plate { grid-area: pane; margin: -10px; border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--fg) 14%, var(--bg2)), color-mix(in srgb, var(--fg) 4%, var(--bg1))); box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 35%, transparent), inset 0 -2px 0 rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--fg) 30%, transparent); }
.pat-console .ms-pane { grid-area: pane; border-radius: 6px; background: color-mix(in srgb, var(--bg1) 88%, #000); box-shadow: inset 0 2px 8px rgba(0,0,0,.45); border: 1px solid rgba(0,0,0,.35); }
.pat-console .ms-menu { grid-area: menu; justify-content: center; align-content: start; align-items: start; padding-top: 18px; flex-wrap: nowrap; gap: 8px; }
.pat-console .ms-read { left: 0; right: 0; bottom: 7px; text-align: center; }
.pat-console .mi, .pat-dock .mi { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border-radius: 4px; }
.pat-dock .mi { border-radius: 50%; width: 30px; height: 30px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.4); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--fg) 30%, var(--bg2)), var(--bg1)); }
.pat-console .mi .ml, .pat-dock .mi .ml { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pat-console .mi .mg, .pat-dock .mi .mg { display: block; width: 9px; height: 9px; background: currentColor; position: relative; z-index: 1; }
.mg.g1 { border-radius: 50%; } .mg.g2 { transform: rotate(45deg) scale(.85); } .mg.g3 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mg.g4 { background: none !important; border: 2px solid currentColor; border-radius: 50%; } .mg.g5 { clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }

/* 5. split: a tall picture on the left, the work on the right */
.pat-split .ms-body { grid-template: "hero . . ." 20px "hero . menu ." auto "hero . pane ." minmax(0, 1fr) "hero . . ." 40px / 280px 22px minmax(0, 1fr) 20px; }
.pat-split .ms-hero { grid-area: hero; }
.pat-split .ms-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--bg1) 92%, transparent) 0%, transparent 42%); box-shadow: inset -1px 0 0 color-mix(in srgb, var(--fg) 30%, transparent); }
.pat-split .ms-head { grid-area: hero; align-self: end; padding: 0 22px 26px; }
.pat-split .ms-menu { grid-area: menu; padding-bottom: 10px; gap: 3px; }
.pat-split .mi { border-radius: 12px; padding: 5px 10px 4px; }
.pat-split .ms-pane { grid-area: pane; border-left: 1px solid color-mix(in srgb, var(--fg) 25%, transparent); }

/* 6. dock: the work takes the stage; the picture is a ghost behind it; round buttons along the bottom */
.pat-dock .ms-body { grid-template: ". head ." 54px ". pane ." minmax(0, 1fr) ". menu ." 64px / 24px minmax(0, 1fr) 24px; }
.pat-dock .ms-hero { grid-area: 1 / 1 / -1 / -1; opacity: .2; filter: blur(1px) saturate(.6); }
.pat-dock .ms-head { grid-area: head; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-left: 70px; padding-right: 2px; align-self: center; white-space: nowrap; overflow: hidden; }
.pat-dock .ms-client { margin: 0; order: 2; }
.pat-dock .ms-pane { grid-area: pane; background: color-mix(in srgb, var(--bg1) 80%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 25%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--bg1) 40%, transparent); }
.pat-dock .ms-menu { grid-area: menu; justify-content: center; align-content: start; align-items: start; padding-top: 12px; flex-wrap: nowrap; gap: 12px; }
.pat-dock .ms-read { left: 0; right: 0; bottom: 6px; text-align: center; }

/* phone: every microsite becomes one scrolling column, still dressed */
.tall .ms-body { display: block; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.tall .ms-hero { position: relative; width: 100%; height: 218px; opacity: 1; filter: none; border: 0; box-shadow: none; }
.tall .ms-hero::after { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, var(--bg1) 100%) !important; box-shadow: none !important; }
.tall .ms-head { margin: -34px 0 0; padding: 0 16px 12px; display: block; white-space: normal; overflow: visible; }
.tall .ms-client { margin: 0 0 6px; color: var(--acc); text-shadow: none; }
.tall .ms-name { text-shadow: none; color: var(--fg); }
.tall .pat-top .ms-name { color: var(--ink); }
.tall .ms-plate, .tall .ms-read { display: none; }
.tall .ms-menu { padding: 0 16px 12px; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 6px; border: 0; overflow: visible; }
.tall .mi { width: auto !important; height: auto !important; border-radius: 0 !important; padding: 7px 9px 6px !important; display: block; border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent) !important; }
.tall .mi::after { display: none; }
.tall .mi .ml { position: relative !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; }
.tall .mi .mg { display: none !important; }
.tall .ms-pane { overflow: visible; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; border-top: 2px solid var(--acc) !important; margin: 0 0 0; }
.tall .ms-in { padding: 16px 16px 64px; }
.tall .ms-back { top: 8px; left: 8px; }

/* ---------------------------------------------------------------- intro and preloader */
.ms-pre { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: linear-gradient(165deg, var(--bg1), var(--bg2)); }
.pre-in { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pre-cl { color: var(--acc); }
.pre-lab { color: var(--mut); }
.pre-n { font-family: var(--df); color: var(--fg); line-height: 1; }
.pre-bar { width: 240px; height: 2px; background: color-mix(in srgb, var(--fg) 18%, transparent); position: relative; }
.pre-bar i { position: absolute; left: 0; top: -1px; height: 4px; background: var(--acc); width: 0; }
.pre-blocks { display: flex; gap: 3px; }
.pre-blocks i { width: 14px; height: 14px; border: 1px solid color-mix(in srgb, var(--fg) 40%, transparent); }
.pre-blocks i.f { background: var(--acc); border-color: var(--acc); }
.pre-fill { width: 10px; height: 150px; border: 1px solid color-mix(in srgb, var(--fg) 40%, transparent); position: relative; }
.pre-fill i { position: absolute; left: 1px; right: 1px; bottom: 1px; height: 0; background: var(--acc); }
.pre-row { display: flex; align-items: flex-end; gap: 16px; }
.ms-pre svg { overflow: visible; }

.ms-intro { position: absolute; inset: 0; z-index: 15; overflow: hidden; }
.in-hero { position: absolute; left: 0; top: 50px; width: 800px; height: 400px; overflow: hidden; }
.in-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.in-hero .tile-fx { position: absolute; background-repeat: no-repeat; }
.in-cl { position: absolute; left: 40px; top: 402px; color: #fff; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0,0,0,.8); z-index: 3; white-space: nowrap; }
.in-bar { position: absolute; left: 0; top: 420px; z-index: 3; background: var(--acc); padding: 8px 40px 4px 40px; box-shadow: 6px 6px 0 rgba(0,0,0,.3); max-width: 800px; }
.in-name { margin: 0; font-family: var(--df); font-weight: 400; color: var(--ink); line-height: 1.05; white-space: nowrap; }
.in-name .w { display: inline-block; white-space: nowrap; }
.in-name .c { display: inline-block; }
.in-desc { position: absolute; left: 40px; top: 504px; width: 720px; z-index: 3; color: var(--fg); font-size: 14px; line-height: 1.55; min-height: 44px; }
.in-desc .cur { display: inline-block; width: 8px; height: 13px; background: var(--acc); vertical-align: -1px; margin-left: 2px; animation: blink .5s steps(1) infinite; }
.in-sw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.in-flash { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 8; pointer-events: none; }
.in-lines i { position: absolute; height: 2px; background: #fff; opacity: 0; z-index: 2; }
.curtain { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 2; background:
  linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 12%, rgba(0,0,0,0) 88%, rgba(0,0,0,.45)),
  repeating-linear-gradient(90deg, #5c0a16 0 10px, #8d1424 18px, #a81b2e 24px, #7a1120 32px, #5c0a16 40px); }
.curtain.l { left: 0; } .curtain.r { right: 0; }
.valance { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 3; background: repeating-linear-gradient(90deg, #6d0f1c 0 20px, #8f1626 20px 40px); border-bottom: 3px solid #d9a441; box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.tall .in-hero { top: calc(64px + var(--iy, 0px)); width: 400px; height: 250px; }
.tall .in-cl { left: 16px; top: calc(296px + var(--iy, 0px)); }
.tall .in-bar { top: calc(314px + var(--iy, 0px)); padding: 7px 16px 3px 16px; max-width: 400px; }
.tall .in-desc { left: 16px; top: calc(392px + var(--iy, 0px)); width: 368px; font-size: 14px; }

/* ---------------------------------------------------------------- motifs, drawn in CSS (the moving ones are canvas) */
.mo-scan { background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.28) 2px 3px); }
.mo-ruled { background: linear-gradient(90deg, transparent 58px, rgba(214,50,50,.45) 58px 59px, transparent 59px), repeating-linear-gradient(180deg, transparent 0 23px, rgba(40,90,170,.22) 23px 24px); }
.mo-grid { background-image: linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px); background-size: 20px 20px; }
.mo-dots { background-image: radial-gradient(color-mix(in srgb, var(--fg) 14%, transparent) 1.4px, transparent 1.6px); background-size: 14px 14px; }
.mo-quilt { background-image: repeating-linear-gradient(45deg, transparent 0 27px, rgba(110,91,69,.16) 27px 28px), repeating-linear-gradient(-45deg, transparent 0 27px, rgba(110,91,69,.16) 27px 28px), radial-gradient(rgba(110,91,69,.25) 1.5px, transparent 2px); background-size: auto, auto, 39.6px 39.6px; background-position: 0 0, 0 0, 19.8px 0; }
.mo-stripes { background: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--acc) 7%, transparent) 14px 16px); }
.mo-yard { background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.07) 79px 81px), repeating-linear-gradient(90deg, transparent 0 15px, rgba(255,255,255,.04) 15px 16px) 0 0 / 100% 10px no-repeat; }
.mo-frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(0,0,0,.25); }
.mo-grass::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: repeating-linear-gradient(100deg, rgba(60,110,30,0) 0 3px, rgba(60,110,30,.35) 3px 4px), linear-gradient(180deg, rgba(90,140,40,0), rgba(90,140,40,.55)); }
.mo-film::before, .mo-film::after { content: ''; position: absolute; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(244,231,208,.16) 6px 14px, transparent 14px 20px); }
.mo-film::before { left: 3px; } .mo-film::after { right: 3px; }
.mo-film { animation: filmflick .18s steps(2) infinite; }
@keyframes filmflick { 50% { background: rgba(255,240,200,.025); } }
.mo-vhs { background: repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 3px, rgba(255,255,255,.12) 3px 4px); }
.mo-vhs::after { content: ''; position: absolute; left: 0; right: 0; height: 26px; top: -30px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.35) 40%, rgba(255,255,255,.08) 60%, transparent); animation: track 7s linear infinite; }
@keyframes track { from { top: -30px; } to { top: 100%; } }
.mo-flicker::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; animation: tube 9s steps(1) infinite; }
@keyframes tube { 0%, 61%, 63%, 64.5%, 100% { opacity: 0; } 62% { opacity: .22; } 64% { opacity: .12; } }
.mo-clouds::before, .mo-clouds::after { content: ''; position: absolute; width: 420px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); top: 60%; left: -30%; animation: drift 60s linear infinite; }
.mo-clouds::after { top: 14%; width: 520px; height: 170px; animation-duration: 85s; animation-delay: -40s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(1300px); } }
.mo-fog::before { content: ''; position: absolute; inset: -20%; background: radial-gradient(40% 30% at 30% 70%, rgba(220,235,210,.12), transparent), radial-gradient(35% 25% at 75% 30%, rgba(220,235,210,.09), transparent); animation: fog 24s ease-in-out infinite alternate; }
@keyframes fog { to { transform: translate(6%, -4%); } }
.light .snd { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .sp-band.live .sp-slice, .mo-film, .mo-vhs::after, .mo-flicker::after, .mo-clouds::before, .mo-clouds::after, .mo-fog::before, .ld-lab::after, .info-desc::after { animation: none !important; }
}
