/* ============================================================
   UWA TALENT HUB — Self-contained stylesheet
   Brand: Warm Authority (same as main site)
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --navy:    #111662;
  --blue:    #1155CC;
  --gold:    #D49904;
  --orange:  #E86912;
  --green:   #2E7D32;
  --red:     #C62828;

  --surface: #FAFAF8;
  --surface-light: #F0EEE9;
  --surface-mid:   #E8E4DA;
  --text-primary:  #1A1A2E;
  --text-secondary:#5A5A72;
  --text-muted:    #9898AA;
  --border:        #E8E4DA;

  --footer-dark: #1C2033;

  --ff-display: 'Merriweather', Georgia, serif;
  --ff-body:    'Inter', Arial, sans-serif;

  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(17,22,98,0.08);
  --shadow-md: 0 6px 24px rgba(17,22,98,0.12);
  --shadow-lg: 0 16px 48px rgba(17,22,98,0.18);
  --ease: 0.22s ease;

  --nav-h: 68px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--ff-body); }
input, textarea, select {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text-primary);
  transition: border-color var(--ease);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group { margin-bottom: var(--sp-md); }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: var(--sp-sm);
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 6px 16px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 9999; transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Layout helpers ────────────────────────────────────────── */
.t-container { width: 92%; max-width: 1180px; margin: 0 auto; }
.t-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.t-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.t-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.t-section { padding: var(--sp-xl) 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.t-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.7rem 1.6rem;
  font-family: var(--ff-body); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; transition: all var(--ease);
  white-space: nowrap; text-decoration: none;
}
.t-btn--primary  { background: var(--blue);  color: #fff; border-color: var(--blue); }
.t-btn--primary:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.t-btn--gold     { background: var(--gold);  color: #fff; border-color: var(--gold); }
.t-btn--gold:hover { background: #b8820a; border-color: #b8820a; transform: translateY(-2px); }
.t-btn--outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.t-btn--outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.t-btn--ghost    { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.t-btn--ghost:hover { background: var(--surface-light); color: var(--text-primary); }
.t-btn--danger   { background: var(--red); color: #fff; border-color: var(--red); }
.t-btn--sm       { padding: 0.45rem 1rem; font-size: 0.75rem; }
.t-btn--lg       { padding: 0.9rem 2.2rem; font-size: 0.95rem; }
.t-btn--full     { width: 100%; justify-content: center; }

/* ── Flash messages ─────────────────────────────────────────── */
.flash { padding: var(--sp-sm) var(--sp-md); border-radius: var(--r-sm); font-weight: 600; font-size: 0.88rem; margin-bottom: var(--sp-md); }
.flash--success { background: #E8F5E9; color: var(--green); border-left: 4px solid var(--green); }
.flash--error   { background: #FFEBEE; color: var(--red);   border-left: 4px solid var(--red); }
.flash--info    { background: #E3F2FD; color: var(--blue);  border-left: 4px solid var(--blue); }

/* ── Navigation ─────────────────────────────────────────────── */
.t-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy); height: var(--nav-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.t-nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--sp-lg); }
.t-nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.t-nav__logo-img {
  height: 52px; width: auto; display: block; flex-shrink: 0;
}
.t-nav__site { color: #fff; font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.t-nav__sub  { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 500; }
.t-nav__links { display: flex; gap: var(--sp-md); margin-left: auto; }
.t-nav__links a { color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 600; transition: color var(--ease); }
.t-nav__links a:hover, .t-nav__links a.active { color: var(--gold); }
.t-nav__auth { display: flex; gap: var(--sp-xs); flex-shrink: 0; }
.t-nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.t-nav__hamburger span { width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; display: block; }
.t-nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t-nav__hamburger.open span:nth-child(2) { opacity: 0; }
.t-nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.t-nav__drawer {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--navy); z-index: 199;
  flex-direction: column; padding: var(--sp-lg);
  gap: var(--sp-sm); overflow-y: auto;
}
.t-nav__drawer.open { display: flex; }
.t-nav__drawer a { color: rgba(255,255,255,0.8); font-size: 1.1rem; font-weight: 600; padding: var(--sp-xs) 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ── Cards ──────────────────────────────────────────────────── */
.t-card {
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.t-card--flat { box-shadow: none; border: 1px solid var(--border); }
.t-card__body { padding: var(--sp-md); }

/* ── Talent Profile Card ────────────────────────────────────── */
.profile-card {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
  border-top: 4px solid transparent;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profile-card--published { border-top-color: var(--green); }
.profile-card--freelance  { border-top-color: var(--gold); }
.profile-card--full_time  { border-top-color: var(--blue); }
.profile-card__photo {
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid var(--gold); object-fit: cover;
  margin-bottom: var(--sp-sm);
}
.profile-card__photo-placeholder {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--surface-light); border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: var(--sp-sm); flex-shrink: 0;
}
.profile-card__name  { font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 3px; }
.profile-card__role  { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: var(--sp-sm); }
.profile-card__skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: var(--sp-sm); }
.profile-card__footer { margin-top: auto; padding-top: var(--sp-sm); border-top: 1px solid var(--border); width: 100%; display: flex; justify-content: center; gap: var(--sp-xs); }

/* ── Skill chips ─────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface-light); color: var(--text-secondary);
  font-size: 0.75rem; font-weight: 600; padding: 4px 10px;
  border-radius: var(--r-pill); white-space: nowrap;
}
.chip--blue   { background: #E3F2FD; color: #1565C0; }
.chip--gold   { background: rgba(212,153,4,0.12); color: #8B6200; }
.chip--green  { background: #E8F5E9; color: #1B5E20; }
.chip--navy   { background: rgba(17,22,98,0.08); color: var(--navy); }

/* ── Availability badge ──────────────────────────────────────── */
.avail-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 3px 10px; border-radius: var(--r-pill);
}
.avail-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.avail-badge--full_time  { background: #E3F2FD; color: #1565C0; }
.avail-badge--full_time::before  { background: #1565C0; }
.avail-badge--part_time  { background: rgba(212,153,4,0.12); color: #8B6200; }
.avail-badge--part_time::before  { background: var(--gold); }
.avail-badge--freelance  { background: #E8F5E9; color: #1B5E20; }
.avail-badge--freelance::before  { background: var(--green); }
.avail-badge--not_available { background: var(--surface-light); color: var(--text-muted); }
.avail-badge--not_available::before { background: var(--text-muted); }

/* ── Footer ──────────────────────────────────────────────────── */
.t-footer { background: var(--footer-dark); padding: var(--sp-xl) 0 var(--sp-lg); margin-top: var(--sp-xl); }
.t-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-lg); }
.t-footer__brand { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 900; color: #fff; margin-bottom: var(--sp-xs); }
.t-footer__tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.t-footer__heading { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: rgba(255,255,255,0.4); margin-bottom: var(--sp-sm); }
.t-footer__links { display: flex; flex-direction: column; gap: 8px; }
.t-footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--ease); }
.t-footer__links a:hover { color: var(--gold); }

/* ── Auth pages ──────────────────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; background: var(--surface-light); padding: var(--sp-xl) var(--sp-md); }
.auth-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: var(--sp-xl); width: 100%; max-width: 460px; }
.auth-card__logo { text-align: center; margin-bottom: var(--sp-lg); }
.auth-card__logo-mark { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--navy); color: var(--gold); font-family: var(--ff-display); font-weight: 900; font-size: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-sm); }
.auth-card h1 { font-size: 1.5rem; color: var(--navy); text-align: center; margin-bottom: 4px; }
.auth-card__sub { font-size: 0.88rem; color: var(--text-secondary); text-align: center; margin-bottom: var(--sp-lg); }

/* ── Profile Builder ─────────────────────────────────────────── */
.pb-wrap { background: var(--surface-light); min-height: calc(100vh - var(--nav-h)); }
.pb-header { background: #fff; border-bottom: 1px solid var(--border); padding: var(--sp-md) 0; position: sticky; top: var(--nav-h); z-index: 100; }
.pb-header .t-container { display: flex; align-items: center; gap: var(--sp-lg); flex-wrap: wrap; }
.pb-header__title { font-weight: 700; color: var(--navy); font-size: 1rem; flex-shrink: 0; }

/* Step indicator */
.pb-steps { display: flex; gap: 0; flex: 1; }
.pb-step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; cursor: pointer;
}
.pb-step__dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  transition: all var(--ease); position: relative; z-index: 1;
}
.pb-step:not(:last-child)::after {
  content: ''; display: block; height: 2px; flex: 1;
  background: var(--border); margin-top: 15px; order: 1;
}
.pb-step__label { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; font-weight: 600; text-align: center; white-space: nowrap; }
.pb-step.done .pb-step__dot    { background: var(--green); border-color: var(--green); color: #fff; }
.pb-step.active .pb-step__dot  { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 4px rgba(17,22,98,0.12); }

/* Layout */
.pb-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--sp-lg); padding: var(--sp-lg) 0 var(--sp-xl); }
.pb-form-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: var(--sp-xl) var(--sp-lg); min-height: 500px; }
.pb-step-content { display: none; }
.pb-step-content.active { display: block; animation: fadeSlide 0.3s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.pb-step-title { font-family: var(--ff-display); font-size: 1.3rem; color: var(--navy); margin-bottom: var(--sp-xs); }
.pb-step-desc  { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: var(--sp-lg); line-height: 1.7; }

/* Navigation buttons */
.pb-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-xl); padding-top: var(--sp-lg); border-top: 1px solid var(--border); }

/* Photo upload circle */
.photo-upload-wrap { display: flex; align-items: center; gap: var(--sp-lg); margin-bottom: var(--sp-lg); }
.photo-circle {
  width: 120px; height: 120px; border-radius: 50%;
  border: 3px dashed var(--border); cursor: pointer; position: relative;
  flex-shrink: 0; overflow: hidden; background: var(--surface-light);
  transition: border-color var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.photo-circle:hover { border-color: var(--gold); }
.photo-circle input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.photo-circle__placeholder { text-align: center; pointer-events: none; }
.photo-circle__placeholder span { font-size: 1.8rem; display: block; }
.photo-circle__placeholder p { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; line-height: 1.3; }
.photo-circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-uploading { position: absolute; inset: 0; background: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; z-index: 3; font-size: 0.75rem; color: var(--text-secondary); }

/* Skills picker */
.skills-picker { margin-bottom: var(--sp-lg); }
.skills-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-md); }
.skills-cat-btn { padding: 4px 12px; border-radius: var(--r-pill); border: 2px solid var(--border); background: #fff; color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all var(--ease); }
.skills-cat-btn.active, .skills-cat-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 8px; min-height: 60px; }
.skill-option {
  padding: 6px 14px; border-radius: var(--r-pill); border: 2px solid var(--border);
  background: #fff; color: var(--text-secondary); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all var(--ease);
}
.skill-option:hover    { border-color: var(--blue); color: var(--blue); }
.skill-option.selected { border-color: var(--navy); background: var(--navy); color: #fff; }

/* Selected skills with level */
.selected-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-md); min-height: 40px; padding: var(--sp-sm); background: var(--surface-light); border-radius: var(--r-sm); border: 1px dashed var(--border); }
.selected-skill-item { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px 6px 4px 12px; font-size: 0.8rem; }
.selected-skill-item select { width: auto; padding: 2px 6px; border: none; background: transparent; font-size: 0.75rem; color: var(--text-secondary); outline: none; }
.selected-skill-item button { width: 20px; height: 20px; border-radius: 50%; border: none; background: var(--surface-mid); color: var(--text-muted); cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.selected-skill-item button:hover { background: var(--red); color: #fff; }

/* Dynamic entries (experience / education) */
.entry-list { display: flex; flex-direction: column; gap: var(--sp-md); }
.entry-card { background: var(--surface-light); border-radius: var(--r-sm); padding: var(--sp-md); border: 1px solid var(--border); position: relative; }
.entry-card__remove { position: absolute; top: var(--sp-sm); right: var(--sp-sm); background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1.1rem; transition: color var(--ease); }
.entry-card__remove:hover { color: var(--red); }
.t-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
.t-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-sm); }

/* Language chips selection */
.lang-options { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-option { padding: 8px 16px; border-radius: var(--r-pill); border: 2px solid var(--border); background: #fff; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); transition: all var(--ease); }
.lang-option.selected { border-color: var(--gold); background: rgba(212,153,4,0.08); color: #8B6200; }

/* Portfolio item row */
.portfolio-item { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--sp-sm); align-items: end; margin-bottom: var(--sp-sm); background: var(--surface-light); padding: var(--sp-sm); border-radius: var(--r-sm); border: 1px solid var(--border); }
.portfolio-item button { white-space: nowrap; }

/* Work preference cards */
.avail-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); }
.avail-option {
  border: 2px solid var(--border); border-radius: var(--r-md); padding: var(--sp-md);
  cursor: pointer; transition: all var(--ease); text-align: center;
}
.avail-option:hover { border-color: var(--blue); }
.avail-option.selected { border-color: var(--navy); background: rgba(17,22,98,0.04); }
.avail-option input[type=radio] { display: none; }
.avail-option__icon { font-size: 1.6rem; margin-bottom: 6px; }
.avail-option__label { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.avail-option__desc  { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }

/* ── Live Preview Panel ───────────────────────────────────────── */
.pb-preview { position: sticky; top: calc(var(--nav-h) + 80px); }
.pb-preview__card {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  overflow: hidden; border-top: 4px solid var(--gold);
}
.pb-preview__hero { background: var(--navy); padding: var(--sp-lg); display: flex; flex-direction: column; align-items: center; text-align: center; }
.pb-preview__photo-ring {
  width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--gold);
  object-fit: cover; margin-bottom: var(--sp-sm); background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  overflow: hidden; flex-shrink: 0;
}
.pb-preview__photo-ring img { width: 100%; height: 100%; object-fit: cover; }
.pb-preview__name    { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.pb-preview__tagline { color: rgba(255,255,255,0.65); font-size: 0.82rem; line-height: 1.5; }
.pb-preview__body { padding: var(--sp-md); }
.pb-preview__skills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: var(--sp-sm); }
.pb-preview__empty  { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }
.pb-preview__hint { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: var(--sp-md); padding-top: var(--sp-sm); border-top: 1px solid var(--border); }

/* ── Public Profile Page ──────────────────────────────────────── */
.profile-hero { background: var(--navy); padding: var(--sp-xl) 0; }
.profile-hero__inner { display: flex; gap: var(--sp-xl); align-items: flex-start; }
.profile-hero__photo { width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--gold); object-fit: cover; flex-shrink: 0; }
.profile-hero__photo-placeholder { width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--gold); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 4rem; flex-shrink: 0; }
.profile-hero__name { font-family: var(--ff-display); font-size: clamp(1.6rem,3vw,2.4rem); color: #fff; margin-bottom: 6px; }
.profile-hero__tagline { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.6; margin-bottom: var(--sp-md); max-width: 500px; }
.profile-hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; }
.profile-hero__cta { display: flex; gap: var(--sp-sm); flex-wrap: wrap; margin-top: var(--sp-lg); }

