/* DYNASTY INC — app styles. Same brand as the commissions site: near-black, bone text, lime accent, glass. */
/* (featured jobs + studio band are near the end of this file) */
:root {
  --bg: #070807;
  --bg-2: #0d0f0d;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(236, 233, 224, 0.1);
  --line-2: rgba(236, 233, 224, 0.18);
  --text: #ece9e0;
  --muted: rgba(236, 233, 224, 0.62);
  --faint: rgba(236, 233, 224, 0.4);
  --accent: #b8f25c;
  --accent-ink: #0d1406;
  --accent-soft: rgba(184, 242, 92, 0.12);
  --danger: #ff7a6b;
  --warn: #ffc95c;
  --f-display: "Archivo", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 16px;
  --r-sm: 10px;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --top-h: 68px;
  --tab-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--f-display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ambient glass backdrop */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.ambient i:nth-child(1) { width: 46vmax; height: 46vmax; left: -16vmax; bottom: -22vmax; background: radial-gradient(circle, rgba(184,242,92,.35), transparent 65%); }
.ambient i:nth-child(2) { width: 40vmax; height: 40vmax; right: -14vmax; top: -16vmax; background: radial-gradient(circle, rgba(79,122,31,.55), transparent 68%); }
.ambient i:nth-child(3) { width: 24vmax; height: 24vmax; right: 20vw; top: 40vh; background: radial-gradient(circle, rgba(236,233,224,.08), transparent 70%); }

.glass {
  background: linear-gradient(140deg, rgba(255,255,255,.07), rgba(255,255,255,.025) 60%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px rgba(0,0,0,.35);
  border-radius: var(--r);
}

/* topographic texture behind the For hire + Hiring sections */
.topo { position: fixed; inset: -10%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: url("/art/topo.svg") 0 0 / 1200px 800px repeat;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 40%, #000 20%, transparent 85%); mask-image: radial-gradient(90% 80% at 50% 40%, #000 20%, transparent 85%);
  contain: strict; }
/* static on purpose: animating a full-screen masked tile repaints it every frame and made these pages lag */
body[data-sec="for-hire"] .topo, body[data-sec="hiring"] .topo { opacity: .07; }
body[data-sec="for-hire"] .ambient i, body[data-sec="hiring"] .ambient i { animation: none !important; }

/* blurred studio laptop behind the homepage hero */
.home-bg { position: absolute; left: 0; right: 0; top: 0; height: min(110vh, 1000px); z-index: -1; pointer-events: none; display: none;
  background: url("/art/studio.jpg") center 35% / cover no-repeat;
  filter: blur(4px) saturate(1.2) brightness(1.1); opacity: .38; transform: scale(1.04);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }
body[data-sec="home"] .home-bg { display: block; }
@media (max-width: 760px) { .home-bg { background-position: 60% 30%; opacity: .2; } }

/* ---------------------------------------------------------------- top bar */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--top-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  background: rgba(7, 8, 7, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; font-size: 19px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo .mark { width: 30px; height: 30px; flex: 0 0 30px; }
.mark .mark-body { fill: var(--text); }
.mark .mark-stud { fill: var(--accent); transition: transform .35s var(--ease); transform-origin: 18px 14px; }
.logo:hover .mark-stud { transform: translateY(-2px); }
.logo small { font: 500 10px var(--f-mono); letter-spacing: .3em; color: var(--muted); margin-left: -2px; }
.logo-sm { font-size: 16px; }
.logo-sm .mark { width: 26px; height: 26px; flex-basis: 26px; }
.top-links { display: flex; gap: 6px; align-items: center; }
.top-links a { padding: 10px 18px; border-radius: 999px; color: var(--muted); font-size: 16px; font-weight: 550; transition: color .2s, background-color .2s, box-shadow .2s; }
.top-links a.promo-link { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(184,242,92,.35); display: inline-flex; gap: 6px; align-items: center; }
.top-links a.promo-link::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.6s ease-in-out infinite; }
.top-links a.promo-link:hover, .top-links a.promo-link.is-on { background: var(--accent); color: var(--accent-ink); }
.top-links a.promo-link:hover::before, .top-links a.promo-link.is-on::before { background: var(--accent-ink); box-shadow: none; }
.top-links a { white-space: nowrap; }
@media (max-width: 1180px) { .top-links a { padding: 9px 12px; font-size: 15px; } .top { gap: 16px; } .top-links a[data-nav="faq"], .top-links a[data-nav="contact"] { display: none; } }
@media (max-width: 900px) { .top-links a[data-nav="announcements"], .top-links a[data-nav="studio"] { display: none; } .top-end .hide-m { display: none; } }
.top-links a:hover { color: var(--text); background: var(--panel); }
.top-links a.is-on { color: var(--text); background: var(--panel-2); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 600 11px/18px var(--f-mono); text-align: center; }
.me-btn { border-radius: 50%; padding: 2px; border: 1px solid var(--line-2); transition: border-color .2s; }
.me-btn:hover { border-color: var(--accent); }

/* dropdown menu */
.menu-wrap { position: relative; }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 230px; max-height: calc(100vh - 90px); overflow-y: auto; padding: 6px; z-index: 60;
  background: rgba(16, 18, 16, .94);
  transform-origin: top right; animation: pop .18s var(--ease);
}
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--text); }
.menu svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--muted); }
.menu a:hover svg, .menu button:hover svg { color: var(--accent); }
.menu .menu-head .av { --s: 38px; }
.menu a:hover, .menu button:hover { background: var(--panel-2); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu .menu-head { padding: 10px 12px 8px; display: flex; gap: 10px; align-items: center; }
.menu .menu-head b { display: block; font-weight: 600; }
.menu .menu-head small { color: var(--faint); font-family: var(--f-mono); font-size: 12px; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(-4px); } }

