@font-face {
  font-family: "Droid Sans Mono";
  src: url("fonts/DroidSansMono.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --bg: #0a0a0a;
  --fg: #f2f2f0;
  --dim: #8a8a86;
  --line: #262626;
  --accent: #ff5b1f;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Droid Sans Mono", ui-monospace, Menlo, monospace;
  --nav: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gut: clamp(20px, 5vw, 80px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-weight: 300; letter-spacing: .01em; }

/* header */
/* ---------- floating glass menu (context-con style, Apple "liquid glass" look) ---------- */
.glass {
  background: rgba(30,30,30,.38);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.04), 0 12px 32px rgba(0,0,0,.35);
  position: relative;
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 55%); }
.hdr { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; color: #fff; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 18px; border-radius: 999px; }
.logo { font-family: var(--mono); font-weight: 400; font-size: 14px; letter-spacing: -.07em; margin-right: 10px; }
.nav { display: flex; align-items: center; gap: 2px; font-family: var(--nav); font-size: 12.3px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.nav a { padding: 8px 11px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a.on { background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.mail { display: inline-flex; padding: 8px 10px; border-radius: 999px; } .mail:hover { background: rgba(255,255,255,.08); }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 999px; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.menu-btn i:first-child { top: 15px; } .menu-btn i:last-child { top: 22px; }
.hdr.open .menu-btn i:first-child { top: 18.5px; transform: rotate(45deg); }
.hdr.open .menu-btn i:last-child { top: 18.5px; transform: rotate(-45deg); }
.loc { display: inline-flex; align-items: baseline; gap: 18px; font-family: var(--mono); text-transform: uppercase; }
.now { display: inline-flex; align-items: baseline; gap: 6px; }
.now .sep { opacity: .5; }
.now time { font-variant-numeric: tabular-nums; }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); align-self: center; margin-right: 3px; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.lsw { display: inline-flex; gap: 6px; }
.lsw i { font-style: normal; opacity: .5; }
.lsw button { font: inherit; text-transform: inherit; opacity: .55; }
.lsw button:hover { opacity: 1; }
.lsw button.on { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.page { padding: 100px var(--gut) 80px; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* home */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero img.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 55%, rgba(0,0,0,.65)); }
.hero-txt { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; text-transform: uppercase; }
.hero-txt a:hover { color: var(--accent); }

/* work list */
.tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; text-transform: uppercase; margin-bottom: 48px; }
.filters, .views { display: flex; gap: 2px; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.filters button, .views button { color: var(--dim); text-transform: uppercase; font-family: var(--mono); font-size: 12px; padding: 7px 13px; border-radius: 999px; transition: background-color .2s, color .2s; }
.filters button:hover, .views button:hover { color: var(--fg); }
.filters button.on, .views button.on { color: var(--fg); background: rgba(255,255,255,.15); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }

.list { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.86vw, 27px); }
.list a { font-family: var(--mono); font-weight: 400; font-size: clamp(20px, 2.05vw, 29.5px); line-height: 1.1; letter-spacing: -.07em; display: inline-flex; align-items: baseline; transition: font-weight .15s; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 22px rgba(0,0,0,.45); }
.list a:hover, .list a.on { font-weight: 700; }

/* full-screen hover background (Ian Buosi-style) */
.hover-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.hover-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.hover-bg img.on { opacity: 1; }
.hover-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .45s ease; }
.hover-bg:has(img.on)::after { opacity: 1; }
.page { position: relative; z-index: 1; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid a { position: relative; display: block; overflow: hidden; background: #151515; aspect-ratio: 4 / 5; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.grid a:hover img { transform: scale(1.04); }
.grid .cap { position: absolute; left: 12px; bottom: 12px; right: 12px; font-family: var(--mono); font-size: 14px; letter-spacing: -.05em; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* project slideshow */
.proj { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 84px var(--gut) 20px; }
.proj-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; }
.proj-top h1 { font-family: var(--mono); font-weight: 300; font-size: clamp(18px, 2vw, 26px); }
.proj-top .r { display: flex; gap: 18px; font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; }
.proj-top .r button { color: var(--dim); text-transform: uppercase; font-size: 12px; font-family: var(--mono); }
.proj-top .r button:hover { color: var(--fg); }
.stage { position: relative; min-height: 0; display: flex; justify-content: center; align-items: center; }
.stage img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.stage .hit { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; }
.stage .hit.l { left: 0; cursor: w-resize; } .stage .hit.r { right: 0; cursor: e-resize; }
.proj-bot { display: flex; justify-content: space-between; padding-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.proj-bot a { color: var(--dim); } .proj-bot a:hover { color: var(--fg); }

.thumbs { columns: 5 220px; column-gap: 10px; }
.thumbs a, .thumbs button { display: block; margin-bottom: 10px; break-inside: avoid; width: 100%; }
.thumbs img { width: 100%; height: auto; background: #151515; }
.thumbs a:hover img, .thumbs button:hover img { opacity: .8; }

/* videos */
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.vids video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #111; display: block; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin: 72px 0 24px; font-size: 12px; text-transform: uppercase; }
.sec-h:first-child { margin-top: 0; }
.sec-h h2 { font-weight: 900; font-size: clamp(32px, 6vw, 84px); letter-spacing: -.04em; line-height: .9; text-transform: none; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: end; min-height: calc(100vh - 190px); }
.contact h1 { font-weight: 900; font-size: clamp(44px, 8vw, 132px); line-height: .88; letter-spacing: -.05em; }
.contact p { color: var(--dim); max-width: 46ch; line-height: 1.6; margin: 28px 0; }
.contact ul { list-style: none; font-family: var(--mono); font-weight: 300; font-size: 14px; line-height: 1.9; color: var(--dim); }
.links { display: flex; flex-direction: column; gap: 4px; }
.links a { font-weight: 900; font-size: clamp(28px, 4vw, 56px); letter-spacing: -.03em; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 0; }
.links a:hover { color: var(--accent); }
.foot { margin-top: 80px; font-family: var(--mono); font-size: 11px; color: var(--dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,5,.97); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); object-fit: contain; }
.lb-x { position: absolute; top: 18px; right: var(--gut); font-size: 12px; text-transform: uppercase; font-family: var(--mono); }
.lb-prev, .lb-next { position: absolute; top: 0; bottom: 0; width: 70px; font-size: 22px; }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--dim); }

@media (max-width: 760px) {
  .hdr { top: 10px; padding: 0 10px; }
  .pill { width: 100%; padding-left: 16px; }
  .logo { margin-right: auto; }
  .menu-btn { display: block; }
    .nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; border-radius: 22px; font-size: 15px;
    background: rgba(16,16,16,.94); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 32px rgba(0,0,0,.4);
    opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav a { padding: 13px 16px; }
  .hdr.open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .proj { padding-top: 76px; }
  .page { padding-top: 84px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .grid .cap { font-size: 10px; left: 8px; bottom: 8px; right: 8px; }
  .thumbs { columns: 2; column-gap: 6px; } .thumbs a, .thumbs button { margin-bottom: 6px; }
  .contact { grid-template-columns: 1fr; }
  .hover-bg { display: none; }
  .lb img { max-width: 100vw; }
  .lb-prev, .lb-next { width: 50%; opacity: 0; }
  .hero-meta { text-align: left; }
}


/* ---------- intro ---------- */
html.intro-on, html.intro-on body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; transition: opacity .8s ease, transform .9s cubic-bezier(.7,0,.2,1); }
.intro.bye { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro.skip { opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.intro > * { grid-area: 1 / 1; }
.intro-load { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--dim); transition: opacity .4s; }
.intro-load b { color: var(--fg); font-weight: 400; min-width: 4ch; }
.intro-load.out { opacity: 0; }
.intro-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.5); opacity: .4; } }

