/* ============================================================
   GDev Design 2 · one page, one idea per screen
   Same brand colors. Big type. Least text.
   ============================================================ */
:root {
  --bg: #0A1114;
  --bg2: #0E181D;
  --bg3: #10222B;
  --ink: #F2F6F5;
  --mut: #93A6AA;
  --dim: #5E7379;
  --line: rgba(240, 246, 245, 0.1);
  --gold: #F2B216;
  --teal: #00A79D;
  --tealh: #1FCDC2;
  --navy: #16323E;
  --disp: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --pixel: "Silkscreen", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* the 3D coverflow deliberately extends past the viewport; clip it at the
   root so it can never produce a horizontal scrollbar */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--gold); color: #10202a; }

.skip-link {
  position: absolute; left: 16px; top: -70px; z-index: 300;
  background: var(--gold); color: #14232B; font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 10px 10px; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--tealh); outline-offset: 3px; border-radius: 6px; }

/* ============ Nav (compact glass bar, full-width blur) ============ */
.d2nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 20px;
  background: rgba(10, 17, 20, 0.62);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.d2nav .logo img { height: 24px; width: auto; }
.d2nav-right { display: flex; gap: 8px; align-items: center; }
/* nav pills sit inside the shorter bar */
.d2nav .pill { min-height: 28px; padding: 4px 15px; font-size: 13.5px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 12px 26px; min-height: 46px;
  font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.pill:hover { transform: scale(1.04); }
.pill:active { transform: scale(0.98); }
.pill-gold { background: var(--gold); color: #14232B; }
.pill-teal { background: var(--teal); color: #06211F; }
.pill-ghost { border: 1.5px solid var(--line); color: var(--mut); background: rgba(10, 17, 20, 0.5); backdrop-filter: blur(8px); }
.pill-ghost:hover { color: var(--ink); border-color: var(--mut); }
.pill-big { font-size: clamp(17px, 2.2vw, 24px); padding: 18px 44px; min-height: 60px; }

/* floating design switch */
.design-switch2 {
  position: fixed; bottom: 22px; right: 22px; z-index: 110;
  background: var(--bg3); border: 1px solid var(--line); border-radius: 999px;
  padding: 13px 22px; font-weight: 700; font-size: 14.5px; color: var(--ink);
  text-decoration: none; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  transition: border-color .15s, transform .15s;
}
.design-switch2:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ============ Screens ============ */
.screen {
  min-height: 62svh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 7vh 22px; position: relative;
}
.screen.short { min-height: 40svh; }
.screen.hero { min-height: 88svh; padding-top: 12vh; }
.zone-talent { background: var(--bg); }
.zone-studio { background: var(--bg2); }
.zone-devlog { background: linear-gradient(180deg, var(--bg2), var(--navy) 140%); }

.h-mega {
  font-family: var(--disp); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98;
  font-size: clamp(46px, 9vw, 132px);
}
.h-big {
  font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02;
  font-size: clamp(34px, 5.6vw, 76px);
}
.grad {
  background: linear-gradient(92deg, var(--gold), var(--tealh));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gold-t { color: var(--gold); }
.teal-t { color: var(--tealh); }
.tiny { font-size: 14.5px; color: var(--dim); }
.mid { font-size: clamp(16px, 2vw, 21px); color: var(--mut); max-width: 52ch; margin-top: 16px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.stack { display: flex; flex-direction: column; gap: 26px; align-items: center; width: 100%; }

/* entrance — hidden only when JS is running (html.has-rv), so the page
   still renders fully if the script fails to load */
.has-rv .rv { opacity: 0; transform: translateY(44px) scale(0.98); filter: blur(8px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease; }
.has-rv .rv.in { opacity: 1; transform: none; filter: none; }
.rv2 { transition-delay: .12s; }
.rv3 { transition-delay: .24s; }

.down-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--dim); font-size: 22px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateX(-50%) translateY(8px); } }

/* ============ Hero 3D controller ============ */
.hero-pad { perspective: 1100px; margin-top: 54px; }
.pad2 {
  position: relative; width: min(460px, 78vw); height: min(280px, 47vw);
  background: linear-gradient(145deg, #1B3945, var(--navy) 55%, #0F2530);
  border: 4px solid var(--gold);
  clip-path: polygon(0 16px, 16px 16px, 16px 0, calc(100% - 16px) 0, calc(100% - 16px) 16px, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 16px calc(100% - 16px), 0 calc(100% - 16px));
  transform-style: preserve-3d;
  /* mirrored horizontally for balance; the wordmark is un-mirrored below */
  transform: rotateX(14deg) rotateY(calc(-16deg + var(--spin, 0deg))) scaleX(-1);
  will-change: transform;
}
.pp { position: absolute; }
.pp-dv { left: 17%; top: 24%; width: 13%; height: 46%; background: #0C1B23; border: 3px solid var(--gold); transform: translateZ(30px); }
.pp-dh { left: 9%; top: 39%; width: 29%; height: 17%; background: #0C1B23; border: 3px solid var(--gold); transform: translateZ(30px); }
.pp-t { width: 4.5%; aspect-ratio: 1; background: var(--teal); }
.pp-t1 { left: 45%; top: 40%; transform: translateZ(46px); }
.pp-t2 { left: 50.5%; top: 50%; transform: translateZ(60px); }
.pp-t3 { left: 56%; top: 40%; transform: translateZ(46px); }
.pp-b { width: 9.5%; aspect-ratio: 1; background: #0C1B23; border: 3px solid var(--gold); }
.pp-b1 { right: 15%; top: 16%; transform: translateZ(36px); }
.pp-b2 { right: 25.5%; top: 37%; transform: translateZ(46px); }
.pp-b3 { right: 4.5%; top: 37%; transform: translateZ(46px); }
.pp-b4 { right: 15%; top: 58%; transform: translateZ(36px); }
.pp-w { left: 50%; bottom: 9%; transform: translateX(-50%) translateZ(24px) scaleX(-1); font-family: var(--pixel); font-size: clamp(15px, 2vw, 22px); letter-spacing: 0.14em; }
.pp-w em { font-style: normal; color: var(--gold); }
.pad2-shadow { width: min(380px, 64vw); height: 30px; margin: 44px auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent); }

/* ============ Coverflow ============ */
.flow { position: relative; width: 100%; max-width: 1200px; height: min(46vw, 430px); perspective: 1300px; margin-top: 34px; }
.flow-item {
  position: absolute; left: 50%; top: 50%; width: min(58vw, 560px); aspect-ratio: 16 / 9;
  margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--bg3);
  transform: translate(-50%, -50%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s;
  will-change: transform; cursor: pointer;
}
.flow-item img { width: 100%; height: 100%; object-fit: cover; }
.flow-item .flow-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; text-align: left;
  font-family: var(--disp); font-weight: 700; font-size: clamp(16px, 2.2vw, 24px);
  background: linear-gradient(transparent, rgba(8, 13, 15, 0.9));
}
.flow-ctl { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.flow-btn {
  width: 54px; height: 54px; border-radius: 50%; font-size: 26px; line-height: 1;
  border: 1.5px solid var(--line); color: var(--ink); background: rgba(16, 34, 43, 0.6);
  transition: border-color .15s, transform .15s;
}
.flow-btn:hover { border-color: var(--gold); transform: scale(1.06); }

/* ============ Big numbers ============ */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; max-width: 1080px; margin-top: 44px; }
.num { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.num b { font-family: var(--disp); font-weight: 800; font-size: clamp(38px, 5.4vw, 78px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.num span { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); font-size: 15.5px; }
.num img { width: 22px; height: 22px; }

/* ============ Jobs (one per row) ============ */
.jobs2 { width: 100%; max-width: 1020px; margin-top: 30px; text-align: left; }
.jobrow {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 26px 6px; border-top: 1px solid var(--line); text-decoration: none;
  transition: transform .18s, background .18s;
}
.jobrow:last-child { border-bottom: 1px solid var(--line); }
.jobrow:hover { transform: translateX(10px); }
.jobrow .jt { font-family: var(--disp); font-weight: 700; font-size: clamp(19px, 2.8vw, 32px); }
.jobrow .jt small { display: block; font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--dim); margin-top: 2px; }
.jobrow .jp { font-size: clamp(15px, 2vw, 21px); color: var(--mut); white-space: nowrap; font-variant-numeric: tabular-nums; }
.jobrow .jp b { color: var(--gold); margin-left: 10px; }

/* ============ Strips (talent / devlog) ============ */
.strip {
  display: flex; gap: 18px; overflow-x: auto; width: 100%; max-width: 1200px;
  padding: 34px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 min(78vw, 320px); scroll-snap-align: center; text-decoration: none; text-align: left;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg3);
  transition: transform .2s, border-color .2s;
}
.tcard:hover { transform: translateY(-6px); border-color: var(--gold); }
.tcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tcard .tc-t { padding: 16px 18px 20px; }
.tcard .tc-t b { display: block; font-family: var(--disp); font-size: 19px; }
.tcard .tc-t span { color: var(--mut); font-size: 14px; }

/* ============ Company rows ============ */
.cos { width: 100%; max-width: 1080px; margin-top: 24px; text-align: left; }
.corow { padding: 34px 6px; border-top: 1px solid var(--line); }
.corow:last-child { border-bottom: 1px solid var(--line); }
.corow-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.corow-head .cn { font-family: var(--disp); font-weight: 800; font-size: clamp(22px, 3.4vw, 40px); }
.corow-head .cy { font-family: var(--disp); font-weight: 800; font-size: clamp(20px, 3vw, 34px); color: var(--teal); white-space: nowrap; }
.corow-sub { color: var(--mut); font-size: 15.5px; margin-top: 4px; }
.corow-work { display: flex; gap: 10px; margin-top: 16px; }
.corow-work img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.corow-refs { margin-top: 12px; font-size: 13.5px; color: var(--dim); }

/* ============ DevLog ============ */
.devgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 1160px; margin-top: 40px; text-align: left; }
.devcard { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(16, 34, 43, 0.55); transition: transform .2s, border-color .2s; }
.devcard:hover { transform: translateY(-5px); border-color: var(--tealh); }
.dev-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.dev-media img { width: 100%; height: 100%; object-fit: cover; }
.dev-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #10202a;
}
.dev-play span {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(242, 178, 22, 0.94);
  display: flex; align-items: center; justify-content: center; padding-left: 5px;
  transition: transform .2s;
}
.devcard:hover .dev-play span { transform: scale(1.1); }
.dev-body { padding: 16px 18px 18px; }
.dev-body p { font-family: var(--disp); font-weight: 700; font-size: 17.5px; line-height: 1.3; }
.dev-meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--mut); font-size: 13.5px; }
.dev-av {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(242, 178, 22, 0.14); color: var(--gold); border: 1px solid rgba(242, 178, 22, 0.4);
  font-size: 11px; font-weight: 700;
}

/* ============ Footer ============ */
.d2foot {
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  padding: 44px 22px 110px; color: var(--dim); font-size: 14.5px; text-align: center;
}
.d2foot img { height: 34px; }
.d2foot a { color: var(--mut); }

/* ============ Fork cards (hub landing) ============ */
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; max-width: 960px; margin-top: 40px; }
.fork-card {
  position: relative; border-radius: 24px; padding: 32px 34px; min-height: 244px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  text-align: left; text-decoration: none; overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.2,1);
}
.fork-card:hover { transform: scale(1.03) translateY(-4px); }
.fork-card:active { transform: scale(0.99); }
.fork-gold { background: var(--gold); color: #14232B; }
.fork-teal { background: var(--teal); color: #06211F; }
.fk-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 57%; }
.fork-card h2 { font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(28px, 3.8vw, 46px); line-height: 1; }
.fork-card .fk-sub { font-size: clamp(14px, 1.5vw, 16px); font-weight: 500; opacity: .78; line-height: 1.35; }
.fork-card .fk-go { font-weight: 700; font-size: clamp(16px, 2vw, 20px); display: inline-flex; align-items: center; gap: 10px; }
.fork-card .fk-go::after { content: "→"; transition: transform .2s; }
.fork-card:hover .fk-go::after { transform: translateX(6px); }
/* minimal line illustration, inherits the card ink colour */
.fork-art {
  position: absolute; right: 4px; bottom: 2px; width: 39%; max-width: 172px; height: auto;
  color: currentColor; opacity: .2; pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.fork-card:hover .fork-art { opacity: .3; transform: translateY(-5px); }

/* ============ Coverflow hover info ============ */
.flow-item .flow-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 14px; text-align: left;
  background: linear-gradient(transparent, rgba(8, 13, 15, 0.96) 55%);
  opacity: 0; transition: opacity .25s;
}
.flow-item:hover .flow-info, .flow-item:focus-visible .flow-info { opacity: 1; }
.flow-item:hover .flow-cap, .flow-item:focus-visible .flow-cap { opacity: 0; }
.flow-cap { transition: opacity .2s; }
.flow-info .fi-t { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(16px, 2.2vw, 24px); }
.flow-info .fi-m { display: block; color: var(--gold); font-weight: 700; font-size: clamp(14px, 1.8vw, 19px); font-variant-numeric: tabular-nums; margin-top: 2px; }
.flow-info .fi-d { display: block; color: var(--mut); font-size: 13.5px; margin-top: 2px; }

/* ============ How it works: four steps ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; max-width: 1080px; margin-top: 36px; text-align: left; }
.step {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px;
  background: rgba(16, 34, 43, 0.42); transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step i { font-family: var(--pixel); font-style: normal; font-size: 12px; color: var(--gold); letter-spacing: .06em; }
.step b { display: block; font-family: var(--disp); font-weight: 700; font-size: 19px; margin: 10px 0 6px; }
.step span { color: var(--mut); font-size: 14px; line-height: 1.4; }

/* ============ Public profile mockup ============ */
.pmock {
  width: 100%; max-width: 700px; margin-top: 34px; text-align: left;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--bg3); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.pm-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(10, 17, 20, 0.6); }