/* mobile tab bar */
.tabbar { display: none; }
@media (max-width: 760px) {
  :root { --top-h: 60px; --tab-h: 66px; }
  .top-links, .top-end .hide-m { display: none; }
  .top { gap: 12px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(7, 8, 7, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  }
  .tabbar a { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; color: var(--faint); font: 500 10.5px var(--f-mono); letter-spacing: .04em; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.is-on { color: var(--accent); }
  .tabbar .badge { top: 6px; right: calc(50% - 22px); }
  body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------- layout */
#view { flex: 1; width: 100%; outline: none; }
.page { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gut) 80px; }
.page-narrow { max-width: 820px; }
.page-enter { animation: enter .45s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.foot { border-top: 1px solid var(--line); padding: 28px var(--gut); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--faint); font-size: 13px; }
.foot p { margin: 0; flex: 1; min-width: 220px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--text); }

.eyebrow { font: 500 12px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; margin: 0 0 14px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.h1 { font-weight: 800; font-stretch: 108%; font-size: clamp(34px, 5.4vw, 64px); line-height: .98; letter-spacing: -.035em; margin: 0 0 14px; }
.h2 { font-weight: 700; font-stretch: 105%; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 8px; }
.h3 { font-weight: 650; font-size: 18px; margin: 0 0 6px; letter-spacing: -.01em; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent); }
.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 18.5px); max-width: 60ch; margin: 0 0 24px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--f-mono); font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: grid; gap: 16px; }
.sec { margin-top: clamp(48px, 8vw, 96px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head p { margin: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .16s var(--ease), background-color .2s, border-color .2s, color .2s, opacity .2s;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: #c8ff74; }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--text); }
.btn-danger { border-color: rgba(255,122,107,.4); color: var(--danger); }
.btn-danger:hover { background: rgba(255,122,107,.1); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6c78f5; }
.link { color: var(--accent); }
.link:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- avatar */
.av { --s: 40px; width: var(--s); height: var(--s); flex: 0 0 var(--s); border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  font-weight: 700; font-size: calc(var(--s) * .42); color: var(--accent-ink); user-select: none; background: var(--accent); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-xs { --s: 24px; } .av-sm { --s: 32px; } .av-md { --s: 48px; } .av-lg { --s: 72px; } .av-xl { --s: 112px; }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); vertical-align: -2px; margin-left: 4px; }
.verified svg { width: 11px; height: 11px; }
.founding { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(140deg, #ffd36b, #e0a93a); color: #2a1d00; vertical-align: -3px; margin-left: 4px; }
.founding svg { width: 12px; height: 12px; }
.chip svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------- landing */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; min-height: min(78vh, 720px); }
.hero .h1 { font-size: clamp(40px, 6.6vw, 86px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side { position: relative; height: 540px; }
.hero-art { position: absolute; left: 50%; top: 50%; width: 130%; max-width: none; translate: -50% -50%; opacity: .55; pointer-events: none;
  -webkit-mask-image: radial-gradient(55% 60% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(55% 60% at 50% 50%, #000 30%, transparent 75%); animation: float 9s ease-in-out infinite; }
.float-card { position: absolute; width: 270px; padding: 14px; animation: float 7s ease-in-out infinite; }
.float-card:nth-child(2) { top: 0; left: 4%; }
.float-card:nth-child(3) { top: 37%; right: 0; animation-delay: -2.4s; }
.float-card:nth-child(4) { bottom: 0; left: 12%; animation-delay: -4.6s; }
.float-card .row { gap: 10px; }
.float-card .bar { height: 8px; border-radius: 4px; background: var(--panel-2); margin-top: 10px; }
.float-card .bar.s { width: 60%; }
@keyframes float { 50% { transform: translateY(-12px); } }
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-top: 40px; }
.stats-strip div { background: rgba(7,8,7,.7); padding: 20px 22px; }
.stats-strip b { display: block; font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.stats-strip span { font: 500 11.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 22px; }
.step .n { font: 500 12px var(--f-mono); color: var(--accent); letter-spacing: .14em; }
.step h3 { margin: 26px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split .glass { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.split .glass p { color: var(--muted); margin: 0 0 12px; }
.split ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.split li::before { content: "→ "; color: var(--accent); }
.split .btn { align-self: flex-start; margin-top: auto; }

/* ------------------------------------------------------------- categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.cat { padding: 20px; display: flex; flex-direction: column; gap: 22px; transition: transform .3s var(--ease), border-color .25s; min-height: 150px; }
.cat:hover { transform: translateY(-3px); border-color: rgba(184,242,92,.35); }
.cat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cat .ic svg { width: 22px; height: 22px; }
.cat b { font-size: 17px; font-weight: 650; display: block; }
.cat small { color: var(--faint); font-family: var(--f-mono); font-size: 12px; }
.cat p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* ----------------------------------------------------------- listing card */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.lcard { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .25s; position: relative; }
.lcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.lcard.is-promo { border-color: rgba(184,242,92,.4); box-shadow: 0 0 0 1px rgba(184,242,92,.12), 0 20px 60px rgba(0,0,0,.35); }
.lcard .cover { aspect-ratio: 16 / 10; background: var(--bg-2); position: relative; overflow: hidden; }
.lcard .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lcard:hover .cover img { transform: scale(1.04); }
.lcard .cover .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); background: radial-gradient(circle at 30% 20%, rgba(184,242,92,.12), transparent 60%), var(--bg-2); }
.lcard .cover .noimg svg { width: 40px; height: 40px; opacity: .6; }
.lcard .tagpos { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.lcard .body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.lcard .who { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.lcard .who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.lcard .price b { color: var(--text); font-weight: 650; }
.save-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(7,8,7,.55); backdrop-filter: blur(8px); color: var(--text); z-index: 2; }
.save-btn svg { width: 17px; height: 17px; }
.save-btn.is-on { color: var(--accent); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 11.5px var(--f-mono); letter-spacing: .04em; background: rgba(7,8,7,.6); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; backdrop-filter: blur(8px); }
.chip-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chip-soft { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.avail[data-a="busy"]::before { background: var(--warn); }
.avail[data-a="closed"]::before { background: var(--faint); }
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.stars .faint { color: var(--faint); }

/* ----------------------------------------------------- browse + filters */
.browse-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; flex-wrap: wrap; margin-bottom: 22px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; transition: all .2s; }
.cat-tabs a:hover { color: var(--text); border-color: var(--line-2); }
.cat-tabs a.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; padding: 10px; }
.filters .search { flex: 1 1 240px; position: relative; }
.filters .search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--faint); }
.filters .search input { padding-left: 38px; }
.filters select, .filters input { height: 40px; }
.filters select { width: auto; min-width: 130px; }

/* ----------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.fieldset { padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.fieldset > h2 { margin: 0; font-size: 17px; font-weight: 650; display: flex; gap: 10px; align-items: baseline; }
.fieldset > h2 .n { font: 500 12px var(--f-mono); color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 550; }
.field > label em, .field > .lbl em { font-style: normal; color: var(--faint); font-weight: 400; font-size: 13px; }
.field .hint { font-size: 12.5px; color: var(--faint); margin: 0; }
.field .err { font-size: 13px; color: var(--danger); margin: 0; min-height: 0; }
.field.has-err input, .field.has-err textarea, .field.has-err select, .field.has-err .opts { border-color: rgba(255,122,107,.6); }
input[type=text], input[type=number], input[type=date], input[type=url], input[type=search], textarea, select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25);
  transition: border-color .2s, background-color .2s; outline: none;
}
textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); background: rgba(0,0,0,.35); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ece9e0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
select option { background: #121412; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid transparent; border-radius: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .2s; }
.opt span svg { width: 16px; height: 16px; }
.opt input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.money { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.count { font: 12px var(--f-mono); color: var(--faint); text-align: right; }
.form-end { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.form-err { color: var(--danger); font-size: 14px; margin: 0; flex: 1; }

/* image picker */
.drop { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 22px; display: grid; place-items: center; text-align: center; gap: 6px; color: var(--muted); cursor: pointer; transition: border-color .2s, background-color .2s; position: relative; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop svg { width: 28px; height: 28px; color: var(--accent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.is-full { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.7); font-size: 13px; }
.thumb .first { position: absolute; left: 5px; bottom: 5px; }

/* --------------------------------------------------------- listing page */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.gallery { display: grid; gap: 10px; }
.gallery .main { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.gallery .strip button { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery .strip button.is-on, .gallery .strip button:hover { opacity: 1; border-color: var(--accent); }
.gallery .strip img { width: 100%; height: 100%; object-fit: cover; }
.side { position: sticky; top: calc(var(--top-h) + 20px); display: grid; gap: 14px; }
.side .glass { padding: 20px; }
.price-big { font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 14.5px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; text-align: right; }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; color: rgba(236,233,224,.86); line-height: 1.65; }
.contacts { display: grid; gap: 8px; }
.contacts a, .contacts div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--panel); font-size: 14px; overflow-wrap: anywhere; }
.contacts a:hover { background: var(--panel-2); }
.contacts svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--accent); }
.contacts small { color: var(--faint); font-family: var(--f-mono); font-size: 11.5px; min-width: 64px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.review { padding: 16px; display: grid; gap: 8px; }
.review .row { gap: 10px; }

/* ----------------------------------------------------------- profile */
.profile-head { padding: clamp(22px, 4vw, 36px); display: flex; gap: clamp(16px, 3vw, 28px); align-items: center; flex-wrap: wrap; }
.profile-head .h2 { margin: 0; }
.profile-head .bio { color: var(--muted); margin: 8px 0 0; max-width: 60ch; white-space: pre-wrap; }
.pstats { display: flex; gap: 26px; margin-left: auto; }
.pstats b { display: block; font-size: 24px; font-weight: 750; }
.pstats span { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* ------------------------------------------------------------- jobs */
.jobs { display: grid; gap: 12px; }
.job { padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; transition: border-color .25s, transform .3s var(--ease); }
.job:hover { border-color: var(--line-2); transform: translateY(-2px); }
.job h3 { margin: 0; font-size: 17px; font-weight: 620; }
.job p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; grid-column: 1; }
.job .budget { text-align: right; grid-row: 1 / span 2; grid-column: 2; }
.job .budget b { display: block; font-size: 20px; font-weight: 700; }
.job .budget small { color: var(--faint); font-family: var(--f-mono); font-size: 11.5px; }
.job .row { grid-column: 1 / -1; font-size: 13px; color: var(--faint); gap: 14px; }

/* ----------------------------------------------------------- inbox + chat */
.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; height: calc(100vh - var(--top-h) - var(--tab-h) - 48px); min-height: 520px; }
.inbox.page { padding-bottom: 24px; }
.ilist { overflow-y: auto; padding: 6px; }
.ilist a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; align-items: center; transition: background-color .2s; }
.ilist a:hover { background: var(--panel); }
.ilist a.is-on { background: var(--panel-2); }
.ilist .txt { min-width: 0; flex: 1; }
.ilist .txt b { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14.5px; }
.ilist .txt b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ilist .txt b time { font: 400 11.5px var(--f-mono); color: var(--faint); flex: 0 0 auto; }
.ilist .txt small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ilist .txt .t { color: var(--faint); font-size: 12.5px; }
.ilist .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: 0 0 9px; }
.chat { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat-top { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chat-top .who { flex: 1; min-width: 0; }
.chat-top .who b { display: block; }
.chat-top .who small { color: var(--faint); font-size: 12.5px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.brief { padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; margin-bottom: 8px; }
.brief .kv { font-size: 14px; }
.brief .kv dd { text-align: left; }
.msg { max-width: min(78%, 560px); display: grid; gap: 4px; }
.msg .b { padding: 10px 14px; border-radius: 16px; background: var(--panel-2); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; font-size: 15px; }
.msg time { font: 11px var(--f-mono); color: var(--faint); padding: 0 6px; }
.msg.me { align-self: flex-end; justify-items: end; }
.msg.me .b { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg.them .b { border-bottom-left-radius: 6px; }
.msg .imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; width: min(360px, 70vw); }
.msg .imgs button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.msg .imgs img { width: 100%; height: 100%; object-fit: cover; }
.sys { align-self: center; font: 12px var(--f-mono); color: var(--muted); padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { min-height: 46px; max-height: 160px; height: 46px; resize: none; border-radius: 22px; padding: 12px 16px; scrollbar-width: none; }
.chat-form textarea::-webkit-scrollbar { display: none; }
.chat-pending { display: flex; gap: 8px; padding: 0 12px 0; flex-wrap: wrap; }
.chat-pending:empty { display: none; }
.chat-pending .thumb { width: 64px; margin-top: 10px; }
.chat-closed { padding: 16px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }
.chat-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status-pill { font: 500 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--panel-2); color: var(--muted); }
.status-pill[data-s="accepted"] { background: var(--accent-soft); color: var(--accent); }
.status-pill[data-s="completed"] { background: var(--accent); color: var(--accent-ink); }
.status-pill[data-s="denied"], .status-pill[data-s="cancelled"] { background: rgba(255,122,107,.12); color: var(--danger); }
.status-pill[data-s="open"] { background: var(--accent-soft); color: var(--accent); }
.status-pill[data-s="hidden"], .status-pill[data-s="closed"] { background: var(--panel-2); color: var(--faint); }
.back-link { display: none; }
@media (max-width: 860px) {
  .inbox { grid-template-columns: 1fr; }
  .inbox.has-thread .ilist { display: none; }
  .inbox:not(.has-thread) .chat { display: none; }
  .back-link { display: grid; }
}

/* ----------------------------------------------------------- modal + lightbox */
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .2s ease both; }
.modal { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(20px, 3vw, 30px); animation: rise .3s var(--ease) both; background: rgba(16,18,16,.92); }
.modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 18px; }
.modal-head .h2 { font-size: 24px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.lb { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 24px; animation: fade .2s both; cursor: zoom-out; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.stars-in { display: flex; gap: 6px; }
.stars-in button { font-size: 30px; color: var(--faint); line-height: 1; transition: color .15s, transform .15s; }
.stars-in button.is-on { color: var(--accent); }
.stars-in button:hover { transform: scale(1.12); }

/* ----------------------------------------------------------- misc */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--tab-h)); transform: translate(-50%, 20px); opacity: 0; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 550; font-size: 14.5px; transition: opacity .25s, transform .35s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.empty { padding: clamp(32px, 6vw, 64px) 24px; text-align: center; display: grid; gap: 10px; justify-items: center; color: var(--muted); }
.empty svg { width: 40px; height: 40px; color: var(--accent); opacity: .8; }
.empty b { color: var(--text); font-size: 18px; }
.empty p { margin: 0; max-width: 46ch; }
.skel { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { height: 300px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-stats .glass { padding: 18px; }
.dash-stats b { display: block; font-size: 28px; font-weight: 750; }
.dash-stats span { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.mylist { display: grid; gap: 10px; }
.myrow { display: flex; gap: 14px; align-items: center; padding: 12px; flex-wrap: wrap; }
.myrow .thumb-sm { width: 88px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--bg-2); flex: 0 0 88px; }
.myrow .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.myrow .txt { flex: 1; min-width: 160px; }
.myrow .txt b { display: block; }
.myrow .txt small { color: var(--faint); font-size: 13px; }
.promo-hero { padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.promo-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(184,242,92,.25), transparent 65%); pointer-events: none; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier { padding: 24px; display: grid; gap: 10px; align-content: start; }
.tier.is-best { border-color: rgba(184,242,92,.45); }
.tier b { font-size: 22px; }
.tier ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.tier li::before { content: "✓  "; color: var(--accent); }
.login-card { max-width: 440px; margin: 6vh auto 0; padding: clamp(26px, 4vw, 40px); text-align: center; display: grid; gap: 14px; justify-items: center; }
.login-card .note { font-size: 13px; color: var(--faint); margin: 0; }
.avatar-edit { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl td, .tbl th { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.scroll-x { overflow-x: auto; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-side { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .side { position: static; }
  .tiers { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .split, .grid2, .grid3, .steps { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .pstats { margin-left: 0; }
  .job { grid-template-columns: 1fr; }
  .job .budget { grid-row: auto; grid-column: 1; text-align: left; }
  .filters select { flex: 1 1 40%; }
}
/* ================================================================ motion + landing extras */
.ambient i:nth-child(1) { animation: drift1 26s ease-in-out infinite; }
.ambient i:nth-child(2) { animation: drift2 32s ease-in-out infinite; }
.ambient i:nth-child(3) { animation: drift1 38s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(8vw, -6vh) scale(1.08); } }
@keyframes drift2 { 50% { transform: translate(-6vw, 8vh) scale(.94); } }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

.hero { position: relative; }
.studgrid { position: absolute; inset: -40px calc(-1 * var(--gut)); z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(236,233,224,.12) 1.4px, transparent 1.8px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%); }
.studgrid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--px, 70%) var(--py, 40%), rgba(184,242,92,.16), transparent 22%); }
.word-in { display: inline-block; animation: wordin .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes wordin { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.skill-chip { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); white-space: nowrap; color: var(--muted); font-size: 15px; }
.skill-chip svg { width: 18px; height: 18px; color: var(--accent); }
.marquees { display: grid; gap: 12px; margin-top: clamp(36px, 6vw, 64px); }
.show-track { gap: 14px; }
.show-card { width: clamp(220px, 26vw, 340px); aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); flex: 0 0 auto; }
.show-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.show-card:hover img { transform: scale(1.06); }
.show-card.work { display: block; position: relative; }
.work-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; display: flex; gap: 8px; align-items: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); font-size: 13px; }
.work-info span { min-width: 0; }
.work-info b { display: block; font-weight: 600; }
.work-info small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show-empty { display: flex; gap: 16px; align-items: center; padding: 22px; flex-wrap: wrap; }
.show-empty > div { flex: 1; min-width: 200px; }
.show-empty .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.show-empty .ic svg { width: 24px; height: 24px; }
.job.is-featured { border-color: rgba(184,242,92,.45); box-shadow: 0 0 0 1px rgba(184,242,92,.12), 0 20px 60px rgba(0,0,0,.35); background: linear-gradient(140deg, rgba(184,242,92,.08), rgba(255,255,255,.025) 60%); }
.chip svg { width: 13px; height: 13px; }
.studio-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: clamp(26px, 5vw, 56px); overflow: hidden; position: relative; }
.studio-band::after { content: ""; position: absolute; right: -10%; bottom: -50%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(184,242,92,.2), transparent 65%); pointer-events: none; }
.studio-crew { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 190px; position: relative; z-index: 1; }
.studio-crew .blocky { height: 100%; aspect-ratio: 120 / 170; }
.studio-crew .blocky:nth-child(2) { animation-delay: -.8s; height: 88%; }
.studio-crew .blocky:nth-child(3) { animation-delay: -1.6s; }
.studio-crew .blocky:nth-child(4) { animation-delay: -2.4s; height: 88%; }
@media (max-width: 760px) { .studio-band { grid-template-columns: 1fr; } .studio-crew { height: 130px; } }
/* announcements */
.news-bar { display: flex; gap: 12px; align-items: center; padding: 10px 16px; margin-bottom: 18px; font-size: 14.5px; flex-wrap: wrap; transition: border-color .25s; }
.news-bar:hover { border-color: rgba(184,242,92,.4); }
.news-bar b { flex: 1; min-width: 160px; font-weight: 600; }
.news-go { color: var(--accent); font-weight: 600; }
.news { padding: clamp(20px, 3vw, 28px); }
.news.is-pinned { border-color: rgba(184,242,92,.35); }
.tag-chip[data-tag="news"] { color: var(--text); }
.tag-chip[data-tag="update"] { background: rgba(122,176,255,.14); color: #9cc4ff; border-color: transparent; }
.tag-chip[data-tag="event"] { background: rgba(255,154,213,.14); color: #ffb3df; border-color: transparent; }
.tag-chip[data-tag="important"] { background: rgba(255,122,107,.16); color: var(--danger); border-color: transparent; }
.news-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 14px; }
.news-imgs button { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.news-imgs img { width: 100%; height: 100%; object-fit: cover; }
.news-by { gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.reacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); align-items: center; }
.react { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font: 500 13px var(--f-mono); color: var(--muted); transition: transform .15s var(--ease), background-color .2s, border-color .2s, color .2s; }
.react:hover { border-color: var(--text); color: var(--text); }
.react:active { transform: scale(.92); }
.react .emo { font-size: 17px; line-height: 1; font-family: initial; }
.react svg { width: 16px; height: 16px; }
.react.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.react.like.is-on { color: #ff6b8a; border-color: rgba(255,107,138,.6); background: rgba(255,107,138,.12); }
.react.like.is-on svg { fill: currentColor; animation: popheart .35s var(--ease); }
@keyframes popheart { 40% { transform: scale(1.35); } }
.react.add { color: var(--faint); }
.emoji-pop { left: 0; right: auto; top: auto; bottom: calc(100% + 8px); width: auto; display: grid; grid-template-columns: repeat(5, 40px); gap: 4px; padding: 8px; transform-origin: bottom left; }
.emoji-pop button { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 22px; border-radius: 10px; font-family: initial; }
.emoji-pop button:hover { transform: scale(1.18); }
.emoji-pop button.is-on { background: var(--accent-soft); }
.composer { margin-bottom: 16px; }
.composer summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; gap: 10px; align-items: center; font-weight: 600; }
.composer summary::-webkit-details-marker { display: none; }
.composer summary svg { width: 18px; height: 18px; color: var(--accent); }
/* legal pages + acceptance gate */
.legal { padding: clamp(22px, 4vw, 40px); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-toc a { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--panel); color: var(--muted); }
.legal-toc a:hover { color: var(--text); background: var(--panel-2); }
.legal section { padding-top: 18px; scroll-margin-top: calc(var(--top-h) + 20px); }
.legal h2 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.01em; }
.legal p { margin: 0 0 10px; color: rgba(236,233,224,.82); line-height: 1.7; font-size: 15px; }
.agree { max-width: 640px; margin: 4vh auto 0; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.agree .h2 { margin: 0; }
.agree-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agree-points li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--panel); color: rgba(236,233,224,.86); font-size: 14.5px; line-height: 1.5; }
.agree-points svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent); margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; line-height: 1.5; padding: 4px 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: 0 0 20px; cursor: pointer; }
.fieldset.danger { border-color: rgba(255,122,107,.3); }
.fieldset.danger h2 { color: var(--danger); }
/* early access + safety */
.early { display: flex; gap: 16px; align-items: center; padding: 14px 18px; margin: 28px 0 0; flex-wrap: wrap; border-color: rgba(255,201,92,.35); background: linear-gradient(120deg, rgba(255,201,92,.1), rgba(255,255,255,.02) 55%); }
.early-badge { display: inline-flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: linear-gradient(140deg, #ffd36b, #e0a93a); color: #2a1d00; font: 600 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.early-badge svg { width: 15px; height: 15px; }
.early-txt { flex: 1; min-width: 220px; display: grid; gap: 2px; font-size: 14.5px; }
.early-txt span { color: var(--muted); }
.safety { border: 1px solid rgba(184,242,92,.25); background: rgba(184,242,92,.06); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; font-size: 13.5px; }
.safety-head { display: flex; gap: 8px; align-items: center; }
.safety-head svg { width: 18px; height: 18px; color: var(--accent); }
.safety-head .link { margin-left: auto; font-size: 13px; }
.safety ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--muted); line-height: 1.5; }
.safety ul b { color: var(--text); font-weight: 600; }
.chat-safety { position: relative; margin-bottom: 6px; }
.chat-safety .icon-btn { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; }
.chat-safety .safety-head .link { margin-right: 34px; }
.safety-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }
.ssr-note { color: var(--muted); }
.blocky { display: block; }
.blocky svg { width: 100%; height: 100%; display: block; }
.bob { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.scene { display: block; position: relative; }
.scene .blocky { position: absolute; left: 50%; bottom: 8%; height: 78%; aspect-ratio: 120 / 170; translate: -50% 0; }
.scene-bricks { position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), repeating-linear-gradient(90deg, transparent 0 46px, rgba(0,0,0,.35) 46px 48px);
  border-top: 1px solid rgba(255,255,255,.08); }
