/* Talent Directory — /talent/
   Every class is prefixed tl- so nothing here can restyle the rest of the site.
   Theme = treneywann.com: deep-green heroes (#063320 → #0a4f2e), gold accents, Poppins (inherited).
   Motion is CSS + a small IntersectionObserver in common.js (.tl-reveal → .tl-in). Everything is
   switched off under prefers-reduced-motion, and content is fully visible without JavaScript. */

.tl-page {
  --tl-g900: #052b1b; --tl-g800: #063320; --tl-g700: #0a4f2e; --tl-g600: #0a7a3e; --tl-g500: #12965a;
  --tl-g100: #d6f2e2; --tl-g50: #effaf4;
  --tl-gold: #fbbf24; --tl-gold-600: #d97706; --tl-gold-50: #fff8e6;
  --tl-ink: #0b1f17; --tl-text: #33463d; --tl-muted: #5f7369; --tl-line: #e3ebe6; --tl-bg: #f5f8f6;
  --tl-radius: 18px; --tl-ease: cubic-bezier(.22, 1, .36, 1);
  --tl-shadow-sm: 0 1px 2px rgba(5, 43, 27, .06), 0 2px 8px rgba(5, 43, 27, .04);
  --tl-shadow: 0 1px 2px rgba(5, 43, 27, .05), 0 12px 32px rgba(5, 43, 27, .08);
  --tl-shadow-lg: 0 2px 4px rgba(5, 43, 27, .05), 0 24px 56px rgba(5, 43, 27, .14);
  --tl-sticky-top: 76px;
  background: var(--tl-bg); color: var(--tl-text); padding-bottom: 88px;
}
body.has-oct-strip .tl-page { --tl-sticky-top: 112px; }
.tl-page *, .tl-page *::before, .tl-page *::after { box-sizing: border-box; }
.tl-page h1, .tl-page h2, .tl-page h3 { letter-spacing: -.015em; }

/* ── Reveal on scroll (only when JS is running) ── */
.tl-js .tl-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--tl-ease), transform .8s var(--tl-ease); transition-delay: var(--tl-d, 0s); }
.tl-js .tl-reveal.tl-in { opacity: 1; transform: none; }

/* ═════════ HERO ═════════ */
.tl-page .hero-page { position: relative; overflow: hidden; isolation: isolate; }
.tl-page .hero-page::before { /* fine dot grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.tl-page .hero-page::after { /* slow gold glow */
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, .16), transparent 62%); animation: tl-drift 16s ease-in-out infinite;
}
@keyframes tl-drift { 50% { transform: translate(-40px, 30px); } }

