/* scenehouse: a photo hero, one big line, and the work inside an app window. dark, archivo, real buttons and borders, nothing snaps.
   shared by / and /channels */
@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-latin.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0b0c; --win: rgba(19, 19, 21, .86); --card: #18181a; --card-2: #1f1f22; --ink: #f4f3ef; --muted: #96948f; --dim: #64625e;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .2); --accent: #f5c518; --accent-ink: #171303;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.45, 0, .15, 1);
  --gut: clamp(16px, 3vw, 44px);
  --max: 1320px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scrollbar-color: #2c2c30 var(--bg); background: var(--bg); }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 450 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); }

/* platform logos (official files in /c/logos) */
.pfb { flex: 0 0 auto; display: inline-block; width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.pfb.tiktok { border-radius: 24%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.pfb.x { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .26); }
.pfb.youtube { width: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); white-space: nowrap; cursor: pointer; user-select: none;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 24px -8px rgba(245, 197, 24, .5); }
.btn-accent:hover { background: #ffd43b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 30px -8px rgba(245, 197, 24, .65); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .34); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* header: sits on the photo, turns solid once you scroll */
/* header: solid dark at rest; as you scroll it eases into frosted glass (--ha alpha, --hb blur, --hl edge, driven by scroll in js) */
.top { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px;
  padding: env(safe-area-inset-top, 0px) var(--gut) 0; background: rgba(11, 11, 12, var(--ha, 1));
  -webkit-backdrop-filter: blur(var(--hb, 0px)) saturate(1.5); backdrop-filter: blur(var(--hb, 0px)) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, var(--hl, 0)); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.brand .logo i { width: 12px; height: 12px; border-radius: 50%; border: 3.2px solid #0b0b0c; }
.mark { font-weight: 800; font-stretch: 125%; letter-spacing: -0.04em; font-size: 19px; line-height: 1; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav > a:not(.btn) { padding: 8px 12px; border-radius: 999px; color: rgba(244, 243, 239, .78); font-size: 14px; transition: color .25s var(--ease), background .25s var(--ease); }
.top nav > a:not(.btn):hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.top nav > a.here { color: var(--ink); background: rgba(255, 255, 255, .1); }
.top nav .btn { margin-left: 8px; }
.top .s { display: none; }

/* hero: a real photo, a dark shade so the type reads, the window pulls up over its bottom edge */
.hero { position: relative; isolation: isolate; min-height: clamp(520px, 78svh, 760px); padding: calc(68px + clamp(56px, 9vh, 120px)) var(--gut) 0; overflow: hidden; }
.hero-bg { position: absolute; left: 0; top: 0; z-index: -2; width: 100%; height: var(--bgh, 100%); object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .12) 38%, rgba(11, 11, 12, .2) 64%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 11, 12, .55), rgba(11, 11, 12, 0) 60%); }
.hero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: var(--max); margin: 0 auto; }
.hero h1 { font-weight: 800; font-stretch: 125%; letter-spacing: -0.045em; line-height: .94; font-size: clamp(40px, 6.6vw, 98px); text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.hero .sub { margin-top: 18px; padding-left: 2ch; text-indent: -2ch; font-size: clamp(14px, 1.2vw, 17px); color: rgba(244, 243, 239, .86); } /* hanging indent: every line lines up after the "> " */
.hero-stats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; text-align: right; font-size: 13.5px; color: rgba(244, 243, 239, .82); }
.hero-stats b { color: var(--ink); font-weight: 600; }

/* the window */
.win { position: relative; z-index: 2; max-width: var(--max); margin: calc(-1 * clamp(150px, 22vh, 230px)) auto 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--win);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 100px -30px rgba(0, 0, 0, .8); }
.win-wrap { padding: 0 var(--gut); }
.win-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; padding-right: 4px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3d; }
.find { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; max-width: 420px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .05);
  color: var(--muted); transition: border-color .25s var(--ease), background .25s var(--ease); }
.find:focus-within { border-color: rgba(245, 197, 24, .6); background: rgba(255, 255, 255, .08); }
.find svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.find input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 14px; color: var(--ink); }
.find input::placeholder { color: var(--muted); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
  color: rgba(244, 243, 239, .8); font-size: 13.5px; white-space: nowrap; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.chips button:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .08); color: var(--ink); }