.scene-bricks::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: radial-gradient(circle, rgba(255,255,255,.14) 3px, transparent 3.5px) 0 0 / 24px 6px repeat-x; }
.scene-icon { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(0,0,0,.35); color: var(--accent); backdrop-filter: blur(6px); }
.scene-icon svg { width: 20px; height: 20px; }
.scene-label { position: absolute; left: 14px; top: 14px; font: 500 11.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); background: rgba(0,0,0,.35); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.float-scene { height: 92px; margin-top: 8px; border-radius: 10px; background: radial-gradient(circle at 50% 30%, rgba(184,242,92,.18), transparent 70%); display: grid; place-items: center; }
.float-scene .blocky { height: 86px; aspect-ratio: 120 / 170; }
.demo-thumb { display: grid; place-items: center; background: radial-gradient(circle, rgba(184,242,92,.2), var(--bg-2) 70%); }
.demo-thumb .blocky { height: 88%; aspect-ratio: 120 / 170; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { padding: 24px; display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .4s var(--ease); }
.feature:hover { border-color: rgba(184,242,92,.3); transform: translateY(-3px); }
.feature .ic, .contact-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature .ic svg, .contact-card .ic svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.feature:hover .ic svg, .cat:hover .ic svg { transform: scale(1.15) rotate(-6deg); }
.cat .ic svg { transition: transform .4s var(--ease); }
.feature h3 { margin: 8px 0 0; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.demo-list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.demo-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.demo-list b { color: var(--text); display: block; }
.demo-list .n { font: 500 12px var(--f-mono); color: var(--accent-ink); background: var(--accent); border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 26px; }
.phone { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 470px; position: relative; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.phone-top b { display: block; font-size: 14.5px; }
.phone-top small { color: var(--faint); font-size: 12px; }
.phone-top .status-pill { margin-left: auto; }
.phone .brief { margin: 4px 0 0; padding: 12px; font-size: 13.5px; }
.phone .msg { max-width: 82%; }
.phone .msg .b { font-size: 14px; }
.phone .anim { opacity: 0; animation: chatin 16s var(--ease) infinite; animation-delay: var(--t); }
@keyframes chatin { 0% { opacity: 0; transform: translateY(10px) scale(.98); } 4%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--panel-2); align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

.faq { display: grid; gap: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px var(--f-mono); color: var(--accent); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.65; animation: enter .35s var(--ease) both; }

.cta-band { padding: clamp(32px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(184,242,92,.22), transparent 70%); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }
.cta-band > * { position: relative; }
.cta-band .h1 { max-width: 16ch; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-card { padding: 24px; display: grid; gap: 10px; align-content: start; }
.contact-card h3 { margin: 6px 0 0; font-size: 18px; }
.contact-card p { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; }
.contact-card .btn { justify-self: start; }

.banner { position: relative; padding: clamp(26px, 4vw, 44px); margin-bottom: 22px; overflow: hidden; }
.banner::after { content: ""; position: absolute; right: -6%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(184,242,92,.2), transparent 65%); pointer-events: none; animation: breathe 8s ease-in-out infinite; }
.banner .h1 { margin-bottom: 8px; }
.banner .lede { margin: 0; }
.banner > * { position: relative; z-index: 1; }
.banner > .studgrid { position: absolute; inset: 0; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.banner .ic svg { width: 30px; height: 30px; }
.banner-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .features { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features, .contact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .phone .anim { opacity: 1; }
}

/* ================================================================ v2 "pro" pass
   Calmer surfaces, one accent, less motion. Overrides earlier rules on purpose. */
:root { --surface: #0e100e; --surface-2: #131613; --r: 14px; }

/* solid cards instead of glass everywhere; glass stays for the top bar, menus and modals */
.glass {
  background: var(--surface);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 32px rgba(0,0,0,.28);
}
.menu.glass, .modal.glass { background: rgba(16,18,16,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top { background: rgba(7,8,7,.78); }

/* quieter background */
.ambient i { animation: none !important; opacity: .28; }
.ambient i:nth-child(3) { display: none; }
.home-bg { opacity: .22 !important; }
.studgrid::after { display: none; }

/* the italic serif accent only in the hero headline */
.serif { font-family: inherit; font-style: normal; color: inherit; letter-spacing: inherit; }
.hero .serif { font-family: var(--f-serif); font-style: italic; color: var(--accent); letter-spacing: 0; }

/* less constant motion */
.bob, .float-card, .hero-art { animation: none !important; }
.cta-band::before, .banner::after { animation: none; }
.feature:hover, .cat:hover, .lcard:hover, .job:hover { transform: translateY(-2px); }

/* hero: product mock */
.hero-pro { min-height: min(72vh, 680px); }
.hero-mock { position: relative; height: 470px; }
.mock-window { position: absolute; left: 0; top: 10px; width: min(380px, 82%); border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(236,233,224,.18); }
.mock-bar span { margin-left: 8px; font: 11px var(--f-mono); color: var(--faint); }
.mock-card { padding: 12px; }
.mock-cover { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.mock-cover img { width: 100%; height: 100%; object-fit: cover; }
.mock-cover .chip { position: absolute; top: 8px; left: 8px; }
.mock-body { display: grid; gap: 8px; padding: 12px 4px 4px; }
.mock-body .who { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.mock-body b { font-size: 15.5px; font-weight: 600; }
.mock-body .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.mock-chat { position: absolute; right: 0; bottom: 0; width: min(300px, 70%); padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.55); display: grid; gap: 10px; }
.mock-chat-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.mock-chat .brief { margin: 0; padding: 10px 12px; font-size: 13px; gap: 6px; }
.mock-chat .msg { max-width: 92%; }
.mock-chat .msg .b { font-size: 13.5px; padding: 8px 12px; }
.trust-row { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.trust-row li { display: inline-flex; gap: 8px; align-items: center; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 980px) { .hero-mock { height: 430px; max-width: 520px; } }
@media (max-width: 760px) { .hero-mock { display: none; } }

/* studio band + CTA use the brand mark instead of characters */
.studio-mark { display: grid; place-items: center; }
.studio-mark .mark { width: min(200px, 60%); height: auto; aspect-ratio: 1; opacity: .9; }
.cta-mark { width: 54px; height: 54px; }
.cta-band::before { opacity: .55; }

/* consistent radii */
.lcard, .job, .cat, .feature, .step, .tier, .contact-card, .news, .myrow, .fieldset, .banner, .promo-hero, .studio-band, .cta-band, .early, .news-bar { border-radius: var(--r); }

/* never scroll sideways (decorative layers can bleed) */
html, body { overflow-x: clip; }
.home-bg { transform: none; }

.foot-brand { display: grid; gap: 8px; flex: 1; min-width: 240px; }
.foot-brand p { margin: 0; }

/* admin tabs, notices, vetted badge */
.vetted { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(140deg, #8fd0ff, #4a8fe0); color: #04152b; vertical-align: -3px; margin-left: 4px; }
.vetted svg { width: 12px; height: 12px; }
.atabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.notices { display: grid; gap: 10px; padding: 0 var(--gutter, 20px); max-width: 1248px; margin: 12px auto 0; }
.notices:empty { display: none; }
.notice { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; }
.notice > svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.notice .txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.notice .txt small { color: var(--muted); }
.notice.is-invite { border: 1px solid var(--accent); }
@media (max-width: 640px) { .notice { flex-wrap: wrap; } }

/* ratings: exact-fraction stars + Amazon-style breakdown */
.sf { position: relative; display: inline-block; color: var(--faint); letter-spacing: 1px; line-height: 1; }
.sf .on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.stars .avg { font: 600 13px var(--f-mono); color: var(--text); }
.rbox { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; padding: 20px 22px; margin-top: 12px; }
.rbig { display: grid; gap: 4px; justify-items: start; }
.rbig b { font-size: 46px; line-height: 1; font-weight: 700; }
.rbig .sf { font-size: 20px; }
.rbig small { color: var(--muted); }
.rbars { display: grid; gap: 7px; }
.rrow { display: grid; grid-template-columns: 52px 1fr 42px; gap: 12px; align-items: center; padding: 3px 6px; border-radius: 8px; background: none; color: var(--text); font: 500 13px var(--f-sans, inherit); text-align: left; cursor: default; }
button.rrow { cursor: pointer; }
button.rrow:hover, .rrow.is-on { background: var(--accent-soft); }
.rrow i { display: block; height: 10px; border-radius: 6px; background: var(--panel-2, rgba(255,255,255,.08)); overflow: hidden; }
.rrow u { display: block; height: 100%; background: var(--accent); border-radius: 6px; text-decoration: none; }
.rrow .k, .rrow .p { color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.rrow .p { text-align: right; }
@media (max-width: 600px) { .rbox { grid-template-columns: 1fr; gap: 16px; } }

.prof-stars { margin-top: 8px; font-size: 15px; }
.prof-stars .sf { font-size: 18px; }
.prof-stars .stars { gap: 8px; }

/* portfolio */
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pf-card { display: grid; text-align: left; padding: 0; overflow: hidden; color: var(--text); cursor: pointer; transition: transform .2s, border-color .2s; }
.pf-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pf-cover { position: relative; display: block; aspect-ratio: 16/10; background: var(--bg-2); overflow: hidden; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-count { position: absolute; right: 8px; bottom: 8px; gap: 4px; background: rgba(0,0,0,.65); }
.pf-info { display: grid; gap: 3px; padding: 12px 14px 14px; }
.pf-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-price { color: var(--accent); font-weight: 600; }
.pf-bigbtn { display: block; padding: 0; border-radius: 12px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.pf-big { width: 100%; max-height: 52vh; object-fit: contain; display: block; }
.pf-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pf-strip button { flex: 0 0 64px; height: 48px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .7; }
.pf-strip button.is-on { border-color: var(--accent); opacity: 1; }
.pf-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