.tl-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .tl-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
.tl-hero-inner { max-width: 640px; }
.tl-hero-inner > * { animation: tl-rise .9s var(--tl-ease) both; }
.tl-hero-inner > *:nth-child(2) { animation-delay: .07s; } .tl-hero-inner > *:nth-child(3) { animation-delay: .14s; }
.tl-hero-inner > *:nth-child(4) { animation-delay: .21s; } .tl-hero-inner > *:nth-child(5) { animation-delay: .28s; }
@keyframes tl-rise { from { opacity: 0; transform: translateY(20px); } }
.tl-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e7f7ee; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
}
.tl-kicker b { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--tl-gold); color: var(--tl-g800); font-size: .7rem; }
.tl-hero-inner h1 { color: #fff; margin: 0 0 16px; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; font-weight: 700; }
.tl-hero-inner h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, var(--tl-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-hero-inner p.tl-lede { color: rgba(236, 253, 245, .86); font-size: 1.08rem; line-height: 1.7; margin: 0; max-width: 560px; }
.tl-hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tl-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tl-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: rgba(236, 253, 245, .8); font-size: .88rem; }
.tl-trust svg { color: var(--tl-gold); flex-shrink: 0; }

/* Hero side panel: role tiles (click = filter) */
.tl-roles-panel {
  position: relative; border-radius: 22px; padding: 22px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(10px);
  animation: tl-rise 1s var(--tl-ease) .25s both;
}
.tl-roles-panel h2 { color: #fff; font-size: .95rem; font-weight: 600; margin: 0 0 4px; letter-spacing: 0; }
.tl-roles-panel > p { margin: 0 0 16px; font-size: .82rem; color: rgba(236, 253, 245, .7); }
.tl-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tl-roles li { margin: 0; animation: tl-rise .7s var(--tl-ease) both; }
.tl-roles li:nth-child(1) { animation-delay: .35s; } .tl-roles li:nth-child(2) { animation-delay: .4s; } .tl-roles li:nth-child(3) { animation-delay: .45s; }
.tl-roles li:nth-child(4) { animation-delay: .5s; } .tl-roles li:nth-child(5) { animation-delay: .55s; } .tl-roles li:nth-child(6) { animation-delay: .6s; }
.tl-role-tile {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: .9rem; font-weight: 500;
  transition: background-color .3s, border-color .3s, transform .3s var(--tl-ease);
}
.tl-role-tile:hover, .tl-role-tile:focus-visible { background: rgba(255, 255, 255, .14); border-color: rgba(251, 191, 36, .55); transform: translateY(-2px); }
.tl-role-tile span.tl-ri { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(251, 191, 36, .16); color: var(--tl-gold); }
.tl-roles-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .82rem; color: rgba(236, 253, 245, .75); }
.tl-roles-foot a { color: #fde68a; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tl-roles-foot a:hover { color: #fff; }
.tl-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(236, 253, 245, .85); text-decoration: none; font-size: .92rem; margin-bottom: 14px; transition: color .2s, transform .25s var(--tl-ease); }
.tl-back:hover { color: #fff; transform: translateX(-3px); }

/* ═════════ STATS BAND (overlaps hero) ═════════ */
.tl-stats {
  position: relative; z-index: 3; margin-top: -54px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff; border-radius: var(--tl-radius); box-shadow: var(--tl-shadow-lg); border: 1px solid var(--tl-line); overflow: hidden;
  animation: tl-rise .9s var(--tl-ease) .35s both;
}
@media (min-width: 860px) { .tl-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl-stat { padding: 22px 20px; border-right: 1px solid var(--tl-line); border-bottom: 1px solid var(--tl-line); }
@media (min-width: 860px) { .tl-stat { border-bottom: none; } .tl-stat:last-child { border-right: none; } }
.tl-stat strong { display: block; font-size: 1.9rem; line-height: 1; font-weight: 700; color: var(--tl-g700); font-variant-numeric: tabular-nums; }
.tl-stat strong small { font-size: .95rem; font-weight: 600; color: var(--tl-gold-600); margin-left: 2px; }
.tl-stat > span { display: block; margin-top: 6px; font-size: .85rem; color: var(--tl-muted); line-height: 1.4; }
.tl-stat strong span { font: inherit; color: inherit; }

/* Phones: the site centres hero text, so centre our hero extras too */
@media (max-width: 979px) {
  .tl-hero-inner { margin: 0 auto; text-align: center; }
  .tl-hero-inner p.tl-lede { margin-left: auto; margin-right: auto; }
  .tl-hero-cta, .tl-trust { justify-content: center; }
}
@media (max-width: 600px) {
  .tl-hero-cta { flex-direction: column; align-items: stretch; }
  .tl-hero-cta > * { width: 100%; }
  .tl-trust { flex-direction: column; align-items: center; gap: 8px; }
  .tl-role-tile { padding: 10px; gap: 8px; font-size: .84rem; }
  .tl-role-tile span.tl-ri { width: 30px; height: 30px; }
  .tl-stat { padding: 18px 16px; }
  .tl-stat strong { font-size: 1.6rem; }
}

/* ═════════ SECTIONS ═════════ */
.tl-section { margin-top: 84px; }
.tl-head { max-width: 680px; margin: 0 0 30px; }
.tl-head.tl-center { text-align: center; margin-left: auto; margin-right: auto; }
.tl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-gold-600); margin-bottom: 10px; }
.tl-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.tl-head h2 { margin: 0 0 10px; color: var(--tl-ink); font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; }
.tl-head p { margin: 0; color: var(--tl-muted); font-size: 1rem; line-height: 1.7; }

/* ═════════ DIRECTORY ═════════ */
.tl-dir-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 64px 0 18px; }
.tl-dir-head .tl-head { margin: 0; }
.tl-filters {
  display: grid; gap: 10px; padding: 14px; border-radius: var(--tl-radius); background: rgba(255, 255, 255, .92);
  border: 1px solid var(--tl-line); box-shadow: var(--tl-shadow-sm); backdrop-filter: blur(10px);
  transition: box-shadow .3s, border-radius .3s;
}
@media (min-width: 980px) {
  .tl-filters { position: sticky; top: var(--tl-sticky-top); z-index: 20; grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); align-items: center; }
  .tl-filters.tl-stuck { box-shadow: var(--tl-shadow); }
}
.tl-filter-row { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 980px) { .tl-filter-row { display: contents; } }
.tl-search { position: relative; }
.tl-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8aa197; pointer-events: none; transition: color .2s; }
.tl-search:focus-within svg { color: var(--tl-g600); }
.tl-search input { padding-left: 42px !important; }
.tl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tl-page input, .tl-page select, .tl-page textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--tl-ink); background: #fff;
  padding: 11px 13px; border: 1px solid #d3e0d8; border-radius: 12px; margin: 0; min-height: 46px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.tl-page select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f7369' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; }
.tl-page input:hover, .tl-page select:hover, .tl-page textarea:hover { border-color: #a9c2b5; }
.tl-page input:focus, .tl-page select:focus, .tl-page textarea:focus { outline: none; border-color: var(--tl-g600); box-shadow: 0 0 0 4px rgba(10, 122, 62, .13); }
.tl-page textarea { resize: vertical; min-height: 110px; }
.tl-page input[type="file"] { padding: 8px; font-size: 14px; background: #fbfdfc; }
.tl-page input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--tl-g50); color: var(--tl-g700); font: inherit; font-weight: 600; transition: background-color .2s;
}
.tl-page input[type="file"]::file-selector-button:hover { background: var(--tl-g100); }
.tl-page :focus-visible { outline: 3px solid var(--tl-gold); outline-offset: 2px; }

