/* Talentport Client Portal — preview mock. Tokens lifted from talentport.com.au source. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #0C0C0D; color: #F2F0E9; font-family: 'Archivo', sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: ui-monospace, monospace; }

/* Nav */
.gold-rule { height: 6px; background: #F6C500; }
nav.tp { position: sticky; top: 0; z-index: 50; background: rgba(12,12,13,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.12); }
nav.tp .inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
nav.tp .links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
nav.tp .links a { color: #A8A395; }
nav.tp .links a.on { color: #F2F0E9; border-bottom: 2px solid #F6C500; padding-bottom: 4px; }
nav.tp .links a.cta { background: #F6C500; color: #111; padding: 12px 22px; letter-spacing: 0.08em; border-bottom: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #F6C500; color: #111; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }

/* Type */
h1.display { font-size: clamp(38px, 5vw, 64px); font-weight: 800; font-stretch: 100%; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; color: #F2F0E9; }
h2.display { font-size: 28px; font-weight: 800; font-stretch: 100%; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; color: #F2F0E9; }
.kicker { font-family: ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0.14em; color: #F6C500; text-transform: uppercase; }
.muted { color: #A8A395; }
.dim { color: #8F8B7E; }

/* Cards */
.card { background: #131314; border: 1px solid rgba(255,255,255,0.12); padding: 26px; }
.card.gold { border: 1px solid rgba(246,197,0,0.55); box-shadow: 0 0 22px rgba(246,197,0,0.16), 0 0 56px rgba(246,197,0,0.07); }
.card.grad { background: linear-gradient(160deg, #26210F 0%, #17160F 45%, #131314 100%); border: 1px solid rgba(246,197,0,0.55); box-shadow: 0 0 22px rgba(246,197,0,0.16), 0 0 56px rgba(246,197,0,0.07); }

/* Buttons */
.btn { display: inline-block; background: #F6C500; color: #111; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 30px; border: none; cursor: pointer; font-family: 'Archivo', sans-serif; }
.btn.sm { font-size: 13px; padding: 12px 22px; }
.btn.ghost { background: transparent; color: #F6C500; border: 1px solid rgba(246,197,0,0.55); }
.btn.black { background: #111; color: #F6C500; }

/* Pills & chips */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border: 1px solid rgba(255,255,255,0.2); color: #A8A395; white-space: nowrap; }
.pill.submitted { color: #A8A395; }
.pill.triaged { color: #F2F0E9; border-color: rgba(255,255,255,0.35); }
.pill.progress { color: #F6C500; border-color: rgba(246,197,0,0.65); box-shadow: 0 0 14px rgba(246,197,0,0.14); }
.pill.done { background: #F6C500; color: #111; border-color: #F6C500; }
.pill.declined { color: #8F8B7E; text-decoration: line-through; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: #F6C500; }
.chip img { height: 14px; width: auto; display: block; }
.kind { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; color: #8F8B7E; text-transform: uppercase; }

/* Inputs */
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #A8A395; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; background: #0C0C0D; border: 1px solid rgba(255,255,255,0.18); color: #F2F0E9; font-family: 'Archivo', sans-serif; font-size: 15px; padding: 14px 16px; outline: none; }
.field input:focus, .field textarea:focus { border-color: rgba(246,197,0,0.65); box-shadow: 0 0 14px rgba(246,197,0,0.12); }

/* Request rows */
.req-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center; padding: 20px 22px; border: 1px solid rgba(255,255,255,0.12); border-top: none; background: #131314; color: #F2F0E9; }
.req-row:first-of-type { border-top: 1px solid rgba(255,255,255,0.12); }
.req-row:hover { background: #17160F; border-color: rgba(246,197,0,0.35); }
.req-row .title { font-size: 15.5px; font-weight: 700; }

/* Timeline */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,0.15); }
.tl .ev { position: relative; padding-bottom: 26px; }
.tl .ev:last-child { padding-bottom: 0; }
.tl .ev::before { content: ""; position: absolute; left: -25px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: #0C0C0D; border: 2px solid rgba(255,255,255,0.3); }
.tl .ev.gold::before { background: #F6C500; border-color: #F6C500; box-shadow: 0 0 12px rgba(246,197,0,0.5); }
.tl .ev.hollow-gold::before { border-color: #F6C500; }

/* Notes thread */
.note { padding: 18px 20px; border: 1px solid rgba(255,255,255,0.12); background: #131314; }
.note.team { background: linear-gradient(160deg, #26210F 0%, #17160F 45%, #131314 100%); border-color: rgba(246,197,0,0.45); }
.note .who { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.note .who .name { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.note p { font-size: 14.5px; line-height: 1.6; color: #DDD9CE; }

footer.tp { border-top: 1px solid rgba(255,255,255,0.09); margin-top: 96px; }

/* ---- Mobile optimisation (<=768px) ---- */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  nav.tp .inner { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 12px; row-gap: 10px; }
  nav.tp img { height: 24px !important; }
  nav.tp .links { gap: 12px 16px; font-size: 11px; flex-wrap: wrap; }
  h1.display { font-size: clamp(32px, 9vw, 48px); }
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
  .req-row { grid-template-columns: 1fr; gap: 10px; }
  img { max-width: 100%; height: auto; }
}