.intro-line { position: relative; z-index: 2; text-align: center; padding: 0 var(--gut); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(30px, 5vw, 64px); opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), filter .45s; max-width: 16ch; }
.intro-line.in { opacity: 1; transform: none; filter: none; }
.intro-line.out { opacity: 0; transform: translateY(-14px); filter: blur(6px); }
.intro-line.flick { transition: none; color: var(--dim); }
.intro-line.big { font-size: clamp(44px, 9vw, 140px); max-width: none; }
.intro-line .hw { display: inline-block; white-space: pre-wrap; opacity: 0; transform: translateY(.25em); filter: blur(6px); animation: hw .5s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
.intro-line .hw + .hw { color: var(--accent); }
@keyframes hw { to { opacity: 1; transform: none; filter: none; } }
.intro-line .wave { display: inline-block; font-size: .6em; margin-inline-start: .2em; transform-origin: 70% 80%; opacity: 0; animation: hw .4s ease forwards, wave 1.1s ease; animation-delay: var(--d), calc(var(--d) + 200ms); }
@keyframes wave { 20% { transform: rotate(16deg); } 40% { transform: rotate(-8deg); } 60% { transform: rotate(14deg); } 80% { transform: rotate(-4deg); } }
.intro-line.name { max-width: none; font-size: clamp(48px, 10vw, 150px); letter-spacing: -.05em; }
.intro-line .sm { display: block; font-size: .28em; letter-spacing: -.01em; font-weight: 600; color: var(--dim); margin: .2em 0; }
.intro-line .ch { display: inline-block; opacity: 0; transform: translateY(-60%) rotate(var(--r)); animation: drop .6s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: var(--d); }
@keyframes drop { to { opacity: 1; transform: none; } }
.intro-line.role { max-width: 14ch; }
.intro-line em { font-style: normal; color: var(--accent); }
.intro-line .sm2 { display: block; margin-top: 18px; font-family: var(--mono); font-weight: 300; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

.intro-pol { position: absolute; left: 50%; bottom: -40px; width: 0; height: 0; z-index: 1; }
.intro-pol figure { position: absolute; left: 0; bottom: 0; width: clamp(110px, 13vw, 170px); padding: 8px 8px 30px; background: #f4f2ee; box-shadow: 0 20px 40px rgba(0,0,0,.5); transform: translate(-50%, 120%); transition: transform .9s cubic-bezier(.2,.9,.25,1.15); transition-delay: calc(var(--i) * 90ms); }
.intro-pol figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-pol.in figure:nth-child(1) { transform: translate(-120%, 8%) rotate(-9deg); }
.intro-pol.in figure:nth-child(2) { transform: translate(-50%, -4%) rotate(2deg); }
.intro-pol.in figure:nth-child(3) { transform: translate(20%, 10%) rotate(10deg); }
.intro-skip { position: absolute; right: var(--gut); bottom: 20px; font-size: 11px; color: var(--dim); text-transform: uppercase; z-index: 3; }
.intro-skip:hover { color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .intro-line, .intro-pol figure, .intro-line .ch { transition: none; animation: none; } }

/* ---------- about ---------- */
.about h1 { font-weight: 900; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 28px; }
.ab-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6vw; align-items: end; }
.ab-k { font-size: 12px; color: var(--accent); text-transform: uppercase; }
.ab-text p { color: var(--dim); max-width: 54ch; line-height: 1.65; margin-top: 14px; font-size: 16px; }
.ab-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-stats div { padding: 28px 0; display: flex; align-items: baseline; gap: 14px; }
.ab-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.ab-stats b { font-weight: 900; font-size: clamp(36px, 5vw, 72px); letter-spacing: -.04em; line-height: 1; }
.ab-stats span { font-size: 11px; color: var(--dim); text-transform: uppercase; line-height: 1.5; }
.ab-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.about h3 { font-size: 12px; font-weight: 400; color: var(--dim); text-transform: uppercase; margin-bottom: 18px; }
.ab-cols ul { list-style: none; }
.ab-cols li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.ab-cols ol { list-style: none; counter-reset: s; }
.ab-cols ol li { counter-increment: s; display: grid; grid-template-columns: 44px 120px 1fr; gap: 10px; align-items: baseline; }
.ab-cols ol li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.ab-cols ol span { color: var(--dim); font-size: 15px; }
.ab-brands { margin-top: 90px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee > div { display: inline-flex; gap: 28px; white-space: nowrap; animation: marquee 40s linear infinite; font-weight: 900; font-size: clamp(28px, 4vw, 56px); letter-spacing: -.03em; }
.marquee i { font-style: normal; color: var(--accent); }
.marquee a:hover { color: var(--accent); }
.marquee:hover > div { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 90px; padding: 26px 0; border-bottom: 1px solid var(--line); font-weight: 900; font-size: clamp(32px, 6.5vw, 100px); letter-spacing: -.045em; line-height: 1; }
.cta:hover { color: var(--accent); }
.foot a:hover { color: var(--fg); }
@media (max-width: 760px) {
  .ab-top, .ab-cols { grid-template-columns: 1fr; }
  .ab-photo { order: -1; }
  .ab-stats { grid-template-columns: 1fr; margin: 48px 0; }
  .ab-stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ab-cols ol li { grid-template-columns: 32px 1fr; } .ab-cols ol span { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .marquee > div { animation: none; } }
body.bg-on .tools button { color: rgba(255,255,255,.85); }
body.bg-on .filters, body.bg-on .views { background: rgba(20,20,20,.35); }
body.bg-on .tools button.on { color: #fff; }
/* no focus ring on the invisible prev/next click zones (keyboard arrows already work) */
.stage .hit:focus, .stage .hit:focus-visible, .lb-prev:focus, .lb-next:focus, .lb-prev:focus-visible, .lb-next:focus-visible { outline: none; }

/* ---------- live globe ---------- */
.live { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.35fr); gap: 4vw; align-items: center; min-height: calc(100vh - 49px); padding-top: 70px; padding-bottom: 40px; }
.live .ab-k { display: inline-flex; align-items: center; gap: 8px; }
.live-now { display: flex; align-items: baseline; gap: 16px; margin: 22px 0 34px; }
.live-now b { font-weight: 900; font-size: clamp(72px, 10vw, 150px); letter-spacing: -.05em; line-height: .85; font-variant-numeric: tabular-nums; }
.live-now span { font-size: 13px; color: var(--dim); text-transform: uppercase; max-width: 12ch; line-height: 1.4; }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.live-stats div { padding: 16px 0; display: grid; gap: 6px; }
.live-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.live-stats span { font-size: 11px; color: var(--dim); text-transform: uppercase; }
.live-stats b { font-family: var(--sans); font-weight: 900; font-size: 30px; letter-spacing: -.03em; }
.live h3 { font-size: 11px; font-weight: 400; color: var(--dim); text-transform: uppercase; margin-bottom: 8px; }
.live-recent { list-style: none; min-height: 200px; }
.live-recent li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; animation: fade .5s ease; }
.live-recent em { font-style: normal; color: var(--dim); margin-left: 8px; font-size: 13px; }
.live-recent .times { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--dim); margin-left: 8px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 10px; }
.live-recent time { font-family: var(--mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
.live-note { margin-top: 22px; font-size: 11px; color: var(--dim); }
.live-globe { position: relative; width: 100%; aspect-ratio: 1; max-height: calc(100vh - 120px); justify-self: center; }
.live-globe canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; contain: layout paint size; }
.live-globe canvas:active { cursor: grabbing; }
.glabel { position: absolute; bottom: anchor(top); left: anchor(center); translate: -50% -8px; padding: 3px 7px; background: rgba(10,10,10,.75); border: 1px solid rgba(242,242,240,.25); font-family: var(--mono); font-size: 11px; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.glabel.me { color: #000; background: var(--accent); border-color: var(--accent); z-index: 2; }
@supports not (anchor-name: --a) { .glabel { display: none; } }
@media (max-width: 760px) {
  .live { grid-template-columns: 1fr; padding-top: 100px; }
  .live-globe { order: -1; max-width: 520px; }
  .live-now { margin: 10px 0 24px; }
}

/* glass status pill on the home hero */
.hero .loc { padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(30,30,30,.38); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 28px rgba(0,0,0,.3); }
.hero .lsw { padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); }
.hero .lsw i { display: none; }
.hero .lsw button { padding: 4px 9px; border-radius: 999px; text-decoration: none; }
.hero .lsw button.on { background: rgba(255,255,255,.18); text-decoration: none; }
@media (max-width: 760px) {
  .tools { gap: 10px; margin-bottom: 28px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { white-space: nowrap; flex: none; }
}

/* ---------- about: lead, note, behind-the-scenes video, FAQ ---------- */
.ab-lead { max-width: 18ch; }
.note { position: relative; margin: 40px 0 110px; padding: clamp(28px, 5vw, 64px); padding-right: clamp(28px, 30vw, 440px); border-radius: 28px; background: linear-gradient(180deg, #161616, #111); border: 1px solid #242424; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.note-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.note-ava { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.note-head b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.note-head span { color: var(--dim); font-size: 15px; } .note-head strong { color: var(--fg); font-weight: 600; }
.note-body p { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.6; margin-bottom: 1.1em; max-width: 34em; }
.note-body .w { opacity: .18; transition: opacity .35s ease; }
.note-body .w.on { opacity: 1; }
.note-sign { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.note-sign b { font-weight: 600; font-size: 20px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.note-sign a { font-size: 13px; color: var(--dim); } .note-sign a:hover { color: var(--fg); }
.note-pols { position: absolute; top: -34px; right: clamp(16px, 3vw, 44px); width: clamp(200px, 26vw, 360px); aspect-ratio: 1 / 1.1; }
.note-pols figure { position: absolute; width: 78%; padding: 10px 10px 42px; background: #f4f2ee; box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.note-pols figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.note-pols figure:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.note-pols figure:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }
.note-pols figure:hover { z-index: 2; }

.bts { position: relative; margin: 110px 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; min-height: 380px; background: #111; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.bts video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bts::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 45%); }
.bts-txt { position: absolute; z-index: 2; left: clamp(22px, 4vw, 64px); bottom: clamp(22px, 4vw, 60px); right: 22px; }
.bts-txt .mono { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.bts-txt h2 { font-weight: 900; font-size: clamp(32px, 5vw, 72px); letter-spacing: -.04em; line-height: 1; margin: 12px 0 14px; }
.bts-txt p { color: rgba(255,255,255,.75); font-size: clamp(15px, 1.4vw, 19px); margin-bottom: 26px; }
.bts-play { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; font-size: 17px; font-weight: 600; color: #111; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.bts-play:hover { transform: scale(1.03); background: #fff; }
.vplayer { position: fixed; inset: 0; z-index: 120; background: rgba(5,5,5,.96); display: grid; place-items: center; padding: 60px 20px 30px; animation: fade .3s ease; }
.vplayer video { max-width: 100%; max-height: calc(100vh - 100px); border-radius: 14px; }

.faq { margin: 110px 0 40px; }
.faq h2 { font-weight: 900; font-size: clamp(48px, 7vw, 96px); letter-spacing: -.045em; line-height: 1; margin-bottom: 34px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--dim); font-size: 17px; line-height: 1.65; max-width: 60ch; padding: 0 0 28px; animation: fade .35s ease; }

@media (max-width: 760px) {
  .note { padding: 26px 20px; padding-top: 250px; margin-top: 70px; }
  .note-pols { top: -40px; left: 50%; right: auto; translate: -50% 0; width: 200px; }
  .bts { aspect-ratio: 4 / 5; min-height: 0; }
  .bts::after { background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 70%); }
}
@media (prefers-reduced-motion: reduce) { .note-body .w { opacity: 1; } }

/* live counter in the menu pill */
.online { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; padding: 8px 14px 8px 12px; border-radius: 999px; font-family: var(--nav); font-size: 12.3px; letter-spacing: .02em; text-transform: uppercase; background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); transition: background-color .2s; }
.online:hover, .online.on { background: rgba(255,255,255,.16); }
.online b { font-weight: 600; font-variant-numeric: tabular-nums; }
.online span { opacity: .7; }
.loc a.now:hover { opacity: .75; }

/* my marker on the globe: pulsing dot + glass label */
.gme { position: absolute; left: anchor(center); top: anchor(center); display: flex; align-items: center; gap: 10px; translate: -5px -50%; pointer-events: none; transition: opacity .3s; z-index: 2; }
.gme .dot { width: 10px; height: 10px; margin: 0; box-shadow: 0 0 0 2px rgba(10,10,10,.9), 0 0 18px 4px rgba(255,91,31,.55); }
.gme-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-family: var(--mono); font-size: 12px; white-space: nowrap; color: #fff; background: rgba(30,30,30,.55); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.4); }
.gme-pill em { font-style: normal; color: var(--accent); }
@supports not (anchor-name: --a) { .gme { display: none; } }

/* three polaroids in the note */
.note-pols figure:nth-child(3) { left: 18%; top: 70px; transform: rotate(-1deg); z-index: 1; }
.note-pols figure:nth-child(1) { z-index: 0; }
.note-pols figure:nth-child(2) { z-index: 2; }
.note-pols figure:hover { z-index: 3; }

/* ---------- more air: narrow centred column for text pages, bigger rhythm everywhere ---------- */
.page { padding-top: clamp(110px, 12vw, 160px); padding-bottom: 120px; }
.page.narrow { max-width: calc(1040px + 2 * var(--gut)); margin-inline: auto; }
.grid { gap: clamp(10px, 1.6vw, 24px); }
.thumbs { column-gap: clamp(10px, 1.4vw, 20px); }
.thumbs a, .thumbs button { margin-bottom: clamp(10px, 1.4vw, 20px); }
.tools { margin-bottom: clamp(40px, 5vw, 72px); }
.list { gap: clamp(12px, 2.07vw, 29.5px); }

.about .ab-lead { font-size: clamp(34px, 4.4vw, 60px); max-width: 16ch; margin: 22px 0 0; line-height: 1.05; }
.about .ab-stats { margin: clamp(80px, 9vw, 130px) 0; }
.about .ab-stats div { padding: 34px 0; }
.note { margin: clamp(110px, 12vw, 170px) 0; padding: clamp(32px, 6vw, 76px); padding-right: clamp(32px, 40%, 460px); }
.note-head { margin-bottom: 40px; }
.note-body p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; max-width: 30em; margin-bottom: 1.4em; }
.note-sign { margin-top: 26px; }
.note-pols { top: -60px; right: -40px; width: clamp(220px, 30vw, 360px); }
.about .ab-cols { gap: clamp(48px, 8vw, 120px); margin: clamp(110px, 12vw, 170px) 0; }
.about .ab-cols li { padding: 18px 0; }
.bts { margin: clamp(110px, 12vw, 170px) 0; }
.faq { margin: clamp(110px, 12vw, 170px) 0 0; }
.faq summary { padding: 30px 0; }
.ab-brands { margin-top: clamp(110px, 12vw, 170px); }
.about .cta, .contact + .foot { margin-top: clamp(110px, 12vw, 170px); }
.foot { margin-top: 90px; }
.contact { min-height: calc(100vh - 300px); gap: clamp(48px, 8vw, 120px); }
.contact p { line-height: 1.75; }
.live { gap: clamp(40px, 6vw, 100px); }

@media (max-width: 760px) {
  .page { padding-top: 96px; }
  .note { padding: 26px 22px; padding-top: 300px; }
  .note-pols { top: -40px; right: auto; width: 200px; }
}

/* calmer ending of the About page */
.ab-brands h3 { text-align: center; }
.marquee { border: 0; padding: 18px 0; }
.marquee > div { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.01em; gap: 22px; color: var(--dim); animation-duration: 60s; }
.marquee a:hover { color: var(--fg); }
.marquee i { font-size: .6em; align-self: center; }
.end { text-align: center; margin: clamp(120px, 13vw, 180px) auto 0; max-width: 640px; }
.end h2 { font-weight: 900; font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.04em; line-height: 1.05; }
.end p { color: var(--dim); font-size: 17px; line-height: 1.7; margin: 18px 0 34px; }
.end-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.gbtn { padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: background-color .2s, transform .2s; }
.gbtn:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.gbtn.ghost { background: none; box-shadow: none; }
.about .foot { margin-top: clamp(100px, 10vw, 150px); padding-top: 24px; border-top: 1px solid var(--line); }

/* Faces keeps the original dense layout */
.page.tight { --gut: clamp(16px, 3vw, 36px); padding: 100px var(--gut) 80px; }
.page.tight .thumbs { column-gap: 10px; }
.page.tight .thumbs a, .page.tight .thumbs button { margin-bottom: 10px; }
@media (max-width: 760px) { .page.tight { padding-top: 84px; } .page.tight .thumbs { column-gap: 6px; } .page.tight .thumbs button { margin-bottom: 6px; } }

/* Faces: Ian Buosi masonry — 6px gaps and edges, starts right under the menu */
.page.mason { padding: 74px 6px 6px; animation: fade .5s ease; }
.masonry { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 6px; align-items: start; }
.mcol { display: flex; flex-direction: column; gap: 6px; }
.mcol button { display: block; width: 100%; }
.mcol img { width: 100%; height: auto; background: #151515; }
.mcol button:hover img { opacity: .85; }
@media (max-width: 760px) { .page.mason { padding-top: 70px; } }

/* globe labels for every visited city: muted for past, bright with a live dot for now */
.glabel { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; color: rgba(255,255,255,.62); background: rgba(20,20,20,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); font-size: 10.5px; }
.glabel em { font-style: normal; opacity: .55; }
.glabel.on { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(30,30,30,.7); z-index: 1; }
.glabel .dot { width: 6px; height: 6px; margin: 0; }
.glegend { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; gap: 18px; font-size: 11px; color: var(--dim); white-space: nowrap; }
.glegend span { display: inline-flex; align-items: center; gap: 7px; }
.glegend .dot { width: 7px; height: 7px; margin: 0; }
.gdot { width: 7px; height: 7px; border-radius: 50%; background: #9e9e99; }

/* logo from noizomax.ru (white mask, takes the text colour) */
.logo-img { display: block; height: 17px; aspect-ratio: 368 / 60; background: currentColor; -webkit-mask: url(img/logo.png) center / contain no-repeat; mask: url(img/logo.png) center / contain no-repeat; }
.logo { display: flex; align-items: center; padding: 6px 0; }
.logo:hover .logo-img { opacity: .75; }
.logo-img { translate: 0 -14%; background: #fff; }

/* the cat from a shoot, wiggles on click (context-con "Billy" style) */
.mascot { text-align: center; margin: clamp(110px, 12vw, 170px) auto 0; max-width: 520px; }
.mascot-img { display: block; width: clamp(260px, 34vw, 400px); margin: 0 auto 26px; cursor: pointer; transform-origin: 50% 85%; transition: transform .25s ease; }
.mascot-img:hover { transform: rotate(-3deg) scale(1.03); }
.mascot-img img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); -webkit-user-drag: none; }
.mascot-img.poke { animation: poke .7s cubic-bezier(.36,.07,.19,.97); }
@keyframes poke {
  0% { transform: rotate(0) scale(1); }
  15% { transform: rotate(-9deg) scale(1.06, .94); }
  30% { transform: rotate(8deg) scale(.96, 1.05); }
  45% { transform: rotate(-6deg) scale(1.03); }
  60% { transform: rotate(4deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0) scale(1); }
}
.mascot p { font-size: 17px; line-height: 1.6; color: var(--dim); max-width: 26em; margin: 0 auto; }
.mascot p b { color: var(--fg); font-weight: 600; }

/* AI: video / photo switch in the menu font */
.ai-tabs { margin-bottom: clamp(28px, 4vw, 48px); width: fit-content; }
.ai-tabs button { font-family: var(--nav); font-size: 12.3px; letter-spacing: .02em; }
.ai-tabs i { font-style: normal; opacity: .55; margin-left: 4px; }

/* AI: edge-to-edge like Faces */
.ai-page .ai-tabs { margin: 8px 0 14px 4px; }
.ai-page .vids { grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 1100px) { .ai-page .vids { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .ai-page .vids { grid-template-columns: repeat(2, 1fr); } }

/* light headlines in the menu font; only the name stays bold */
.about .ab-lead, .contact h1, .bts-txt h2, .faq h2, .end h2 { font-family: var(--nav); font-weight: 300; letter-spacing: -.025em; }
.about .ab-lead { line-height: 1.12; max-width: 20ch; }
.about .ab-lead b { font-weight: 700; letter-spacing: -.03em; }
.contact h1 { line-height: .98; }
.ab-stats b { font-family: var(--nav); font-weight: 300; letter-spacing: -.03em; }
.faq summary, .note-head b, .note-sign b, .mascot p b { font-family: var(--nav); font-weight: 500; }
.bts-play, .gbtn { font-family: var(--nav); font-weight: 500; }
.links a { font-family: var(--nav); font-weight: 300; letter-spacing: -.02em; }
.bts-txt h2 { font-weight: 700; letter-spacing: -.04em; }
.ab-stats b { font-weight: 700; letter-spacing: -.04em; }


/* the cat: looping clip in a polaroid, tilted; shakes when poked */
.mascot-img.pol { width: clamp(230px, 26vw, 300px); padding: 12px 12px 48px; background: #f4f2ee; rotate: -4deg; box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.mascot-img.pol video { display: block; width: 100%; aspect-ratio: 720 / 636; object-fit: cover; background: #222; pointer-events: none; }
.mascot-img.pol:hover { transform: scale(1.03); }

/* quick request form (Contact page) */
.qform { margin-top: clamp(90px, 10vw, 140px); padding: clamp(26px, 4vw, 48px); border-radius: 24px; background: linear-gradient(180deg, #151515, #101010); border: 1px solid #232323; }
.qform h2 { font-family: var(--nav); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.025em; }
.qform-sub { color: var(--dim); margin: 8px 0 30px; }
.qform form { display: grid; gap: 16px; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qrow.three { grid-template-columns: repeat(3, 1fr); }
.qform label > span { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; letter-spacing: .04em; }
.qform input, .qform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .2s, background-color .2s; resize: vertical; }
.qform input::placeholder, .qform textarea::placeholder { color: #5d5d5a; }
.qform input:focus, .qform textarea:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.qkinds { display: flex; flex-wrap: wrap; gap: 8px; }
.qkinds label { cursor: pointer; }
.qkinds input { position: absolute; opacity: 0; pointer-events: none; width: auto; }
.qkinds span { display: inline-block; margin: 0 !important; padding: 9px 15px !important; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); font-family: var(--nav) !important; font-size: 14px !important; text-transform: none !important; color: var(--dim) !important; letter-spacing: 0 !important; transition: all .2s; }
.qkinds input:checked + span { color: #111 !important; background: #f2f2f0; border-color: #f2f2f0; }
.qkinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; }
.qsend { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.gbtn.solid { background: #f2f2f0; color: #111; border-color: #f2f2f0; cursor: pointer; }
.gbtn.solid:hover { background: #fff; }
.gbtn.solid:disabled { opacity: .5; }
.qstatus { color: var(--dim); font-size: 15px; } .qstatus.good { color: #7bd88f; }
@media (max-width: 760px) { .qrow, .qrow.three { grid-template-columns: 1fr; } }

/* «Заявка» in the menu pill + the slide-in request panel */
.rq-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 12px; border-radius: 999px; font-family: var(--nav); font-size: 12.3px; letter-spacing: .02em; text-transform: uppercase; color: #111; background: rgba(242,242,240,.92); box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(0,0,0,.25); transition: background-color .2s, transform .2s; }
.rq-btn:hover { background: #fff; transform: translateY(-1px); }
.rq-btn .dot { width: 6px; height: 6px; margin: 0; }
.rq-panel { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0); transition: background-color .3s; display: flex; justify-content: flex-end; }
.rq-panel.on { background: rgba(0,0,0,.5); }
.rq-box { position: relative; width: min(520px, 100%); height: 100%; overflow: auto; padding: 34px 30px 40px; background: rgba(18,18,18,.88); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); border-left: 1px solid rgba(255,255,255,.1); transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.rq-panel.on .rq-box { transform: none; }
.rq-box h2 { font-family: var(--nav); font-weight: 300; font-size: 34px; letter-spacing: -.025em; padding-right: 40px; }
.rq-box .qform-sub { margin: 6px 0 24px; }
.qform.bare { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.rq-box form { display: grid; gap: 14px; }
.rq-box .qrow, .rq-box .qrow.three { grid-template-columns: 1fr 1fr; }
.rq-box .qrow.three label:last-child { grid-column: 1 / -1; }
.rq-x { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--fg); font-size: 15px; }
.rq-x:hover { background: rgba(255,255,255,.16); }
.rq-alt { margin-top: 22px; color: var(--dim); font-size: 14px; line-height: 1.7; }
.rq-alt a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .rq-btn { padding: 8px 12px 8px 10px; }
  .rq-panel { align-items: flex-end; }
  .rq-box { height: auto; max-height: 92svh; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 22px 22px 0 0; padding: 26px 18px 30px; transform: translateY(100%); }
  .rq-box h2 { font-size: 28px; }
  .rq-box .qrow, .rq-box .qrow.three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pill { gap: 4px; padding-left: 14px; }
  .online { padding: 8px 10px; margin-left: 0; }
  .online span { display: none; }
  .menu-btn { width: 34px; }
}

/* ===== Liquid glass (iOS 26 / macOS style): clearer surface, stronger blur, bright rim, top sheen ===== */
:root { --lg-bg: rgba(255,255,255,.055); --lg-rim: rgba(255,255,255,.28); }
.glass, .filters, .views, .hero .lsw, .rq-box, .gbtn:not(.solid), .hero .loc, .bts-play {
  background: var(--lg-bg);
  -webkit-backdrop-filter: blur(16px) saturate(2) brightness(1.08);
  backdrop-filter: blur(16px) saturate(2) brightness(1.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 var(--lg-rim),            /* top rim light */
    inset 0 -1px 0 rgba(255,255,255,.07),     /* bottom rim */
    inset 1px 0 0 rgba(255,255,255,.06), inset -1px 0 0 rgba(255,255,255,.06),
    inset 0 0 18px rgba(255,255,255,.05),     /* thickness glow */
    0 10px 30px rgba(0,0,0,.28);
}
.glass::before { background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02) 45%, rgba(255,255,255,0) 60%, rgba(255,255,255,.05)); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 140% at 15% -20%, rgba(255,255,255,.16), transparent 45%), radial-gradient(80% 120% at 100% 120%, rgba(255,255,255,.07), transparent 50%); }
.pill > *:not(.nav) { position: relative; z-index: 1; }
.nav { z-index: 1; }
.nav a.on, .filters button.on, .views button.on, .hero .lsw button.on { background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.05), 0 2px 8px rgba(0,0,0,.18); }
.nav a:hover { background: rgba(255,255,255,.08); }
/* «Заявка» — a bright drop of glass */
.rq-btn { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(0,0,0,.08), 0 6px 18px rgba(0,0,0,.28); }
/* live counter: small badge next to the logo */
.online { margin: 0 6px 0 -2px; padding: 5px 9px 5px 8px; gap: 6px; font-size: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); text-transform: none; }
.online .dot { width: 6px; height: 6px; margin: 0; }
.online b { font-weight: 500; }
.rq-box { background: rgba(20,20,20,.55); border-left: 1px solid rgba(255,255,255,.14); }
@media (max-width: 760px) {
  .online { margin-right: auto; }
  .logo { margin-right: 6px; }
  .nav { background: rgba(22,22,22,.9); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 34px rgba(0,0,0,.45); }
  .rq-box { background: rgba(20,20,20,.72); border-left: 0; }
}
/* glass "Watch" button over the video: light text so it reads on dark footage */
.bts-play { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.bts-play:hover { background: rgba(255,255,255,.16); }

/* Work list: hover photo fades in softly (like ianbuosi.com) — opacity only, cheap for the browser */
.hover-bg img { transition: opacity .8s cubic-bezier(.4,0,.2,1); }
.hover-bg::after { transition: opacity .8s cubic-bezier(.4,0,.2,1); }

/* About: the opening line a little wider, so it breathes */
.about .ab-lead { max-width: 28ch; }
@media (max-width: 760px) { .about .ab-lead { max-width: none; } }

/* About → «Чем я могу помочь» */
.offer { margin: 0 0 clamp(80px, 9vw, 130px); }
.offer h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; max-width: 22ch; margin: 18px 0 44px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.offer-grid article { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.offer-grid article:nth-child(even) { padding: 28px 0 32px 28px; border-left: 1px solid var(--line); }
.offer-grid article > .mono { font-size: 12px; color: var(--accent); }
.offer-grid h3 { font-size: 22px; font-weight: 500; color: inherit; text-transform: none; margin: 0; }
.offer-grid p { color: var(--dim); font-size: 15px; line-height: 1.6; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.offer-tags i { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); }
.offer-scale { margin: 28px 0 22px; font-size: 17px; }
.offer .gbtn { cursor: pointer; color: inherit; }
@media (max-width: 760px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid article, .offer-grid article:nth-child(even) { padding: 24px 0; border-left: 0; }
}

/* headings: word-by-word blur-in (app.js adds .bw spans and .bin when on screen) */
.bsplit .bw { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.18em);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), filter .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(min(var(--i), 14) * 45ms); will-change: filter, opacity; }
.bsplit.bin .bw { opacity: 1; filter: blur(0); transform: none; }

.nf { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.nf h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 500; letter-spacing: -.02em; }
.nf p { color: var(--dim); }

/* About numbers: proportional digits (no gap around a narrow «1» on Windows/Arial), «+» tucked in */
.ab-stats b { font-family: var(--sans); font-weight: 600; font-variant-numeric: proportional-nums; font-feature-settings: "pnum" 1, "tnum" 0; letter-spacing: -.035em; white-space: nowrap; }
.ab-stats b i { font-style: normal; margin-left: -.02em; }

/* home slideshow arrows (admin → Главная → «Показывать стрелки») */
.hero-arr { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-size: 20px;
  background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: background-color .2s; }
.hero-arr:hover { background: rgba(0,0,0,.35); }
.hero-arr.l { left: var(--gut); } .hero-arr.r { right: var(--gut); }
@media (max-width: 760px) { .hero-arr { width: 42px; height: 42px; font-size: 16px; } }

/* Live: the globe fades in once it's built (no frozen frame on opening the page) */
.live-globe canvas { opacity: 0; transition: opacity .7s ease; }
.live-globe.ready canvas { opacity: 1; }

/* project page: Ian Buosi-style strip */
.proj-top h1 { font-size: clamp(22px, 2.9vw, 42px); font-weight: 300; letter-spacing: -.02em; }
.proj { grid-template-columns: minmax(0, 1fr); }
.strip-wrap { position: relative; min-height: 0; min-width: 0; }
.strip { height: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip img { height: 100%; width: auto; flex: none; max-width: none; scroll-snap-align: start; background: #141414; user-select: none; }
.sarr { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; font-size: 22px; color: #111; background: rgba(242,242,240,.92); transition: background-color .2s, opacity .2s; }
.sarr:hover { background: #fff; }
.sarr.l { left: 14px; } .sarr.r { right: 14px; }
@media (max-width: 760px) {
  .proj { padding-left: 0; padding-right: 0; }
  .proj-top, .proj-bot { padding-left: var(--gut); padding-right: var(--gut); }
  .sarr { display: none; }
  /* phone: one photo per screen width, swiped one by one */
  .strip { align-items: center; }
  .strip img { width: 100vw; height: auto; max-height: 100%; object-fit: contain; background: none; scroll-snap-stop: always; }
}
/* photos can't be dragged out or long-pressed to save */
img { -webkit-user-drag: none; -webkit-touch-callout: none; }