.tl-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 2px 16px; min-height: 32px; }
.tl-count { color: var(--tl-muted); font-size: .92rem; }
.tl-count b { color: var(--tl-ink); }
.tl-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-active-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid #cfe3d7; color: var(--tl-g700); font: inherit; font-size: .82rem; font-weight: 600;
  animation: tl-pop .3s var(--tl-ease) both; transition: border-color .2s, background-color .2s;
}
.tl-active-chip:hover { border-color: var(--tl-g600); background: var(--tl-g50); }
.tl-active-chip i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tl-g50); font-size: .9rem; line-height: 1; }
.tl-link-btn { background: none; border: none; padding: 0; font: inherit; font-size: .88rem; color: var(--tl-g700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Cards */
.tl-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tl-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--tl-radius);
  background: #fff; border: 1px solid var(--tl-line); box-shadow: var(--tl-shadow-sm); text-decoration: none; color: inherit;
  transition: transform .4s var(--tl-ease), box-shadow .4s var(--tl-ease), border-color .3s; animation: tl-card-in .6s var(--tl-ease) both;
}
a.tl-card:hover, a.tl-card:focus-visible { transform: translateY(-5px); box-shadow: var(--tl-shadow-lg); border-color: #c4dccf; }
@keyframes tl-card-in { from { opacity: 0; transform: translateY(14px); } }
.tl-grid > :nth-child(2) { animation-delay: .05s; } .tl-grid > :nth-child(3) { animation-delay: .1s; } .tl-grid > :nth-child(4) { animation-delay: .15s; }
.tl-grid > :nth-child(5) { animation-delay: .2s; } .tl-grid > :nth-child(6) { animation-delay: .25s; } .tl-grid > :nth-child(n+7) { animation-delay: .3s; }
.tl-card-head { display: flex; gap: 14px; align-items: center; }
.tl-avatar {
  width: 60px; height: 60px; border-radius: 16px; object-fit: cover; flex-shrink: 0;
  background: linear-gradient(140deg, var(--tl-g50), var(--tl-g100)); color: var(--tl-g700);
  font-weight: 700; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em;
}
.tl-avatar-lg { width: 120px; height: 120px; border-radius: 28px; font-size: 2.4rem; box-shadow: 0 0 0 5px #fff, var(--tl-shadow); }
.tl-card-id { min-width: 0; }
.tl-name { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 700; font-size: 1.06rem; color: var(--tl-ink); }
.tl-verified { display: inline-flex; color: var(--tl-g600); flex-shrink: 0; }
.tl-role { display: inline-block; margin-top: 5px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; background: var(--tl-gold-50); color: #92400e; border: 1px solid #fde7b0; }
.tl-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .9rem; color: var(--tl-text); }
.tl-meta li { display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.tl-meta svg { flex-shrink: 0; margin-top: 2px; color: var(--tl-g600); opacity: .85; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chip { font-size: .76rem; font-weight: 500; background: var(--tl-g50); color: var(--tl-g700); padding: 4px 10px; border-radius: 8px; border: 1px solid #d9efe2; }
.tl-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--tl-line); display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9rem; color: var(--tl-g700); }
.tl-arrow { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tl-g50); color: var(--tl-g700); transition: transform .4s var(--tl-ease), background-color .3s, color .3s; }
a.tl-card:hover .tl-arrow { transform: translateX(3px); background: var(--tl-g700); color: #fff; }

/* States */
.tl-state { grid-column: 1 / -1; text-align: center; padding: 56px 24px; color: var(--tl-muted); background: #fff; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); box-shadow: var(--tl-shadow-sm); animation: tl-rise .5s var(--tl-ease) both; }
.tl-state-art { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--tl-g50), var(--tl-g100)); color: var(--tl-g700); position: relative; }
.tl-state-art::after { content: ""; position: absolute; inset: -8px; border-radius: 28px; border: 1px dashed #b7d8c5; animation: tl-spin 24s linear infinite; }
@keyframes tl-spin { to { transform: rotate(360deg); } }
.tl-state strong { display: block; color: var(--tl-ink); font-size: 1.2rem; margin-bottom: 6px; }
.tl-state p { margin: 0 auto; max-width: 460px; line-height: 1.65; }
.tl-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.tl-skeleton { height: 248px; border-radius: var(--tl-radius); background: linear-gradient(90deg, #e8efeb 25%, #f4f8f6 50%, #e8efeb 75%); background-size: 200% 100%; animation: tl-shimmer 1.4s infinite; }
@keyframes tl-shimmer { to { background-position: -200% 0; } }

/* Pager */
.tl-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 30px 0 0; flex-wrap: wrap; }
.tl-pager button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid #d3e0d8; background: #fff; color: var(--tl-ink); font: inherit; font-size: .92rem; cursor: pointer; transition: all .2s; }
.tl-pager button:not(:disabled):hover { border-color: var(--tl-g600); color: var(--tl-g700); }
.tl-pager button[aria-current="page"] { background: var(--tl-g700); border-color: var(--tl-g700); color: #fff; font-weight: 700; }
.tl-pager button:disabled { opacity: .4; cursor: default; }

/* Buttons (primary = the site's gold .btn .btn-primary) */
.tl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 12px;
  border: 1.5px solid var(--tl-g700); background: #fff; color: var(--tl-g700); font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--tl-ease), box-shadow .3s;
}
.tl-btn:hover { background: var(--tl-g700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(5, 43, 27, .18); }
.tl-btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: #fff; }
.tl-btn-ghost:hover { background: #fff; color: var(--tl-g800); border-color: #fff; }
.tl-btn-quiet { border-color: var(--tl-line); color: var(--tl-text); }
.tl-btn-quiet:hover { background: var(--tl-g50); color: var(--tl-g700); border-color: #c4dccf; box-shadow: none; }
.tl-page .btn { transition: transform .3s var(--tl-ease), box-shadow .3s; }
.tl-page .btn:not([disabled]):hover { transform: translateY(-2px); }
.tl-page .btn[disabled] { opacity: .65; cursor: default; transform: none; }

/* How it works — 3 steps joined by a line that fills on reveal */
.tl-steps { position: relative; display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: tl-step; }
@media (min-width: 860px) {
  .tl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tl-steps::before, .tl-steps::after { content: ""; position: absolute; top: 42px; left: calc(16.66% + 10px); right: calc(16.66% + 10px); height: 2px; border-radius: 2px; background: var(--tl-line); }
  .tl-steps::after { background: linear-gradient(90deg, var(--tl-gold), var(--tl-g600)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--tl-ease) .3s; }
  .tl-steps.tl-in::after, html:not(.tl-js) .tl-steps::after { transform: scaleX(1); }
}
.tl-step { position: relative; z-index: 1; margin: 0; padding: 0 22px 24px; text-align: center; background: #fff; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); box-shadow: var(--tl-shadow-sm); transition: transform .4s var(--tl-ease), box-shadow .4s; }
.tl-step:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow); }
.tl-step-icon { width: 56px; height: 56px; margin: -1px auto 16px; transform: translateY(14px); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--tl-g800); background: linear-gradient(140deg, #fde68a, var(--tl-gold)); box-shadow: 0 10px 22px rgba(217, 119, 6, .25), 0 0 0 6px #fff; }
.tl-step-icon + small { display: block; margin-top: 26px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--tl-gold-600); text-transform: uppercase; }
.tl-step h3 { margin: 6px 0 8px; font-size: 1.08rem; color: var(--tl-ink); }
.tl-step p { margin: 0; color: var(--tl-muted); font-size: .93rem; line-height: 1.65; }

/* Why — feature grid */
.tl-features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.tl-feature { padding: 24px; border-radius: var(--tl-radius); background: #fff; border: 1px solid var(--tl-line); box-shadow: var(--tl-shadow-sm); transition: transform .4s var(--tl-ease), box-shadow .4s, border-color .3s; }
.tl-feature:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow); border-color: #c4dccf; }
.tl-feature-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--tl-g50); color: var(--tl-g700); border: 1px solid #d9efe2; transition: background-color .3s, color .3s; }
.tl-feature:hover .tl-feature-icon { background: var(--tl-g700); color: #fff; }
.tl-feature h3 { margin: 0 0 6px; font-size: 1.04rem; color: var(--tl-ink); }
.tl-feature p { margin: 0; color: var(--tl-muted); font-size: .93rem; line-height: 1.65; }

/* CTA band */
.tl-band { position: relative; overflow: hidden; isolation: isolate; margin-top: 84px; border-radius: 24px; padding: 44px 32px; color: #fff;
  background: linear-gradient(135deg, var(--tl-g800) 0%, var(--tl-g700) 55%, var(--tl-g600) 100%); display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .tl-band { grid-template-columns: minmax(0, 1fr) auto; padding: 48px 52px; } }
.tl-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.tl-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.tl-band p { color: rgba(236, 253, 245, .85); margin: 0; max-width: 560px; line-height: 1.65; }
.tl-band .tl-actions { margin: 0; justify-content: flex-start; }

/* FAQ — smooth accordion (height animated in common.js) */
.tl-faq { max-width: 880px; margin: 0 auto; display: grid; gap: 10px; }
.tl-faq details { background: #fff; border: 1px solid var(--tl-line); border-radius: 16px; box-shadow: var(--tl-shadow-sm); transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.tl-faq details[open] { border-color: #c4dccf; box-shadow: var(--tl-shadow); }
.tl-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--tl-ink); position: relative; }
.tl-faq summary::-webkit-details-marker { display: none; }
.tl-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--tl-g50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a4f2e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .4s var(--tl-ease), background-color .3s; }
.tl-faq details[open] summary::after { transform: rotate(135deg); background-color: var(--tl-g100); }
.tl-faq-a { padding: 0 22px 20px; color: var(--tl-muted); line-height: 1.7; }
.tl-faq-a p { margin: 0; }

/* ═════════ PROFILE PAGE ═════════ */
.tl-profile-layout { position: relative; z-index: 3; margin-top: -70px; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .tl-profile-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } .tl-profile-layout aside { position: sticky; top: calc(var(--tl-sticky-top) + 14px); } }
.tl-panel { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--tl-line); box-shadow: var(--tl-shadow); animation: tl-rise .8s var(--tl-ease) .15s both; }
.tl-profile-layout aside.tl-panel { animation-delay: .25s; }
.tl-profile-top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--tl-line); }
.tl-profile-top h2 { margin: 0; font-size: 1.75rem; color: var(--tl-ink); display: flex; align-items: center; gap: 8px; }
.tl-profile-top .tl-reviewed { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; margin-left: 8px; font-size: .8rem; font-weight: 600; color: var(--tl-g600); }
.tl-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0; }
.tl-facts div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--tl-bg); border: 1px solid var(--tl-line); animation: tl-rise .6s var(--tl-ease) both; }
.tl-facts div:nth-child(2) { animation-delay: .06s; } .tl-facts div:nth-child(3) { animation-delay: .12s; } .tl-facts div:nth-child(4) { animation-delay: .18s; }
.tl-facts .tl-fi { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--tl-g600); border: 1px solid var(--tl-line); }
.tl-facts dt { font-size: .74rem; font-weight: 600; color: var(--tl-muted); text-transform: uppercase; letter-spacing: .06em; }
.tl-facts dd { margin: 3px 0 0; font-weight: 600; color: var(--tl-ink); }
.tl-panel h3 { font-size: 1.02rem; margin: 26px 0 10px; color: var(--tl-ink); }
.tl-bio { white-space: pre-line; margin: 0; color: var(--tl-text); line-height: 1.75; }
.tl-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: var(--tl-g50); border: 1px solid #cfe9da; color: var(--tl-g800); font-size: .88rem; line-height: 1.6; }
.tl-note svg { flex-shrink: 0; margin-top: 2px; color: var(--tl-g600); }
.tl-req-head h2 { margin: 0 0 6px; font-size: 1.3rem; color: var(--tl-ink); }
.tl-req-head p { margin: 0 0 18px; color: var(--tl-muted); font-size: .9rem; line-height: 1.6; }
.tl-mini-steps { list-style: none; margin: 0 0 20px; padding: 14px; display: grid; gap: 10px; border-radius: 14px; background: var(--tl-bg); border: 1px solid var(--tl-line); counter-reset: tl-m; }
.tl-mini-steps li { display: flex; gap: 10px; align-items: center; margin: 0; font-size: .86rem; color: var(--tl-text); }
.tl-mini-steps li::before { counter-increment: tl-m; content: counter(tl-m); width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; background: #fff; color: var(--tl-g700); border: 1px solid #cfe3d7; }

/* ═════════ FORMS ═════════ */
.tl-form { display: grid; gap: 16px; }
.tl-two { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tl-two { grid-template-columns: 1fr 1fr; } }
.tl-field label { display: block; font-size: .86rem; font-weight: 600; color: var(--tl-ink); margin-bottom: 6px; }
.tl-field .tl-opt { font-weight: 400; color: var(--tl-muted); }
.tl-hint { font-size: .8rem; color: var(--tl-muted); margin: 5px 0 0; line-height: 1.5; }
.tl-hint a { color: var(--tl-g700); }
.tl-field.tl-invalid input, .tl-field.tl-invalid select, .tl-field.tl-invalid textarea { border-color: #c2410c; box-shadow: 0 0 0 4px rgba(194, 65, 12, .1); animation: tl-shake .35s; }
@keyframes tl-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tl-err { display: flex; gap: 6px; align-items: center; color: #c2410c; font-size: .8rem; font-weight: 500; margin-top: 6px; animation: tl-rise .25s both; }
.tl-form-error { color: #c2410c; margin: 0; font-size: .92rem; padding: 12px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; }
.tl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tl-private { font-size: .7rem; font-weight: 700; color: var(--tl-g700); background: var(--tl-g50); border: 1px solid #cfe9da; padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.tl-page .tl-form .btn { justify-self: start; }
@media (max-width: 600px) { .tl-page .tl-form .btn, .tl-wizard-nav .btn, .tl-wizard-nav .tl-btn { width: 100%; } .tl-panel { padding: 20px; } }

/* Join — wizard + live preview */
.tl-join-layout { position: relative; z-index: 3; margin-top: -70px; display: grid; gap: 22px; }
@media (min-width: 1020px) { .tl-join-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } .tl-join-layout aside { position: sticky; top: calc(var(--tl-sticky-top) + 14px); } }
.tl-bar { height: 6px; border-radius: 6px; background: var(--tl-bg); border: 1px solid var(--tl-line); overflow: hidden; }
.tl-bar i { display: block; height: 100%; width: 33.33%; border-radius: 6px; background: linear-gradient(90deg, var(--tl-gold), var(--tl-g600)); transition: width .6s var(--tl-ease); }
.tl-step-panel { display: grid; gap: 16px; animation: tl-slide .5s var(--tl-ease) both; }
.tl-step-panel[hidden] { display: none; }
.tl-step-panel.tl-back-anim { animation-name: tl-slide-back; }
@keyframes tl-slide { from { opacity: 0; transform: translateX(26px); } }
@keyframes tl-slide-back { from { opacity: 0; transform: translateX(-26px); } }
.tl-step-title { margin: 0 0 2px; font-size: 1.25rem; color: var(--tl-ink); }
.tl-step-sub { margin: -8px 0 4px; color: var(--tl-muted); font-size: .9rem; }
.tl-wizard-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--tl-line); }
.tl-photo-pick { display: flex; align-items: center; gap: 12px; }
.tl-photo-pick input { flex: 1; min-width: 0; }
.tl-consent { background: var(--tl-bg); border: 1px solid var(--tl-line); border-radius: 14px; padding: 16px; }
.tl-check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; line-height: 1.6; cursor: pointer; }
.tl-check input { width: 20px !important; height: 20px; min-height: 0 !important; margin-top: 2px !important; flex-shrink: 0; accent-color: var(--tl-g700); padding: 0 !important; }
.tl-privacy { font-size: .84rem; color: var(--tl-muted); background: #fff; border: 1px solid var(--tl-line); border-radius: 14px; padding: 16px 18px; margin: 0; line-height: 1.6; }
.tl-privacy strong { color: var(--tl-ink); }
.tl-privacy ul { margin: 8px 0 0; padding-left: 18px; }
.tl-privacy li { margin: 4px 0; }
.tl-privacy a { color: var(--tl-g700); }
.tl-preview h2 { margin: 0 0 4px; font-size: 1rem; color: var(--tl-ink); }
.tl-preview > p { margin: 0 0 16px; font-size: .84rem; color: var(--tl-muted); }
.tl-preview .tl-card { animation: none; box-shadow: var(--tl-shadow); }
.tl-preview .tl-card .tl-name, .tl-preview .tl-card .tl-meta span, .tl-preview .tl-card .tl-role { transition: color .2s; }
.tl-preview-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .82rem; color: var(--tl-muted); line-height: 1.55; }
.tl-preview-note svg { flex-shrink: 0; color: var(--tl-g600); margin-top: 1px; }
.tl-ph { color: #a3b5ab !important; }

/* Success */
.tl-success { text-align: center; padding: 30px 8px 10px; animation: tl-rise .5s var(--tl-ease) both; }
.tl-tick { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--tl-g50); color: var(--tl-g600); border: 1px solid #cfe9da; }
.tl-success:not([hidden]) .tl-tick { animation: tl-pop .6s var(--tl-ease) both, tl-ring 1.6s .45s ease-out; }
.tl-tick svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tl-draw .55s .35s ease-out forwards; }
@keyframes tl-pop { from { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.06); } }
@keyframes tl-draw { to { stroke-dashoffset: 0; } }
@keyframes tl-ring { 0% { box-shadow: 0 0 0 0 rgba(10, 122, 62, .3); } 100% { box-shadow: 0 0 0 22px rgba(10, 122, 62, 0); } }
.tl-success h3 { margin: 0 0 8px; font-size: 1.35rem; color: var(--tl-ink); }
.tl-success p { color: var(--tl-muted); margin: 0 auto 20px; max-width: 460px; line-height: 1.65; }