.chips button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #111; }
.win-body { padding: 16px; }

/* cards in masonry columns (laid out in site.js) */
.grid { --g: 12px; display: flex; gap: var(--g); align-items: flex-start; transition: opacity .25s var(--ease); }
/* a group is one shape, so it lays out in plain rows; an unfinished last row sits in the middle */
.grid.rows { flex-wrap: wrap; justify-content: center; }
.grid.rows > .card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0; }
.grid.swap { opacity: 0; }
.col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.card { display: block; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; background: var(--card); cursor: pointer;
  transition: border-color .25s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { border-color: rgba(255, 255, 255, .22); transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.card .media { position: relative; overflow: hidden; background: #222; }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card img { opacity: 0; transition: opacity .5s var(--ease); }
.card img.ok { opacity: 1; }
.card video { opacity: 0; transition: opacity .5s var(--ease); }
.card video.on { opacity: 1; }
.card .tag { position: absolute; z-index: 2; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 600; }
.card .meta { display: flex; align-items: center; gap: 10px; padding: 10px 10px 11px 12px; }
.card .meta div { flex: 1; min-width: 0; }
.card .meta div > b, .card .meta div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .meta b { font-size: 14px; font-weight: 600; }
.card .meta div > span { margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.card .ic { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(255, 255, 255, .04);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.card .ic svg { width: 13px; height: 13px; fill: currentColor; }
.card:hover .ic { background: var(--ink); border-color: var(--ink); color: #111; }
.none { padding: 48px 0; text-align: center; color: var(--muted); }

/* sections under the window */
.sec { max-width: var(--max); margin: clamp(88px, 11vw, 150px) auto 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h2 { font-weight: 800; font-stretch: 125%; letter-spacing: -0.04em; line-height: .98; font-size: clamp(30px, 3.6vw, 52px); }
.sec-head p { margin-top: 10px; color: var(--muted); }

/* the channels block on the work page sits centred: the line, the text, the button, then an even 3x3 of channel cards */
.sec-head.center { flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 30px; }
.sec-head.center h2 { text-wrap: balance; }
.sec-head.center p { max-width: 92ch; margin-left: auto; margin-right: auto; text-wrap: pretty; }
#channels .chans { max-width: 1040px; margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* channel cards */
.chans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.chc { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 10px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .35s var(--ease); }
.chc:hover { border-color: var(--line-2); background: var(--card-2); transform: translateY(-2px); }
.chc > img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chc > div { min-width: 0; }
.chc b { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; }
.hn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chc > div > span { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chc .ic { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 9px; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chc .ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chc:hover .ic { background: var(--ink); color: #111; border-color: var(--ink); }

/* who we are + contact: one closing card, like the promptarium brand card. yellow light rising from the bottom, centred */
.closer { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(48px, 7vw, 104px) clamp(20px, 6vw, 96px) clamp(44px, 6vw, 88px); border: 1px solid rgba(245, 197, 24, .2); border-radius: 28px;
  background: radial-gradient(ellipse 80% 60% at 50% 112%, rgba(245, 197, 24, .2), rgba(245, 197, 24, 0) 70%), linear-gradient(180deg, #121211, #0f0f0e); }
.closer::before { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
.closer-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 26px; border-radius: 17px; background: var(--ink);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .04), 0 18px 50px -12px rgba(245, 197, 24, .45); }
.closer-mark i { width: 24px; height: 24px; border-radius: 50%; border: 6px solid #0b0b0c; }
.closer h2 { font-weight: 800; font-stretch: 125%; letter-spacing: -0.045em; line-height: .95; font-size: clamp(32px, 4.6vw, 64px); text-wrap: balance; }
.closer .lead { max-width: 62ch; margin-top: clamp(16px, 1.8vw, 22px); color: var(--muted); font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.65; text-wrap: pretty; }
.closer .lead b { color: var(--ink); font-weight: 600; }
.closer .lead + .lead { margin-top: 14px; }
/* the request form: email, business link, what they need. it reaches us as an email */
.req { display: grid; gap: 10px; width: 100%; max-width: 680px; margin-top: clamp(26px, 3vw, 38px); text-align: left; }
.req-row { display: flex; gap: 10px; }
.req input:not(.hp), .req textarea { flex: 1 1 0; min-width: 0; width: 100%; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, .05);
  color: var(--ink); font: 500 15px/1.5 var(--font); outline: none; transition: border-color .25s var(--ease), background .25s var(--ease); }
.req input:not(.hp) { height: 54px; padding: 0 20px; }
.req textarea { min-height: 128px; padding: 15px 20px; resize: vertical; }
.req input:not(.hp):focus, .req textarea:focus { border-color: rgba(245, 197, 24, .65); background: rgba(255, 255, 255, .08); }
.req input::placeholder, .req textarea::placeholder { color: var(--muted); }
.req .bad { border-color: #ff6b5e !important; }
.req .btn { justify-self: center; margin-top: 6px; min-width: 220px; }
.req .btn:disabled { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.req-done { justify-self: center; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border: 1px solid rgba(245, 197, 24, .45); border-radius: 999px; background: rgba(245, 197, 24, .08); color: var(--ink); font-weight: 600; }
.req-done svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.addr .copy { margin-left: 4px; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font: 500 12px/1.2 var(--font); transition: background .25s var(--ease); }
.addr .copy:hover { background: rgba(255, 255, 255, .1); }
.addr { margin-top: 16px; color: var(--muted); font-size: 13.5px; }

/* footer */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: var(--max); margin: clamp(64px, 8vw, 110px) auto 0; padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 18px; }
.foot a:hover { color: var(--ink); }

/* player */
.player { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(6, 6, 7, .97); color: var(--ink);
  padding: env(safe-area-inset-top, 0px) var(--gut) env(safe-area-inset-bottom, 0px); opacity: 0; transition: opacity .45s var(--ease); }
.player.open { opacity: 1; }
.pbar, .pmeta { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.pmark { font-weight: 800; font-stretch: 125%; letter-spacing: -0.04em; font-size: 19px; }
.player #pKind { color: var(--muted); }
.player button { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 14px;
  transition: background .25s var(--ease), border-color .25s var(--ease); }
.player button:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.pnav { display: flex; gap: 8px; }
.pstage { position: relative; display: grid; place-items: center; min-height: 0; transition: opacity .2s var(--ease); }
.pstage.swap { opacity: 0; }
.pstage video, .pstage img { display: block; background: #000; object-fit: contain; border-radius: 12px; }
.ghost-fly { position: fixed; z-index: 70; margin: 0; object-fit: cover; pointer-events: none; transform-origin: 0 0; transition: transform .6s var(--ease), opacity .25s var(--ease); }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; transform: translate(-50%, 8px); padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #111; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero-in { display: block; }
  .hero-stats { margin-top: 22px; text-align: left; }
}
@media (max-width: 700px) {
  #channels .chans { grid-template-columns: 1fr; }
  .top { height: 60px; }
  .top nav > a:not(.btn) { padding: 7px 9px; font-size: 13px; }
  .top nav .btn { margin-left: 4px; }
  .top .l { display: none; }
  .top .s { display: inline; }
  .brand .logo { display: none; }
  .hero { min-height: 0; padding-top: calc(60px + 44px); padding-bottom: 150px; }
  .hero-stats { grid-template-columns: 1fr; gap: 4px; font-size: 12.5px; }
  .hero-bg { height: 100%; object-position: var(--pos-m, 62% 18%); }
  .win { margin-top: -120px; border-radius: 18px; }
  .win-bar { padding: 12px; gap: 10px; }
  .lights { display: none; }
  .find { flex-basis: 100%; max-width: none; }
  .win-body { padding: 10px; }
  .grid { --g: 8px; }
  .col { gap: 8px; }
  .card { border-radius: 12px; }
  .card .meta { padding: 8px 8px 9px 10px; gap: 8px; }
  .card .meta b { font-size: 13px; }
  .card .meta div > span { font-size: 11.5px; }
  .card .ic { width: 28px; height: 28px; }
  .req-row { flex-direction: column; }
  .req .req-row > input:not(.hp) { flex: none; }
  .req .btn { width: 100%; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