.pm-dots { display: flex; gap: 6px; flex-shrink: 0; }
.pm-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.pm-url {
  flex: 1; min-width: 0; background: rgba(240, 246, 245, 0.06); border-radius: 999px;
  padding: 7px 14px; font-size: 13.5px; color: var(--dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pm-url b { color: var(--ink); font-weight: 700; }
.pm-copy { font-size: 13px; font-weight: 700; color: var(--gold); padding: 8px 12px; border-radius: 999px; flex-shrink: 0; transition: background .15s; }
.pm-copy:hover { background: rgba(242, 178, 22, 0.14); }
.pm-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.pm-head { display: flex; align-items: center; gap: 14px; }
.pm-av {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(242, 178, 22, 0.15); color: var(--gold); border: 1px solid rgba(242, 178, 22, 0.4);
  font-size: 16px; font-weight: 700;
}
.pm-name { font-family: var(--disp); font-weight: 700; font-size: 22px; }
.pm-role { color: var(--mut); font-size: 14px; }
.pm-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-tag { border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font-size: 12px; color: var(--mut); }
.pm-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pm-shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.pm-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.pm-stat b { display: block; font-family: var(--disp); font-weight: 800; font-size: 21px; font-variant-numeric: tabular-nums; }
.pm-stat span { color: var(--dim); font-size: 12.5px; }
.pm-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-acts .pill { min-height: 40px; padding: 9px 20px; font-size: 14.5px; }

/* ============ One public URL (headline product feature) ============ */
.urlbar {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 30px; padding: 14px 16px 14px 26px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(242, 178, 22, 0.14), rgba(0, 167, 157, 0.12));
  border: 1.5px solid rgba(242, 178, 22, 0.45);
  box-shadow: 0 0 0 6px rgba(242, 178, 22, 0.05), 0 18px 50px rgba(0, 0, 0, 0.45);
}
.urlbig {
  font-family: var(--disp); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(22px, 4vw, 44px); line-height: 1; color: var(--ink);
}
.urlbig b { color: var(--gold); }
.urlbar .pill { min-height: 40px; padding: 9px 20px; font-size: 14.5px; }

/* ============ Full public profile preview ============ */
.profile-full {
  width: 100%; max-width: 1000px; margin-top: 34px; text-align: left;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: var(--bg3); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.pf-banner {
  height: 118px; position: relative;
  background:
    radial-gradient(circle at 18% 120%, rgba(242, 178, 22, 0.5), transparent 55%),
    radial-gradient(circle at 82% -30%, rgba(0, 167, 157, 0.55), transparent 55%),
    linear-gradient(120deg, #16323E, #0E2830);
}
.pf-banner::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(240, 246, 245, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 246, 245, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, #000, transparent 70%);
          mask-image: linear-gradient(100deg, #000, transparent 70%);
}
.pf-main { padding: 0 26px 26px; }
.pf-top { display: flex; align-items: flex-end; gap: 18px; margin-top: -44px; flex-wrap: wrap; }
.pf-avatar {
  width: 96px; height: 96px; border-radius: 22px; flex-shrink: 0; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 32px; color: #14232B;
  background: linear-gradient(150deg, var(--gold), #FFD46B);
  border: 4px solid var(--bg3); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.pf-id { flex: 1; min-width: 240px; padding-bottom: 4px; }
.pf-name { font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.pf-role { color: var(--gold); font-weight: 700; font-size: 16px; margin-top: 2px; }
.pf-meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--mut); font-size: 14px; margin-top: 6px; }
.pf-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pf-meta span + span::before { content: "·"; color: var(--dim); margin-right: 8px; }
.pf-status {
  display: inline-flex; align-items: center; gap: 9px; align-self: center;
  border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px;
  color: var(--tealh); background: rgba(0, 167, 157, 0.14); border: 1.5px solid rgba(0, 167, 157, 0.5);
}
.pf-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--tealh); animation: livedot 2s ease-in-out infinite; }
@keyframes livedot { 50% { opacity: .35; transform: scale(.8); } }
.pf-open { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }

/* social row */
.pf-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pf-soc {
  width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(10, 17, 20, 0.5); color: var(--mut);
  font-size: 12px; font-weight: 800; transition: border-color .15s, transform .15s, background .15s;
}
.pf-soc:hover { border-color: var(--gold); transform: translateY(-3px); }
.pf-soc img { width: 19px; height: 19px; }
.icon-fb { font-size: 11px; font-weight: 800; color: var(--mut); letter-spacing: .02em; }
.pf-soc.li { background: #0A66C2; color: #fff; border-color: transparent; }

/* sections inside the profile */
.pf-sec { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pf-sec > h4 {
  font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 14px;
}
.pf-skills { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-skill {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13.5px;
  color: var(--ink); background: rgba(240, 246, 245, 0.04); transition: border-color .15s, color .15s;
}
.pf-skill:hover { border-color: var(--teal); color: var(--tealh); }

.pf-exp { display: flex; flex-direction: column; }
.pf-exp-row { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; flex-wrap: wrap; }
.pf-exp-row + .pf-exp-row { border-top: 1px dashed var(--line); }
.pf-exp-role { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.pf-exp-org { color: var(--gold); font-weight: 600; font-size: 15px; }
.pf-exp-when { margin-left: auto; color: var(--dim); font-size: 13.5px; white-space: nowrap; }

.pf-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pf-proj {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(10, 17, 20, 0.45);
  transition: border-color .2s, transform .2s;
}
.pf-proj:hover { border-color: var(--gold); transform: translateY(-4px); }
.pf-proj-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pf-proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pf-proj:hover .pf-proj-img img { transform: scale(1.06); }
.pf-plat {
  position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 700;
  background: rgba(8, 13, 15, 0.82); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px;
}
.pf-proj-body { padding: 14px 16px 16px; }
.pf-proj-title { font-family: var(--disp); font-weight: 700; font-size: 17.5px; }
.pf-proj-role { color: var(--mut); font-size: 13px; margin-top: 2px; }
.pf-proj-role b { color: var(--tealh); font-weight: 600; }
.pf-proj-desc { color: var(--mut); font-size: 14px; margin-top: 8px; line-height: 1.4; }
.pf-tech { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pf-tech span { font-size: 11.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 5px; padding: 2px 8px; }
.pf-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pf-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  transition: border-color .15s, color .15s;
}
.pf-link:hover { border-color: var(--gold); color: var(--gold); }
.pf-link img { width: 14px; height: 14px; }

.pf-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pf-game { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(10, 17, 20, 0.45); transition: border-color .2s, transform .2s; }
.pf-game:hover { border-color: var(--teal); transform: translateY(-4px); }
.pf-game > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pf-game-b { padding: 10px 12px 12px; }
.pf-game-t { font-weight: 700; font-size: 14.5px; }
.pf-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.pf-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; color: var(--mut);
}
.pf-badge img { width: 12px; height: 12px; }

.pf-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pf-metric { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(10, 17, 20, 0.45); }
.pf-metric b { display: block; font-family: var(--disp); font-weight: 800; font-size: 26px; color: var(--gold); font-variant-numeric: tabular-nums; }
.pf-metric span { color: var(--mut); font-size: 12.5px; }

.pf-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-cert {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px;
  border: 1px solid rgba(0, 167, 157, 0.4); background: rgba(0, 167, 157, 0.1);
  border-radius: 999px; padding: 7px 14px; color: var(--ink);
}
.pf-cert::before { content: "✓"; color: var(--tealh); font-weight: 800; }

.pf-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ============ Profile cards (studios discover developers) ============ */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; max-width: 1160px; margin-top: 36px; }
.pcard { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; text-align: left; background: var(--bg3); cursor: pointer; }
.pcard > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover > img { transform: scale(1.05); }
.pcard-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px;
  background: linear-gradient(transparent, rgba(8, 13, 15, 0.92) 60%); transition: opacity .2s;
}
.pcard-cap b { display: block; font-family: var(--disp); font-size: 18px; }
.pcard-cap span { color: var(--mut); font-size: 12.5px; }
.pcard-open {
  position: absolute; inset: 0; background: rgba(8, 13, 15, 0.9); backdrop-filter: blur(3px);
  display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center;
  padding: 14px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.pcard:hover .pcard-open, .pcard:focus-within .pcard-open, .pcard.open .pcard-open { opacity: 1; pointer-events: auto; }
.pcard:hover .pcard-cap, .pcard.open .pcard-cap { opacity: 0; }
.pcard-open .wt-label { font-size: 12px; color: var(--dim); text-align: center; }
.pcard-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.member {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px 7px 8px; background: rgba(16, 34, 43, 0.85);
  font-size: 14px; transition: border-color .15s, transform .15s;
}
.member:hover { border-color: var(--gold); transform: scale(1.04); }
.member .m-av {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(242, 178, 22, 0.15); color: var(--gold); border: 1px solid rgba(242, 178, 22, 0.4);
  font-size: 10px; font-weight: 700;
}
.member small { color: var(--dim); font-size: 12px; }
.member .m-dl { color: var(--gold); font-weight: 700; }

/* ============ Job filter pills ============ */
.jfilters { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.pill-select {
  appearance: none; border-radius: 999px; padding: 12px 44px 12px 24px; min-height: 46px;
  background-color: var(--bg3); border: 1.5px solid var(--line); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--mut) 50%), linear-gradient(135deg, var(--mut) 50%, transparent 50%);
  background-position: calc(100% - 22px) 21px, calc(100% - 17px) 21px;
  background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color .15s;
}
.pill-select:hover, .pill-select:focus { border-color: var(--gold); outline: none; }
.pill-select option { background: var(--bg3); color: var(--ink); font-weight: 400; }
.pill-toggle[aria-pressed="true"] { border-color: var(--teal); color: var(--tealh); background: rgba(0, 167, 157, 0.12); }

/* ============ DevLog feed (Twitter style) ============ */
.feed { width: 100%; max-width: 620px; margin: 30px auto 0; text-align: left; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(14, 24, 29, 0.6); }
.compose { display: flex; gap: 12px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.compose .post-av { flex-shrink: 0; }
.compose input {
  flex: 1; min-width: 0; background: transparent; border: none; color: var(--ink);
  font: inherit; font-size: 16.5px; outline: none;
}
.compose input::placeholder { color: var(--dim); }
.post { display: flex; gap: 12px; padding: 18px; border-top: 1px solid var(--line); transition: background .15s; }
.post:first-of-type { border-top: none; }
.post:hover { background: rgba(16, 34, 43, 0.45); }
.post-av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(242, 178, 22, 0.14); color: var(--gold); border: 1px solid rgba(242, 178, 22, 0.4);
  font-size: 13px; font-weight: 700;
}
.post:nth-child(even) .post-av { background: rgba(0, 167, 157, 0.14); color: var(--tealh); border-color: rgba(0, 167, 157, 0.4); }
.post-body { flex: 1; min-width: 0; }
.post-head { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; font-size: 15px; }
.post-head b { font-weight: 700; }
.post-head span { color: var(--dim); font-size: 14px; }
.post-text { margin-top: 3px; font-size: 15.5px; line-height: 1.45; }
.post-media { position: relative; margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; padding: 0; display: block; width: 100%; }
.post-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-media .dev-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.post-media .dev-play span {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(242, 178, 22, 0.94); color: #10202a;
  display: flex; align-items: center; justify-content: center; padding-left: 4px; font-size: 17px; transition: transform .2s;
}
.post-media:hover .dev-play span { transform: scale(1.12); }
.post-acts { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; }
.post-act {
  display: inline-flex; gap: 7px; align-items: center; color: var(--dim); font-size: 13.5px;
  border-radius: 999px; padding: 7px 12px; transition: color .15s, background .15s; font-variant-numeric: tabular-nums;
}
.post-act:hover { color: var(--tealh); background: rgba(0, 167, 157, 0.12); }
.post-act.like:hover { color: var(--gold); background: rgba(242, 178, 22, 0.12); }
.post-act.like.on { color: var(--gold); }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--bg3); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 13px 22px; font-size: 14.5px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 120; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nums { grid-template-columns: 1fr; gap: 28px; }
  .devgrid { grid-template-columns: 1fr; max-width: 560px; }
  .fork { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .profiles { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .post-acts { max-width: none; }
  .corow-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .corow-work img { width: 30%; }
  .screen { padding: 6vh 20px; }
  .jobrow { flex-direction: column; gap: 6px; align-items: flex-start; }
  .pf-games, .pf-metrics { grid-template-columns: repeat(2, 1fr); }
  /* the floating switch already offers Design 1, so free up bar space */
  .d2nav .nav-d1 { display: none; }
}

/* ---- phones: scale the whole layout down, keep sections distinct ---- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .h-mega { font-size: clamp(30px, 8.4vw, 46px); }
  .h-big { font-size: clamp(24px, 7.2vw, 34px); }
  .tiny { font-size: 13px; }

  .screen { min-height: auto; padding: 42px 16px; }
  .screen.short { min-height: auto; padding: 54px 16px; }
  .screen.hero { min-height: auto; padding: 92px 16px 54px; }
  .screen + .screen { border-top: 1px solid var(--line); }
  .down-hint { display: none; }

  .d2nav { padding: 6px 14px; }
  .d2nav .logo img { height: 22px; }
  .d2nav .pill { min-height: 32px; padding: 5px 13px; font-size: 13px; }
  .d2nav-right { gap: 6px; }

  .pill { padding: 10px 18px; min-height: 42px; font-size: 14.5px; }
  .pill-big { font-size: 15.5px; padding: 13px 24px; min-height: 48px; }
  .btn-row { gap: 10px; margin-top: 26px; }

  .fork { gap: 14px; margin-top: 28px; }
  .fork-card { min-height: 168px; padding: 22px 20px; border-radius: 18px; gap: 10px; }
  .fk-body { max-width: 64%; gap: 8px; }
  .fork-art { width: 40%; max-width: 130px; }

  .hero-pad { margin-top: 30px; }
  .pad2 { width: min(300px, 76vw); height: min(190px, 48vw); }
  .pad2-shadow { margin-top: 30px; width: min(250px, 62vw); height: 22px; }

  .flow { height: min(58vw, 250px); margin-top: 22px; }
  .flow-item { width: min(74vw, 310px); }
  .flow-ctl { gap: 10px; margin-top: 18px; }
  .flow-btn { width: 46px; height: 46px; font-size: 22px; }

  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .step { padding: 16px 16px; border-radius: 14px; }
  .step b { font-size: 17px; margin: 7px 0 4px; }
  .step span { font-size: 13.5px; }

  .pmock { margin-top: 24px; border-radius: 16px; }
  .pm-body { padding: 16px; gap: 13px; }
  .pm-url { font-size: 12px; padding: 6px 11px; }
  .pm-copy { font-size: 12px; padding: 6px 9px; }
  .pm-av { width: 44px; height: 44px; font-size: 14px; }
  .pm-name { font-size: 19px; }
  .pm-shots { gap: 6px; }
  .pm-stats { gap: 16px; }
  .pm-stat b { font-size: 18px; }

  .profiles { grid-template-columns: 1fr; max-width: 420px; gap: 12px; margin-top: 24px; }

  /* public profile preview */
  .urlbar { margin-top: 22px; padding: 10px 10px 10px 18px; gap: 10px; }
  .urlbig { font-size: clamp(17px, 5.6vw, 24px); }
  .urlbar .pill { min-height: 36px; padding: 8px 15px; font-size: 13px; }
  .profile-full { margin-top: 24px; border-radius: 16px; }
  .pf-banner { height: 84px; }
  .pf-main { padding: 0 16px 20px; }
  .pf-top { margin-top: -34px; gap: 12px; }
  .pf-avatar { width: 72px; height: 72px; border-radius: 18px; font-size: 24px; border-width: 3px; }
  .pf-id { min-width: 0; }
  .pf-status { align-self: flex-start; padding: 7px 14px; font-size: 13px; }
  .pf-sec { margin-top: 20px; padding-top: 18px; }
  .pf-projects { grid-template-columns: 1fr; gap: 12px; }
  .pf-games, .pf-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pf-metric { padding: 12px 13px; }
  .pf-metric b { font-size: 21px; }
  .pf-exp-row { gap: 6px; }
  .pf-exp-when { margin-left: 0; width: 100%; }
  .pf-soc { width: 36px; height: 36px; border-radius: 10px; }
  .pf-soc img { width: 17px; height: 17px; }

  .nums { margin-top: 26px; }
  .num b { font-size: 40px; }
  .num span { font-size: 14px; }

  .jfilters { gap: 8px; margin-top: 22px; }
  .pill-select { min-height: 42px; padding: 10px 38px 10px 18px; font-size: 14px; background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; }
  .jobs2 { margin-top: 18px; }
  .jobrow { padding: 16px 4px; }
  .jobrow .jt { font-size: 18px; }
  .jobrow .jt small { font-size: 12.5px; }
  .jobrow .jp { font-size: 15px; }
  .jobrow:hover { transform: none; }

  .strip { padding: 22px 4px 14px; gap: 12px; }
  .tcard { flex-basis: min(80vw, 280px); border-radius: 14px; }

  .cos { margin-top: 14px; }
  .corow { padding: 20px 4px; }
  .corow-work { gap: 6px; margin-top: 12px; }

  .feed { border-radius: 16px; margin-top: 22px; }
  .compose { padding: 14px; }
  .compose input { font-size: 15px; }
  .post { padding: 14px; gap: 10px; }
  .post-av { width: 38px; height: 38px; font-size: 12px; }
  .post-text { font-size: 15px; }
  .post-act { padding: 6px 9px; font-size: 13px; }

  .d2foot { padding: 26px 16px 88px; gap: 12px; font-size: 13px; }
  .d2foot img { height: 28px; }
  .design-switch2 { bottom: 14px; right: 14px; padding: 10px 16px; font-size: 13px; }
  .toast { bottom: 74px; font-size: 13.5px; padding: 11px 18px; }
}

/* ---- very small phones: keep the bar from wrapping ----
   DevLog always stays reachable; on the hub the two path pills are
   dropped because the fork cards right below already offer both. */
@media (max-width: 430px) {
  body[data-page="d2home"] .d2nav .pill-gold,
  body[data-page="d2home"] .d2nav .pill-teal { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .has-rv .rv { opacity: 1; transform: none; filter: none; }
  .pad2 { transform: rotateX(14deg) rotateY(-16deg) scaleX(-1) !important; }
  .down-hint { animation: none; }
}

/* ============================================================
   TALENT HUB LAYER · Proof Layer, public profiles, onboarding,
   search + recruiter workspace. Same Design 2 tokens.
   ============================================================ */

/* ---------- Proof triggers ---------- */
.proof-trigger {
  cursor: help; position: relative;
  text-decoration: underline dotted rgba(242, 178, 22, 0.55);
  text-underline-offset: 3px; border-radius: 4px;
}
.proof-trigger::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 5px;
  background: var(--gold); vertical-align: super; border-radius: 1px; opacity: .75;
}
button.proof-trigger, .proof-trigger.gp-block { text-decoration: none; cursor: pointer; }

/* ---------- Proof popover ---------- */
.gdev-proof {
  position: fixed; z-index: 160; width: 340px; max-width: calc(100vw - 20px);
  background: #0D1B21; border: 1px solid rgba(242, 178, 22, 0.35); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  font-size: 14px; line-height: 1.45; text-align: left; color: var(--ink);
  background-image: linear-gradient(rgba(240,246,245,0.03) 1px, transparent 1px);
  background-size: 100% 26px;
}
.gdev-proof.gp-in { animation: gpIn .16s ease; }
@keyframes gpIn { from { opacity: 0; transform: translateY(4px); } }
.gdev-proof.gp-compact { width: 280px; }
.gp-arrow {
  position: absolute; bottom: -6px; width: 12px; height: 12px; transform: rotate(45deg);
  background: #0D1B21; border-right: 1px solid rgba(242,178,22,0.35); border-bottom: 1px solid rgba(242,178,22,0.35);
}
.gdev-proof.gp-below .gp-arrow { bottom: auto; top: -6px; border: none; border-left: 1px solid rgba(242,178,22,0.35); border-top: 1px solid rgba(242,178,22,0.35); }
.gp-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; align-items: center; }
.gp-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.gp-verify { font-size: 11px; color: var(--tealh); border: 1px solid rgba(0,167,157,0.4); border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.gp-title { font-family: var(--disp); font-weight: 700; font-size: 15.5px; margin-bottom: 4px; }
.gp-statement { color: var(--mut); }
.gp-metrics { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; }
.gp-metric b { display: block; font-family: var(--disp); font-size: 18px; font-variant-numeric: tabular-nums; }
.gp-metric i { font-style: normal; font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.gp-after b { color: var(--gold); }
.gp-metric-arrow { color: var(--dim); }
.gp-improve { margin-left: auto; font-weight: 700; color: var(--tealh); font-size: 13px; }
.gp-own { margin-top: 8px; font-size: 13px; color: var(--ink); }
.gp-own::before { content: "◆ "; color: var(--teal); }
.gp-ctx { margin-top: 6px; font-size: 12.5px; color: var(--dim); }
.gp-evidence { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.gp-chip { font-size: 11px; color: var(--mut); border: 1px solid var(--line); border-radius: 5px; padding: 2px 8px; }
.gdev-proof.gp-sheet {
  left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; max-width: none;
  border-radius: 18px 18px 0 0; border-left: 0; border-right: 0; border-bottom: 0;
  padding-bottom: max(18px, env(safe-area-inset-bottom)); animation: gpSheet .2s ease;
}
@keyframes gpSheet { from { transform: translateY(30px); opacity: 0; } }

/* ---------- Hub nav (talent-hub pages) ---------- */
.hubnav-links { display: flex; gap: 4px; align-items: center; margin-right: auto; margin-left: 14px; }
.hubnav-links a { color: var(--mut); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; }
.hubnav-links a:hover, .hubnav-links a[aria-current="page"] { color: var(--ink); background: rgba(240,246,245,0.07); }

/* ---------- Public profile page ---------- */
.tp-wrap { max-width: 1020px; margin: 0 auto; padding: 76px 20px 60px; }
.tp-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--bg3); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.tp-banner { height: 150px; position: relative;
  background: radial-gradient(circle at 15% 130%, rgba(242,178,22,0.5), transparent 55%),
              radial-gradient(circle at 85% -40%, rgba(0,167,157,0.55), transparent 55%),
              linear-gradient(120deg, #16323E, #0E2830); }
.tp-banner::after { content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(240,246,245,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(240,246,245,0.14) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(100deg, #000, transparent 72%); mask-image: linear-gradient(100deg, #000, transparent 72%); }
.tp-banner .tp-ribbon { position: absolute; right: 16px; top: 16px; font-size: 12px; font-weight: 700; color: #06211F;
  background: var(--tealh); border-radius: 999px; padding: 5px 14px; }
.tp-main { padding: 0 28px 28px; }
/* face sits directly next to the name, both always on dark */
.tp-top { display: flex; align-items: center; gap: 18px; margin-top: 0; padding-top: 20px; flex-wrap: wrap; }
.tp-avatar { width: 88px; height: 88px; border-radius: 22px; flex-shrink: 0; position: relative; z-index: 1; margin-top: 0;
  display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; font-size: 34px;
  color: #14232B; background: linear-gradient(150deg, var(--gold), #FFD46B);
  border: 4px solid var(--bg3); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
.tp-avatar.accent-teal { background: linear-gradient(150deg, var(--teal), #35E2D6); color: #06211F; }
.tp-id { flex: 1; min-width: 240px; padding-bottom: 4px; }
.tp-name { font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; }
.tp-callsign { font-size: 13.5px; color: var(--dim); font-weight: 600; }
.tp-callsign b { color: var(--gold); font-weight: 700; }
.tp-role { color: var(--gold); font-weight: 700; font-size: 16.5px; margin-top: 3px; }
.tp-meta { display: flex; gap: 8px 0; flex-wrap: wrap; color: var(--mut); font-size: 14px; margin-top: 6px; }
.tp-meta span + span::before { content: "·"; color: var(--dim); margin: 0 8px; }
.tp-beacon { display: inline-flex; align-items: center; gap: 9px; align-self: center;
  border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px;
  color: var(--tealh); background: rgba(0,167,157,0.14); border: 1.5px solid rgba(0,167,157,0.5); }
.tp-beacon i { width: 9px; height: 9px; border-radius: 50%; background: var(--tealh); animation: livedot 2s ease-in-out infinite; }
.tp-headline { margin-top: 16px; font-size: clamp(16px, 2vw, 19px); color: var(--ink); max-width: 62ch; }
.tp-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.tp-actions .pill { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* profile URL bar */
.tp-url { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 10px 10px 18px;
  border: 1.5px solid rgba(242,178,22,0.4); border-radius: 999px;
  background: linear-gradient(120deg, rgba(242,178,22,0.1), rgba(0,167,157,0.08)); flex-wrap: wrap; }
.tp-url code { font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--ink); }
.tp-url code b { color: var(--gold); }
.tp-url .pill { min-height: 36px; padding: 7px 16px; font-size: 13px; }

/* audience-view switcher */
.tp-views { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.tp-view-btn { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 17px; min-height: 40px;
  font-weight: 700; font-size: 13.5px; color: var(--mut); transition: border-color .15s, color .15s, background .15s; }
.tp-view-btn:hover { color: var(--ink); border-color: var(--mut); }
.tp-view-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(242,178,22,0.1); }
.tp-view-note { width: 100%; font-size: 12.5px; color: var(--dim); }

/* profile sections */
.tp-sec { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.tp-sec > h2 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.tp-sections { display: flex; flex-direction: column; }

/* skills */
.tp-skills { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-skill { border: 1px solid var(--line); border-radius: 8px; padding: 7px 13px; font-size: 13.5px; color: var(--ink); background: rgba(240,246,245,0.04); }
.tp-skill-mode { margin-left: auto; }
.tp-constellation { display: none; flex-direction: column; gap: 12px; }
.tp-sec.constellation-on .tp-skills { display: none; }
.tp-sec.constellation-on .tp-constellation { display: flex; }
.tc-node { border-left: 2px solid rgba(242,178,22,0.5); padding: 4px 0 4px 16px; position: relative; }
.tc-node::before { content: ""; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; background: var(--gold); border-radius: 2px; }
.tc-node > b { font-family: var(--disp); font-size: 15.5px; }
.tc-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tc-links span { font-size: 12px; color: var(--mut); border: 1px dashed var(--line); border-radius: 5px; padding: 2px 9px; position: relative; padding-left: 20px; }
.tc-links span::before { content: "↳"; position: absolute; left: 7px; color: var(--teal); }

/* projects + lens */
.tp-lens-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tp-lens-hint { font-size: 12.5px; color: var(--dim); }
.tp-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tp-proj { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(10,17,20,0.45); transition: border-color .2s, transform .2s; }
.tp-proj:hover { border-color: var(--gold); transform: translateY(-3px); }
.tp-proj-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.tp-proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tp-proj:hover .tp-proj-img img { transform: scale(1.05); }
.tp-stamp { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(8,13,15,0.85); border: 1px solid rgba(242,178,22,0.5); color: var(--gold); border-radius: 6px; padding: 3px 9px; }
.tp-ptype { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 700; background: rgba(8,13,15,0.82); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.tp-proj-body { padding: 14px 16px 16px; }
.tp-proj-title { font-family: var(--disp); font-weight: 700; font-size: 17.5px; }
.tp-proj-sub { color: var(--mut); font-size: 13px; margin-top: 2px; }
.tp-contrib { margin-top: 9px; font-size: 13.5px; color: var(--ink); border-left: 2px solid var(--teal); padding-left: 10px; }
.lens-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lens-chip { font-size: 11.5px; border-radius: 5px; padding: 3px 9px; border: 1px solid var(--line); color: var(--mut); }
.lens-chip.own { border-color: rgba(242,178,22,0.5); color: var(--gold); }
.lens-chip.own::before { content: "◆ "; }
.lens-chip.collab { border-color: rgba(0,167,157,0.45); color: var(--tealh); }
.lens-on .lens-chip { opacity: .3; }
.lens-on .lens-chip.own { opacity: 1; background: rgba(242,178,22,0.12); }
.lens-on .lens-chip.collab { opacity: .85; }
.lens-on .tp-proj { border-color: rgba(242,178,22,0.35); }
.tp-proj-foot { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.tp-proj-foot .pill { min-height: 34px; padding: 6px 14px; font-size: 12.5px; }
.tp-evbadge { font-size: 11.5px; color: var(--tealh); border: 1px solid rgba(0,167,157,0.4); border-radius: 5px; padding: 3px 9px; }

/* case study */
.tp-study { display: none; grid-column: 1 / -1; border: 1px solid rgba(242,178,22,0.3); border-radius: 14px; padding: 20px 22px; background: rgba(10,17,20,0.55); }
.tp-study.open { display: block; animation: gpIn .2s ease; }
.tp-study h3 { font-family: var(--disp); font-size: 19px; margin-bottom: 12px; }
.tp-study-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; }
.tp-study-item b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.tp-study-item p, .tp-study-item li { font-size: 13.5px; color: var(--mut); }
.tp-study-item ul { margin-left: 16px; }

/* experience / published / metrics / certs */
.tp-exp-row { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; flex-wrap: wrap; }
.tp-exp-row + .tp-exp-row { border-top: 1px dashed var(--line); }
.tp-exp-role { font-family: var(--disp); font-weight: 700; font-size: 16.5px; }
.tp-exp-org { color: var(--gold); font-weight: 600; font-size: 14.5px; }
.tp-exp-when { margin-left: auto; color: var(--dim); font-size: 13px; white-space: nowrap; }
.tp-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tp-game { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(10,17,20,0.45); }
.tp-game > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tp-game-b { padding: 10px 12px 12px; }
.tp-game-t { font-weight: 700; font-size: 14px; }
.tp-game-k { display: inline-block; margin-top: 5px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--tealh); border: 1px solid rgba(0,167,157,0.4); border-radius: 4px; padding: 2px 7px; }
.tp-game-p { margin-top: 6px; font-size: 11.5px; color: var(--dim); }
.tp-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tp-metric { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: rgba(10,17,20,0.45); text-align: left; }
.tp-metric b { display: block; font-family: var(--disp); font-weight: 800; font-size: 25px; color: var(--gold); font-variant-numeric: tabular-nums; }
.tp-metric span { color: var(--mut); font-size: 12.5px; }
.tp-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-cert { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; border: 1px solid rgba(0,167,157,0.4);
  background: rgba(0,167,157,0.1); border-radius: 999px; padding: 7px 14px; color: var(--ink); }
.tp-cert::before { content: "✓"; color: var(--tealh); font-weight: 800; }
.tp-learning { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-note { margin-top: 22px; font-size: 12.5px; color: var(--dim); text-align: center; }

/* audience-view ordering (same data, reordered + reframed) */
.tp-sections { display: flex; flex-direction: column; }
[data-view="recruiter"] .sec-projects { order: 1; } [data-view="recruiter"] .sec-skills { order: 2; }
[data-view="recruiter"] .sec-exp { order: 3; } [data-view="recruiter"] .sec-metrics { order: 4; }
[data-view="recruiter"] .sec-published { order: 5; } [data-view="recruiter"] .sec-certs { order: 6; }
[data-view="recruiter"] .sec-learning { order: 7; } [data-view="recruiter"] .sec-study-extra { display: none; }
[data-view="technical"] .sec-projects { order: 1; } [data-view="technical"] .sec-skills { order: 2; }
[data-view="technical"] .sec-certs { order: 3; } [data-view="technical"] .sec-exp { order: 4; }
[data-view="technical"] .sec-metrics { order: 6; } [data-view="technical"] .sec-published { order: 5; }
[data-view="showcase"] .sec-published { order: 1; } [data-view="showcase"] .sec-projects { order: 2; }
[data-view="showcase"] .sec-metrics { order: 3; } [data-view="showcase"] .sec-skills { order: 4; }
[data-view="showcase"] .sec-exp { order: 5; } [data-view="showcase"] .sec-certs { order: 6; }
[data-view="student"] .sec-projects { order: 1; } [data-view="student"] .sec-learning { order: 2; }
[data-view="student"] .sec-skills { order: 3; } [data-view="student"] .sec-exp { order: 4; }
[data-view="student"] .sec-published { order: 5; } [data-view="student"] .sec-metrics { order: 6; }
[data-view="client"] .sec-exp { order: 1; } [data-view="client"] .sec-projects { order: 2; }
[data-view="client"] .sec-metrics { order: 3; } [data-view="client"] .sec-certs { order: 4; }
[data-view="client"] .sec-skills { order: 5; } [data-view="client"] .sec-published { order: 6; }

/* ---------- Onboarding wizard ---------- */
.wiz-wrap { max-width: 880px; margin: 0 auto; padding: 84px 20px 70px; }
.wiz-head { text-align: center; margin-bottom: 26px; }
.wiz-head h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(30px, 4.6vw, 48px); }
.wiz-head p { color: var(--mut); margin-top: 8px; }
.wiz-progress { display: flex; gap: 6px; justify-content: center; margin: 22px 0 6px; }
.wiz-progress i { width: 34px; height: 5px; border-radius: 3px; background: var(--line); }
.wiz-progress i.done { background: var(--teal); }
.wiz-progress i.now { background: var(--gold); }
.wiz-stage-label { text-align: center; font-size: 12.5px; color: var(--dim); margin-bottom: 18px; }
.wiz-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }
.wiz-card { border: 1px solid var(--line); border-radius: 18px; background: var(--bg3); padding: 24px; }
.wiz-card h2 { font-family: var(--disp); font-size: 21px; margin-bottom: 6px; }
.wiz-card .wiz-sub { color: var(--mut); font-size: 14px; margin-bottom: 16px; }
.wiz-field { margin-bottom: 15px; }
.wiz-field > label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.wiz-field .opt { color: var(--dim); font-weight: 400; font-size: 12px; }
.wiz-input, .wiz-select, .wiz-textarea { width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 14px; color: var(--ink); font: inherit; font-size: 15px; min-height: 44px; }
.wiz-textarea { min-height: 84px; resize: vertical; }
.wiz-input:focus, .wiz-select:focus, .wiz-textarea:focus { outline: none; border-color: var(--teal); }
.wiz-error { color: #FF9B8A; font-size: 12.5px; margin-top: 5px; display: none; }
.wiz-field.invalid .wiz-input, .wiz-field.invalid .wiz-select, .wiz-field.invalid .wiz-textarea { border-color: #FF9B8A; }
.wiz-field.invalid .wiz-error { display: block; }
.wiz-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.wiz-choice { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; text-align: left; font-size: 14px;
  font-weight: 600; color: var(--mut); transition: border-color .15s, color .15s, background .15s; min-height: 48px; }
.wiz-choice:hover { color: var(--ink); border-color: var(--mut); }
.wiz-choice[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(242,178,22,0.09); }
.wiz-choice small { display: block; font-weight: 400; font-size: 12px; color: var(--dim); margin-top: 2px; }
.wiz-url-preview { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--dim);
  border: 1px dashed var(--line); border-radius: 999px; padding: 9px 16px; flex-wrap: wrap; }
.wiz-url-preview b { color: var(--gold); word-break: break-all; }
.wiz-url-ok { color: var(--tealh); font-size: 12px; font-weight: 700; margin-left: auto; }
.wiz-nav { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.wiz-skip { margin-left: auto; color: var(--dim); font-size: 13.5px; text-decoration: underline; min-height: 44px; }
.wiz-skip:hover { color: var(--ink); }
.wiz-preview { position: sticky; top: 66px; }
.wiz-preview-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.wiz-mini { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg3); }
.wiz-mini-banner { height: 52px; background: radial-gradient(circle at 20% 140%, rgba(242,178,22,0.5), transparent 60%), linear-gradient(120deg, #16323E, #0E2830); }
.wiz-mini-body { padding: 0 16px 16px; }
.wiz-mini-av { width: 52px; height: 52px; border-radius: 14px; margin-top: -24px; display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 18px; color: #14232B;
  background: linear-gradient(150deg, var(--gold), #FFD46B); border: 3px solid var(--bg3); }
.wiz-mini-name { font-family: var(--disp); font-weight: 700; font-size: 17px; margin-top: 8px; }
.wiz-mini-role { color: var(--gold); font-size: 12.5px; font-weight: 600; }
.wiz-mini-meta { color: var(--dim); font-size: 12px; margin-top: 3px; }
.wiz-mini-url { margin-top: 10px; font-size: 11.5px; color: var(--dim); border: 1px dashed var(--line); border-radius: 8px; padding: 6px 10px; word-break: break-all; }
.wiz-mini-url b { color: var(--gold); }
.wiz-mini-proj { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.wiz-mini-proj b { font-size: 13px; display: block; }
.wiz-mini-proj span { font-size: 11.5px; color: var(--mut); }
.wiz-mini-status { margin-top: 10px; font-size: 11.5px; font-weight: 700; color: var(--tealh); }
.wiz-reset { margin-top: 12px; font-size: 12px; color: var(--dim); text-align: center; }
.wiz-reset button { text-decoration: underline; color: inherit; min-height: 34px; }
.wiz-done { text-align: center; padding: 20px 0 4px; }
.wiz-done .big { font-size: 44px; }
.wiz-note { font-size: 12.5px; color: var(--dim); margin-top: 14px; }

/* ---------- Search page ---------- */
.se-wrap { max-width: 1160px; margin: 0 auto; padding: 76px 20px 60px; }
.se-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.se-tab { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 20px; min-height: 44px; font-weight: 700; font-size: 14.5px; color: var(--mut); }
.se-tab[aria-selected="true"] { border-color: var(--gold); color: var(--gold); background: rgba(242,178,22,0.09); }
.se-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.se-search { flex: 1 1 260px; background: var(--bg3); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px;
  color: var(--ink); font: inherit; font-size: 15px; min-height: 48px; }
.se-search:focus { outline: none; border-color: var(--gold); }
.se-filter-btn { display: none; }
.se-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; }
.se-filters .pill-select { min-height: 44px; font-size: 14px; }
.se-preset { border: 1.5px dashed rgba(0,167,157,0.5); color: var(--tealh); border-radius: 999px; padding: 9px 17px; min-height: 44px; font-weight: 700; font-size: 13.5px; }
.se-preset[aria-pressed="true"] { background: rgba(0,167,157,0.14); border-style: solid; }
.se-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; color: var(--mut); font-size: 14px; }
.se-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink);
  background: rgba(240,246,245,0.06); border: 1px solid var(--line); border-radius: 999px; padding: 5px 6px 5px 12px; }
.se-chip button { width: 22px; height: 22px; border-radius: 50%; background: rgba(240,246,245,0.08); font-size: 11px; line-height: 1; }
.se-clear { color: var(--dim); text-decoration: underline; font-size: 13px; min-height: 44px; }
.se-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.se-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg3); text-align: left;
  transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.se-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.se-img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.se-img img { width: 100%; height: 100%; object-fit: cover; }
.se-student-badge { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #06211F; background: var(--tealh); border-radius: 5px; padding: 3px 8px; }
.se-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.se-name { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.se-role { color: var(--gold); font-size: 13px; font-weight: 600; }
.se-sub { color: var(--mut); font-size: 12.5px; }
.se-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.se-tag { font-size: 11px; color: var(--mut); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.se-strong { font-size: 12.5px; color: var(--ink); border-left: 2px solid var(--teal); padding-left: 9px; }
.se-why { font-size: 11.5px; color: var(--tealh); }
.se-acts { display: flex; gap: 7px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.se-acts .pill { min-height: 36px; padding: 6px 13px; font-size: 12.5px; }
.se-empty { border: 1px dashed var(--line); border-radius: 14px; padding: 40px 22px; text-align: center; color: var(--mut); }
.se-empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* recruiter workspace strip */
.se-work { position: sticky; bottom: 0; z-index: 90; margin-top: 22px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: rgba(10,17,20,0.92); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.se-work b { font-size: 13.5px; }
.se-work .pill { min-height: 38px; padding: 7px 15px; font-size: 13px; }
.se-shortnames { display: flex; gap: 6px; flex-wrap: wrap; }
.se-shortnames .se-chip { padding: 4px 6px 4px 10px; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cmp-table th { color: var(--dim); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; width: 140px; }
.cmp-table td b { font-family: var(--disp); }
.se-panel { border: 1px solid rgba(242,178,22,0.35); border-radius: 16px; background: var(--bg3); padding: 20px 22px; margin-top: 18px; }
.se-panel h3 { font-family: var(--disp); font-size: 19px; margin-bottom: 10px; }
.se-saved-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13.5px; flex-wrap: wrap; }
.se-saved-row b { color: var(--ink); }
.se-saved-row .pill { min-height: 32px; padding: 5px 12px; font-size: 12px; margin-left: auto; }

/* ---------- responsive: hub layer ---------- */
@media (max-width: 900px) {
  .wiz-grid { grid-template-columns: 1fr; }
  .wiz-preview { position: static; }
  .se-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-projects, .tp-study-grid { grid-template-columns: 1fr; }
  .tp-games, .tp-metrics { grid-template-columns: repeat(2, 1fr); }
  .hubnav-links { display: none; }
}
@media (max-width: 640px) {
  .se-grid { grid-template-columns: 1fr; }
  .se-filters { display: none; }
  .se-filters.open { display: flex; flex-direction: column; position: fixed; inset: auto 0 0 0; z-index: 150;
    background: var(--bg2); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    max-height: 72svh; overflow: auto; box-shadow: 0 -20px 60px rgba(0,0,0,0.5); }
  .se-filter-btn { display: inline-flex; }
  .wiz-choices { grid-template-columns: 1fr; }
  .tp-wrap { padding-top: 64px; }
  .tp-main { padding: 0 16px 20px; }
  .tp-top { margin-top: 0; padding-top: 14px; gap: 12px; align-items: center; }
  .tp-avatar { width: 64px; height: 64px; font-size: 22px; border-radius: 16px; margin-top: 0; }
  .tp-beacon { align-self: flex-start; }
  .tp-url .pill { margin-left: 0; }
}

/* ---------- print: recruiter-friendly profile ---------- */
@media print {
  .d2nav, .design-switch2, .toast, .tp-actions, .tp-views, .tp-view-note, .gdev-proof, .tp-skill-mode, .tp-lens-bar { display: none !important; }
  body { background: #fff; color: #111; }
  .tp-card { border: none; box-shadow: none; background: #fff; }
  .tp-banner { display: none; }
  .tp-top { margin-top: 0; }
  .tp-avatar { border-color: #ddd; }
  .tp-name, .tp-proj-title, .tp-exp-role { color: #111; }
  .tp-role, .tp-exp-org { color: #8a6400; }
  .tp-headline, .tp-meta, .tp-proj-sub, .tp-contrib, .gp-statement { color: #333; }
  .tp-sec { border-color: #ddd; }
  .tp-proj, .tp-metric, .tp-game { border-color: #ccc; background: #fff; break-inside: avoid; }
  .tp-study { display: block !important; border-color: #ccc; background: #fff; }
  a { color: #111; text-decoration: none; }
}

/* ============================================================
   ROUND: contribution clarity, hover chips, download badges,
   talent wall hero, URL demo section
   ============================================================ */

/* "What NAME did" tag makes ownership unmistakable */
.tpc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #06211F; background: var(--tealh); border-radius: 5px; padding: 2px 8px; margin-bottom: 6px;
}
.tp-contrib { border-left: 0; padding-left: 0; }
.tp-contrib .tpc-text { display: block; border-left: 2px solid var(--teal); padding-left: 10px; }

/* role chips appear on hover, focus, tap or the Contribution Lens */
.lens-chips { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .28s ease, opacity .28s ease, margin-top .28s ease; }
.tp-proj:hover .lens-chips, .tp-proj:focus-within .lens-chips, .lens-on .lens-chips { max-height: 120px; opacity: 1; margin-top: 10px; }
.lens-hint-chip { font-size: 11px; color: var(--dim); margin-top: 8px; display: block; }
.tp-proj:hover .lens-hint-chip, .tp-proj:focus-within .lens-hint-chip, .lens-on .lens-hint-chip { display: none; }

/* downloadable marker on games and projects */
.dl-badge {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px;
  font-size: 11.5px; font-weight: 700; color: var(--tealh);
  background: rgba(8, 13, 15, 0.88); border: 1px solid rgba(0, 167, 157, 0.55);
  border-radius: 7px; padding: 3px 9px;
}
.dl-badge::before { content: "⤓"; font-size: 14px; line-height: 1; }
.dl-badge.dl-top { top: 10px; bottom: auto; }
.tp-game { position: relative; }

/* ============ Talent wall (hub hero) ============ */
.talent-wall {
  position: relative; width: 100%; max-width: 1080px; margin-top: 38px;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--bg2); padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.wall-row { display: flex; gap: 14px; width: max-content; margin: 8px 0; animation: wallL 70s linear infinite; }
.wall-row.rev { animation: wallR 84s linear infinite; }
@keyframes wallL { to { transform: translateX(-50%); } }
@keyframes wallR { from { transform: translateX(-50%); } to { transform: none; } }
.talent-wall:hover .wall-row { animation-play-state: paused; }
.wall-card {
  position: relative; width: 200px; height: 116px; flex-shrink: 0;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); display: block; background: var(--bg3);
}
.wall-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.wall-card .wc-t {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px;
  padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(8, 13, 15, 0.94) 70%);
}
.wc-av {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #14232B;
  background: linear-gradient(150deg, var(--gold), #FFD46B);
}
.wall-card:nth-child(even) .wc-av { background: linear-gradient(150deg, var(--teal), #35E2D6); color: #06211F; }
.wc-t b { display: block; font-size: 12.5px; line-height: 1.1; }
.wc-t small { display: block; font-size: 10.5px; color: var(--mut); }
.wall-spot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.wall-spot-card {
  pointer-events: auto; text-align: center; max-width: 420px; padding: 22px 34px;
  background: rgba(10, 17, 20, 0.9); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(242, 178, 22, 0.45); border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  transition: opacity .4s ease;
}
.wall-spot-card.fade { opacity: 0; }
.wall-spot-card .ws-count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.wall-spot-card .ws-name { font-family: var(--disp); font-weight: 800; font-size: clamp(22px, 3vw, 30px); margin-top: 4px; }
.wall-spot-card .ws-role { color: var(--gold); font-weight: 700; font-size: 14px; }
.wall-spot-card .ws-proof { color: var(--mut); font-size: 12.5px; margin-top: 6px; }
.wall-spot-card .pill { margin-top: 12px; min-height: 36px; padding: 7px 18px; font-size: 13px; }

/* ============ URL demo (how devs share work) ============ */
.urlgen { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; width: 100%; max-width: 1020px; margin-top: 36px; }
.ug-step { border: 1px solid var(--line); border-radius: 16px; background: rgba(16, 34, 43, 0.42); padding: 20px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.ug-step i { font-family: var(--pixel); font-style: normal; font-size: 12px; color: var(--gold); letter-spacing: .06em; }
.ug-step b { font-family: var(--disp); font-size: 17px; }
.ug-step p { color: var(--mut); font-size: 13px; }
.ug-arrow { align-self: center; color: var(--dim); font-size: 22px; }
.ug-pillbox {
  margin-top: auto; border: 1.5px dashed rgba(242, 178, 22, 0.5); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 700; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .35s;
}
.ug-pillbox b { color: var(--gold); }
.ug-pillbox.fade { opacity: 0; }
.ug-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.ug-chips span { font-size: 12px; color: var(--mut); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }

@media (max-width: 900px) {
  .urlgen { grid-template-columns: 1fr; }
  .ug-arrow { transform: rotate(90deg); }
  .wall-card { width: 160px; height: 96px; }
  .wall-spot-card { max-width: 84vw; padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-row, .wall-row.rev { animation: none; }
}

/* ============================================================
   ROUND: project slides, simplified search cards, featured rotator
   ============================================================ */

/* profile projects: big swipeable rectangles */
.tp-carousel { position: relative; margin-top: 4px; }
.tp-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: 16px;
}
.tp-track::-webkit-scrollbar { display: none; }
.tp-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start;
  aspect-ratio: 16 / 8; min-height: 300px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg3);
}
.tp-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tp-slide:hover > img { transform: scale(1.03); }
.tps-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 22px 18px;
  background: linear-gradient(transparent, rgba(8, 13, 15, 0.96) 62%);
}
.tps-title { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(19px, 2.6vw, 27px); }
.tps-sub { display: block; color: var(--mut); font-size: 13.5px; margin-top: 2px; }
.tps-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease; }
.tp-slide:hover .tps-more, .tp-slide:focus-within .tps-more, .lens-on .tps-more { max-height: 300px; opacity: 1; margin-top: 12px; }
.tps-actions { display: flex; gap: 9px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.tps-actions .pill { min-height: 34px; padding: 6px 15px; font-size: 12.5px; }
.tpc-prev, .tpc-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
.tpc-prev { left: 12px; }
.tpc-next { right: 12px; }
.tpc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.car-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--line); transition: background .2s, width .2s; }
.car-dot.active { background: var(--gold); width: 24px; }
.tp-studies { margin-top: 14px; }
.tp-studies .tp-study { margin-top: 10px; }

/* search: clean cards, face forward, detail on hover */
.se-img { aspect-ratio: 16 / 8; }
.se-face {
  position: absolute; left: 14px; bottom: -18px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 15px; color: #14232B;
  background: linear-gradient(150deg, var(--gold), #FFD46B);
  border: 3px solid var(--bg3); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.se-face.teal { background: linear-gradient(150deg, var(--teal), #35E2D6); color: #06211F; }
.se-card .se-body { padding-top: 24px; gap: 4px; }
.se-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .3s ease; display: flex; flex-direction: column; gap: 7px; }
.se-card:hover .se-more, .se-card:focus-within .se-more { max-height: 240px; opacity: 1; margin-top: 6px; }
.se-hover-hint { font-size: 11px; color: var(--dim); }
.se-card:hover .se-hover-hint, .se-card:focus-within .se-hover-hint { display: none; }
.se-team { display: flex; align-items: center; margin-top: 2px; }
.se-team .m-av { margin-right: -8px; border: 2px solid var(--bg3); width: 28px; height: 28px; font-size: 10px; }
.se-team small { margin-left: 16px; color: var(--dim); font-size: 12px; }

/* featured rotator (hub) */
.featured {
  position: relative; width: 100%; max-width: 1080px; aspect-ratio: 16 / 7;
  min-height: 300px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg3);
}
.feat-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.feat-slide.on { opacity: 1; pointer-events: auto; }
.feat-slide > img { width: 100%; height: 100%; object-fit: cover; }
.feat-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; text-align: left;
  background: linear-gradient(transparent, rgba(8, 13, 15, 0.95) 65%);
}
.feat-label {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #14232B; background: var(--gold); border-radius: 5px; padding: 3px 10px; margin-bottom: 8px;
}
.feat-title { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.05; }
.feat-sub { display: block; color: var(--mut); font-size: 14.5px; margin-top: 4px; }
.feat-info .pill { margin-top: 14px; min-height: 38px; padding: 8px 18px; font-size: 13.5px; }
.feat-dots { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 7px; z-index: 5; }

@media (max-width: 640px) {
  .tp-slide { aspect-ratio: 16 / 11; min-height: 240px; }
  .tps-overlay { padding: 34px 14px 14px; }
  .featured { aspect-ratio: 16 / 12; min-height: 260px; }
  .feat-info { padding: 40px 16px 18px; }
  .tpc-prev { left: 6px; }
  .tpc-next { right: 6px; }
}

/* ============================================================
   ROUND: full-width top banner rotator + slimmer profile header
   ============================================================ */
.feat-hero {
  position: relative; width: 100%; height: clamp(320px, 52vh, 540px);
  overflow: hidden; background: var(--bg2); border-bottom: 1px solid var(--line);
  transition: opacity .25s ease;
}
.feat-track {
  display: flex; height: 100%; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.feat-track::-webkit-scrollbar { display: none; }
.feat-hero .feat-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; height: 100%;
  opacity: 1; pointer-events: auto; transition: none;
}
.feat-hero .feat-slide > img { width: 100%; height: 100%; object-fit: cover; }
.feat-hero .feat-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 90px max(28px, calc((100vw - 1180px) / 2 + 24px)) 30px;
  background: linear-gradient(transparent, rgba(8, 13, 15, 0.94) 70%);
}
.feat-prev, .feat-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; }
.feat-prev { left: 18px; }
.feat-next { right: 18px; }
.feat-hero .feat-dots { position: absolute; right: max(24px, calc((100vw - 1180px) / 2 + 24px)); bottom: 22px; }
@media (max-width: 640px) {
  .feat-hero { height: clamp(280px, 46vh, 400px); }
  .feat-hero .feat-info { padding: 60px 16px 20px; }
  .feat-prev { left: 8px; }
  .feat-next { right: 8px; }
  .feat-hero .feat-dots { right: 16px; bottom: 14px; }
}

/* profile header: quieter action area */
.tp-open-line { margin-top: 10px; font-size: 13.5px; color: var(--dim); }
.tp-open-line b { color: var(--mut); font-weight: 600; }

/* ============================================================
   ROUND: talent lead-in, search face fix, small banner arrows
   ============================================================ */
.tw-lead {
  font-family: var(--disp); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(18px, 2.6vw, 27px); color: var(--gold); margin-bottom: 8px;
}
/* the face chip hangs below the artwork; never clip it */
.se-img { overflow: visible; }
.se-img img { border-radius: 15px 15px 0 0; }
/* compact banner arrows */
.feat-prev, .feat-next {
  width: 32px; height: 32px; font-size: 16px; border-width: 1px;
  background: rgba(10, 17, 20, 0.55); opacity: .75;
}
.feat-prev:hover, .feat-next:hover { opacity: 1; transform: translateY(-50%) scale(1.05); }
.feat-prev { left: 14px; }
.feat-next { right: 14px; }
@media (max-width: 640px) {
  .feat-prev, .feat-next { width: 28px; height: 28px; font-size: 14px; }
  .feat-prev { left: 6px; }
  .feat-next { right: 6px; }
}

/* ============================================================
   ROUND: pixel featured label + brand marks everywhere
   ============================================================ */
/* featured slide tag: GDEV pixel identity instead of a generic chip */
.feat-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--pixel); font-size: 10.5px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: rgba(8, 13, 15, 0.78);
  border: 1px solid rgba(242, 178, 22, 0.55); border-radius: 0;
  clip-path: polygon(0 5px, 5px 5px, 5px 0, calc(100% - 5px) 0, calc(100% - 5px) 5px, 100% 5px,
    100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%,
    5px 100%, 5px calc(100% - 5px), 0 calc(100% - 5px));
  padding: 7px 13px; margin-bottom: 10px;
}
.feat-label::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex-shrink: 0; }

/* inline brand marks — hard clamp so no ancestor artwork rule can
   ever inflate a small logo */
.bi { display: inline-block; vertical-align: -2px; margin-right: 6px; }
img.bi { max-width: 20px !important; max-height: 20px !important; object-fit: contain; }
/* artwork rules use width:100%; pin icon sizes in those contexts */
.feat-slide img.bi { width: 15px; height: 15px; }
.tp-game img.bi, .pf-game img.bi { width: 12px; height: 12px; }
.li-mini {
  display: inline-flex; width: 15px; height: 15px; border-radius: 3px;
  background: #0A66C2; color: #fff; font-size: 9px; font-weight: 800; font-style: normal;
  align-items: center; justify-content: center; vertical-align: -2px; margin-right: 6px;
}
.tp-game-p .bi { margin-right: 4px; }

/* ============================================================
   ROUND: recruiter talent card (search page) — person first
   The work becomes the card's atmosphere and a small strip;
   the face leads. No location, availability or hover-only text.
   ============================================================ */
.tcard2 {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: 288px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg3); text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tcard2:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45); }
/* media stack: blurred ambience at rest, the uploaded reel on hover */
.tc2-media { position: absolute; inset: 0; overflow: hidden; }
.tc2-amb {
  position: absolute; inset: -14%; background-size: cover; background-position: center;
  filter: blur(20px) saturate(1.35); opacity: .42; transition: opacity .4s ease;
}
.tcard2:hover .tc2-amb, .tcard2:focus-within .tc2-amb { opacity: .16; }
/* the GIF, clip or image the talent uploaded — sharp, behind the person */
.tc2-reel {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07); transition: opacity .45s ease, transform .6s ease;
}
.tcard2:hover .tc2-reel, .tcard2:focus-within .tc2-reel { opacity: 1; transform: none; }
/* always-on scrim above the media so name, role and buttons stay readable */
.tc2-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 20, 0.5) 0%, rgba(10, 17, 20, 0.9) 56%, rgba(10, 17, 20, 0.96) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .tc2-reel { transform: none; }
}
.tc2-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 26px 18px 18px; }
/* corner badge, out of flow, so every face lines up across a row */
.tc2-student {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: #06211F; background: var(--tealh); border-radius: 5px; padding: 3px 9px;
}
.tc2-face {
  width: 94px; height: 94px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 31px; color: #14232B;
  background: linear-gradient(150deg, var(--gold), #FFD46B);
  box-shadow: 0 0 0 5px rgba(10, 17, 20, .9), 0 0 0 7px rgba(242, 178, 22, .55), 0 16px 34px rgba(0, 0, 0, .55);
  transition: transform .25s;
}
.tcard2:hover .tc2-face { transform: scale(1.04); }
.tc2-face.teal {
  background: linear-gradient(150deg, var(--teal), #35E2D6); color: #06211F;
  box-shadow: 0 0 0 5px rgba(10, 17, 20, .9), 0 0 0 7px rgba(0, 167, 157, .55), 0 16px 34px rgba(0, 0, 0, .55);
}
.tc2-name { font-family: var(--disp); font-weight: 800; font-size: 19.5px; margin-top: 16px; line-height: 1.15; }
.tc2-role { color: var(--gold); font-weight: 600; font-size: 13.5px; margin-top: 3px; }
/* actions sit at the foot of the card; the work itself is the backdrop */
.tc2-acts { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: auto; padding-top: 20px; }
.tc2-acts .pill { flex: 1; min-height: 40px; padding: 8px 14px; font-size: 13px; }

/* icon buttons with a real tooltip on hover and keyboard focus */
.icon-btn {
  position: relative; width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border: 1px solid var(--line); background: rgba(10, 17, 20, 0.55); color: var(--mut);
  font-weight: 800; font-size: 13px;
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.icon-btn.on { border-color: var(--gold); color: var(--gold); background: rgba(242, 178, 22, 0.15); }
.icon-btn.li:hover { border-color: #0A66C2; background: #0A66C2; color: #fff; }
.icon-btn::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0D1B21; border: 1px solid rgba(242, 178, 22, 0.45); border-radius: 7px;
  padding: 5px 10px; font-size: 11.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; opacity: 0; pointer-events: none; z-index: 20;
  transition: opacity .18s ease, transform .18s ease;
}
.icon-btn:hover::after, .icon-btn:focus-visible::after { opacity: 1; transform: translateX(-50%); }

@media (max-width: 640px) {
  .tcard2 { min-height: 0; }
  .tc2-face { width: 80px; height: 80px; font-size: 27px; }
}