/* ═════════ Talent pages only: hide the site's course widgets (enquiry tab, batch ticker,
   14-Oct strip, mobile call bar, WhatsApp bubble). They cover form fields and are about courses, not hiring. ═════════ */
body:has(.tl-page) .whatsapp-float, body:has(.tl-page) .mobile-sticky-cta, body:has(.tl-page) .fenq-tab,
body:has(.tl-page) .fenq-panel, body:has(.tl-page) .bf-bar, body:has(.tl-page) .oct-strip { display: none !important; }
body.has-oct-strip:has(.tl-page) { padding-top: 0 !important; }
body.has-oct-strip .tl-page { --tl-sticky-top: 76px; }

/* ═════════ JOIN — compact hero, progress, fields ═════════ */
.tl-join-page .tl-hero-inner h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.tl-join-page .tl-trust { margin-top: 18px; }
@media (max-width: 600px) {
  .tl-join-page .hero-page { padding: 104px 0 84px !important; }
  .tl-join-page .tl-lede { font-size: .98rem; }
  .tl-join-page .tl-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: .82rem; }
}
.tl-join-layout { margin-top: -64px; }
.tl-join-panel { padding: 30px; }
@media (max-width: 600px) { .tl-join-panel { padding: 20px 18px 22px; } }

.tl-progress { margin: 0 0 26px; }
.tl-progress-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tl-progress-count { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-gold-600); }
.tl-progress-name { font-size: .86rem; font-weight: 600; color: var(--tl-muted); }
.tl-bar i { width: 25%; }
.tl-dots { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tl-dots li { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--tl-muted); transition: color .3s; }
.tl-dots li span { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 700; background: var(--tl-bg); border: 1.5px solid #cfe0d6; color: var(--tl-muted); transition: all .35s var(--tl-ease); }
.tl-dots li.tl-on { color: var(--tl-ink); }
.tl-dots li.tl-on span { background: var(--tl-g700); border-color: var(--tl-g700); color: #fff; box-shadow: 0 0 0 4px var(--tl-g50); }
.tl-dots li.tl-done span { background: var(--tl-g50); border-color: var(--tl-g600); color: var(--tl-g700); }
.tl-dots em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .tl-dots { display: none; } }

fieldset.tl-step-panel { border: 0; margin: 0; padding: 0; min-width: 0; gap: 20px; }
.tl-form > *, .tl-step-panel > *, .tl-two > * { min-width: 0; } /* let long file names ellipsis instead of widening the page */
.tl-step-title { display: block; padding: 0; margin: 0 0 2px; font-size: 1.3rem; font-weight: 700; color: var(--tl-ink); letter-spacing: -.01em; outline: none; }
.tl-label { display: block; font-size: .86rem; font-weight: 600; color: var(--tl-ink); margin-bottom: 8px; }

/* quick-pick and suggestion chips */
.tl-quick { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.tl-quick button {
  padding: 6px 12px; border-radius: 999px; border: 1px dashed #b9d6c4; background: #fff; color: var(--tl-g700);
  font: inherit; font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.tl-quick button::before { content: "+ "; opacity: .6; }
[data-fill] button::before { content: none; }
.tl-quick button:hover { border-style: solid; border-color: var(--tl-g600); background: var(--tl-g50); }
.tl-quick button.tl-picked { border-style: solid; background: var(--tl-g700); border-color: var(--tl-g700); color: #fff; }
.tl-quick button[hidden] { display: none; }
/* main qualification options: always visible, toggle on/off */
.tl-quick-main { margin: 0 0 10px; }
.tl-quick-main button { padding: 9px 15px; border-style: solid; border-color: #cfe3d7; font-size: .88rem; font-weight: 600; }
.tl-quick-main button.tl-picked::before { content: "✓ "; opacity: 1; }

/* experience stepper */
.tl-stepper { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; border: 1px solid #d3e0d8; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.tl-stepper:focus-within { border-color: var(--tl-g600); box-shadow: 0 0 0 4px rgba(10, 122, 62, .13); }
.tl-stepper button { border: 0; background: var(--tl-g50); color: var(--tl-g700); font-size: 1.3rem; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.tl-stepper button:hover { background: var(--tl-g100); }
.tl-page .tl-stepper input { border: 0 !important; box-shadow: none !important; border-radius: 0; text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; }
.tl-stepper input::-webkit-outer-spin-button, .tl-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html:not(.tl-js) .tl-stepper { grid-template-columns: 1fr; }

/* role chips (radio buttons) */
.tl-role-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.tl-role-opt { position: relative; margin: 0; cursor: pointer; }
.tl-role-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-role-opt span {
  display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d3e0d8; background: #fff;
  font-size: .92rem; font-weight: 600; color: var(--tl-text); transition: all .25s var(--tl-ease);
}
.tl-role-opt span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b9cfc3; flex-shrink: 0; transition: all .25s var(--tl-ease); }
.tl-role-opt:hover span { border-color: #a9c2b5; }
.tl-role-opt input:checked + span { border-color: var(--tl-g700); background: var(--tl-g50); color: var(--tl-g800); box-shadow: 0 6px 16px rgba(5, 43, 27, .08); }
.tl-role-opt input:checked + span::before { border-color: var(--tl-g700); background: var(--tl-g700); box-shadow: inset 0 0 0 3px #fff; }
.tl-role-opt input:focus-visible + span { outline: 3px solid var(--tl-gold); outline-offset: 2px; }
.tl-invalid .tl-role-opt span { border-color: #f3c3a5; }

/* tag input */
.tl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 6px 8px; border: 1px solid #d3e0d8; border-radius: 12px; background: #fff; cursor: text; transition: border-color .2s, box-shadow .2s; }
.tl-tags:focus-within { border-color: var(--tl-g600); box-shadow: 0 0 0 4px rgba(10, 122, 62, .13); }
.tl-page .tl-tags .tl-tags-in { flex: 1; min-width: 140px; border: 0 !important; box-shadow: none !important; padding: 6px; min-height: 34px; }
.tl-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 8px; background: var(--tl-g50); border: 1px solid #cfe9da; color: var(--tl-g800); font-size: .84rem; font-weight: 500; animation: tl-pop .25s var(--tl-ease) both; }
.tl-tag button { width: 22px; height: 22px; border: 0; border-radius: 6px; background: transparent; color: var(--tl-g700); font-size: 1rem; line-height: 1; cursor: pointer; }
.tl-tag button:hover { background: var(--tl-g100); }
.tl-counter { text-align: right; }

/* private note */
.tl-private-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--tl-g50); border: 1px solid #cfe9da; color: var(--tl-g800); font-size: .9rem; line-height: 1.55; }
.tl-private-box svg { flex-shrink: 0; color: var(--tl-g600); margin-top: 1px; }

/* resume drop zone */
.tl-file { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.tl-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed #b9d6c4; background: #fbfdfc; transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.tl-drop:hover, .tl-drop.tl-drag { border-color: var(--tl-g600); background: var(--tl-g50); }
.tl-drop.tl-drag { box-shadow: 0 0 0 5px rgba(10, 122, 62, .1); }
.tl-drop:focus-within { outline: 3px solid var(--tl-gold); outline-offset: 2px; }
.tl-drop-icon { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--tl-g700); border: 1px solid #d9efe2; transition: all .3s; }
.tl-drop-text { min-width: 0; flex: 1; }
.tl-drop-text strong { display: block; color: var(--tl-ink); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-drop-text small { display: block; color: var(--tl-muted); font-size: .8rem; margin-top: 2px; }
.tl-drop-action { flex-shrink: 0; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid #cfe3d7; color: var(--tl-g700); font-size: .84rem; font-weight: 600; }
.tl-drop.tl-has-file { border-style: solid; border-color: #9fd3b5; background: var(--tl-g50); }
.tl-drop.tl-has-file .tl-drop-icon { background: var(--tl-g700); color: #fff; border-color: var(--tl-g700); }
@media (hover: none) { .tl-drag-hint { display: none; } }
.tl-invalid .tl-drop { border-color: #f0a37a; background: #fff8f3; }

/* photo picker */
.tl-photo { display: flex; align-items: center; gap: 16px; }
.tl-photo strong { color: var(--tl-ink); font-size: .95rem; }
.tl-photo-circle {
  position: relative; width: 84px; height: 84px; border-radius: 26px; flex-shrink: 0; cursor: pointer; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--tl-g600);
  background: linear-gradient(140deg, var(--tl-g50), var(--tl-g100)); border: 1.5px dashed #9fcdb3; transition: transform .3s var(--tl-ease), border-color .25s;
}
.tl-photo-circle:hover { transform: scale(1.04); border-color: var(--tl-g600); }
.tl-photo-circle:focus-within { outline: 3px solid var(--tl-gold); outline-offset: 2px; }
.tl-photo-circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: tl-pop .4s var(--tl-ease) both; }
.tl-photo-circle.tl-has-photo { border-style: solid; border-color: #fff; box-shadow: 0 0 0 2px var(--tl-g600); }

/* these two are <label>s — undo the generic ".tl-field label" block style */
.tl-field label.tl-drop { display: flex; margin: 0; font-weight: 400; }
.tl-field label.tl-photo-circle { display: flex; margin: 0; }
@media (max-width: 420px) { .tl-drop { padding: 14px; gap: 12px; } .tl-drop-icon { width: 42px; height: 42px; } .tl-drop-action { padding: 7px 11px; } }

/* photo — first thing in step 1, because it appears on the public card */
.tl-photo-field { padding: 16px; border-radius: 16px; background: linear-gradient(140deg, var(--tl-g50), #fff 70%); border: 1px solid #d9efe2; }
.tl-photo-field .tl-photo-circle { width: 96px; height: 96px; border-radius: 28px; overflow: visible; }
.tl-photo-field .tl-photo-circle img { border-radius: 26px; }
.tl-photo-badge { position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--tl-g700); color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 1; box-shadow: 0 0 0 3px #fff; transition: transform .3s var(--tl-ease); }
.tl-photo-circle:hover .tl-photo-badge { transform: scale(1.12); }
.tl-photo-circle.tl-has-photo .tl-photo-badge { background: var(--tl-gold); color: var(--tl-g800); }
.tl-public { display: inline-block; margin-left: 4px; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; vertical-align: middle; background: var(--tl-gold-50); color: #92400e; border: 1px solid #fde7b0; }
.tl-field label.tl-photo-btn { display: inline-flex; margin: 0 10px 0 0; min-height: 38px; padding: 7px 14px; font-size: .86rem; cursor: pointer; }
@media (max-width: 420px) { .tl-photo-field .tl-photo-circle { width: 80px; height: 80px; border-radius: 24px; } .tl-photo { align-items: flex-start; gap: 14px; } }

/* preview inside step 4 on phones */
#tl-preview-slot .tl-preview { animation: none; box-shadow: none; padding: 18px; background: var(--tl-bg); border-radius: 16px; }
#tl-preview-slot .tl-preview h2 { font-size: .95rem; }

/* consent + collapsible privacy */
.tl-privacy-more { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tl-line); font-size: .84rem; color: var(--tl-muted); }
.tl-privacy-more summary { cursor: pointer; font-weight: 600; color: var(--tl-g700); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.tl-privacy-more summary::-webkit-details-marker { display: none; }
.tl-privacy-more summary::after { content: "›"; display: inline-block; font-size: 1.1rem; transition: transform .3s var(--tl-ease); }
.tl-privacy-more[open] summary::after { transform: rotate(90deg); }
.tl-privacy-more ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; }
.tl-privacy-more li { margin: 4px 0; }
.tl-privacy-more a { color: var(--tl-g700); }

/* wizard nav: Continue primary on the right, Back as a quiet text button */
.tl-wizard-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--tl-line); }
.tl-wizard-nav .btn { min-width: 190px; }
.tl-wizard-nav [hidden] { display: none !important; }
.tl-back-btn { margin-right: auto; background: none; border: 0; padding: 10px 4px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--tl-muted); cursor: pointer; transition: color .2s, transform .25s var(--tl-ease); }
.tl-back-btn:hover { color: var(--tl-g700); transform: translateX(-3px); }
@media (max-width: 600px) {
  .tl-wizard-nav { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .tl-wizard-nav .btn { width: 100%; min-width: 0; }
  .tl-back-btn { margin: 0 auto; }
}
.tl-review-note { text-align: center; }
.tl-review-note[hidden] { display: none; }
.btn.tl-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.tl-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(0, 31, 69, .25); border-top-color: #001f45; animation: tl-spin .7s linear infinite; }

/* success: what happens next */
.tl-next { list-style: none; counter-reset: tl-n; margin: 0 auto 6px; padding: 0; max-width: 440px; display: grid; gap: 10px; text-align: left; }
.tl-next li { counter-increment: tl-n; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--tl-bg); border: 1px solid var(--tl-line); animation: tl-rise .5s var(--tl-ease) both; }
.tl-next li:nth-child(2) { animation-delay: .1s; } .tl-next li:nth-child(3) { animation-delay: .2s; }
.tl-next li::before { content: counter(tl-n); grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--tl-g800); background: linear-gradient(140deg, #fde68a, var(--tl-gold)); }
.tl-next strong { color: var(--tl-ink); font-size: .92rem; }
.tl-next span { color: var(--tl-muted); font-size: .84rem; }

/* ═════════ JOIN — job-seeker sections below the form ═════════ */
.tl-jobs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.tl-job { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--tl-radius); background: #fff; border: 1px solid var(--tl-line); box-shadow: var(--tl-shadow-sm); transition: transform .4s var(--tl-ease), box-shadow .4s, border-color .3s; }
.tl-job:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow); border-color: #c4dccf; }
.tl-job h3 { margin: 0; font-size: 1.04rem; color: var(--tl-ink); }
.tl-job p { margin: 0; color: var(--tl-muted); font-size: .92rem; line-height: 1.6; flex: 1; }
.tl-job-pay { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--tl-line); }
.tl-job-pay span { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--tl-muted); }
.tl-job-pay strong { color: var(--tl-g700); font-size: 1.02rem; white-space: nowrap; }
.tl-more-links { text-align: center; margin: 20px 0 0; color: var(--tl-muted); font-size: .92rem; }
.tl-more-links a, .tl-who-list a { color: var(--tl-g700); font-weight: 600; }
.tl-who { display: grid; gap: 24px; align-items: center; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--tl-line); box-shadow: var(--tl-shadow-sm); }
@media (min-width: 900px) { .tl-who { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 40px; } }
.tl-who h2 { margin: 0 0 8px; color: var(--tl-ink); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.25; }
.tl-who p { margin: 0; color: var(--tl-muted); }
.tl-who-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tl-who-list li { position: relative; margin: 0; padding: 11px 14px 11px 42px; border-radius: 12px; background: var(--tl-bg); border: 1px solid var(--tl-line); color: var(--tl-text); font-size: .94rem; }
.tl-who-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--tl-g700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center no-repeat; }
.tl-places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.tl-places a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid #cfe3d7; color: var(--tl-g700); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .25s var(--tl-ease); }
.tl-places a:hover { background: var(--tl-g700); border-color: var(--tl-g700); color: #fff; transform: translateY(-2px); }
.tl-places a.tl-place-gcc { background: var(--tl-gold-50); border-color: #fde7b0; color: #92400e; }
.tl-places a.tl-place-gcc:hover { background: var(--tl-gold); border-color: var(--tl-gold); color: var(--tl-g800); }
#tl-join-form { scroll-margin-top: 120px; }
@media (min-width: 980px) { .tl-features, .tl-jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* 6 cards = 2 even rows */

/* Reduced motion: still, and everything visible */
@media (prefers-reduced-motion: reduce) {
  .tl-page *, .tl-page *::before, .tl-page *::after { animation: none !important; transition: none !important; }
  .tl-js .tl-reveal { opacity: 1; transform: none; }
  .tl-steps::after { transform: scaleX(1) !important; }
  .tl-tick svg path { stroke-dashoffset: 0; }
}

/* Treneywann badge — verified Treneywann students (set in HQ) */
.tl-tw-badge {
  display: inline-flex; align-items: center; gap: 5px; margin: 5px 0 0 6px; padding: 3px 10px 3px 8px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  background: var(--tl-g800); color: #fff; box-shadow: 0 2px 6px rgba(5, 43, 27, .18);
}
.tl-tw-badge svg { width: 13px; height: 13px; color: var(--tl-gold); flex-shrink: 0; }
.tl-profile-top .tl-tw-badge { margin-top: 10px; }

/* Demo-mode label (only when browsing with ?demo=1) */
.tl-demo-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px;
  background: #1f2937; color: #f9fafb; font-size: .82rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.tl-demo-bar strong { color: var(--tl-gold); text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }
.tl-demo-bar a { color: #fde68a; font-weight: 700; text-decoration: underline; }

/* Example profiles (shown while no real candidate is listed) */
.tl-example-tag {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; flex-shrink: 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #f1f5f9; color: #475569; border: 1px dashed #94a3b8;
}
.tl-card-example { border-style: dashed; }
.tl-example-note {
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px;
  border-radius: 14px; background: var(--tl-gold-50); border: 1px solid #fde7b0; color: #78350f; font-size: .9rem;
}
.tl-example-note strong { color: #92400e; }
.tl-example-note span { flex: 1 1 320px; }
.tl-example-note a { font-weight: 700; color: var(--tl-g700); white-space: nowrap; }
.tl-example-cta h2 { margin: 12px 0 8px; font-size: 1.25rem; color: var(--tl-ink); }
.tl-example-cta p { margin: 0 0 16px; color: var(--tl-text); }