.profile-section { padding: var(--sp-lg) 0; border-bottom: 1px solid var(--border); }
.profile-section:last-child { border-bottom: none; }
.profile-section h3 { font-family: var(--ff-display); font-size: 1rem; color: var(--navy); margin-bottom: var(--sp-md); padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }

.exp-item { display: flex; gap: var(--sp-md); padding: var(--sp-sm) 0; }
.exp-item__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex-shrink: 0; }
.exp-item__title { font-weight: 700; color: var(--navy); }
.exp-item__meta  { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.exp-item__desc  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-top: 4px; }

/* ── Dashboard ────────────────────────────────────────────────── */
.dash-wrap { background: var(--surface-light); min-height: calc(100vh - var(--nav-h)); padding: var(--sp-xl) 0; }
.dash-grid { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-lg); align-items: start; }
.dash-sidebar { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.dash-sidebar__profile { background: var(--navy); padding: var(--sp-lg); text-align: center; }
.dash-sidebar__photo { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; margin: 0 auto var(--sp-sm); }
.dash-sidebar__name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.dash-sidebar__email { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-top: 3px; }
.dash-nav { padding: var(--sp-sm) 0; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px var(--sp-md); font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); transition: all var(--ease); }
.dash-nav a:hover, .dash-nav a.active { background: var(--surface-light); color: var(--navy); }
.dash-nav a.active { border-left: 3px solid var(--navy); }
.dash-stat { background: #fff; border-radius: var(--r-md); padding: var(--sp-lg); box-shadow: var(--shadow-sm); text-align: center; }
.dash-stat__num { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.dash-stat__label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* ── Hero (index page) ────────────────────────────────────────── */
.t-hero {
  background: var(--navy);
  padding: var(--sp-xl) 0;
  position: relative; overflow: hidden;
}
.t-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(17,85,204,0.3) 0%, transparent 70%);
}
.t-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl); align-items: center; }
.t-hero h1 { font-family: var(--ff-display); font-size: clamp(2rem,4vw,3.2rem); color: #fff; line-height: 1.2; margin-bottom: var(--sp-md); }
.t-hero p  { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--sp-lg); }
.t-hero__actions { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.t-hero__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-sm); margin-top: var(--sp-lg); }
.t-hero__stat-num { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 900; color: var(--gold); }
.t-hero__stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* ── Section label / heading ──────────────────────────────────── */
.t-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 6px; display: block; }
.t-h2 { font-family: var(--ff-display); font-size: clamp(1.5rem,3vw,2.2rem); color: var(--navy); line-height: 1.25; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .pb-layout      { grid-template-columns: 1fr; }
  .pb-preview     { display: none; }
  .dash-grid      { grid-template-columns: 1fr; }
  .t-hero__inner  { grid-template-columns: 1fr; }
  .t-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .t-grid-4       { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .t-grid-2, .t-grid-3 { grid-template-columns: 1fr; }
  .t-footer__grid      { grid-template-columns: 1fr; }
  .pb-steps .pb-step__label { display: none; }
  .t-nav__links     { display: none; }
  .t-nav__auth      { display: none; }
  .t-nav__hamburger { display: flex; margin-left: auto; }
  .t-row-2, .t-row-3 { grid-template-columns: 1fr; }
  .avail-options  { grid-template-columns: 1fr; }
  .portfolio-item { grid-template-columns: 1fr; }
}
