/*
 * Mahara NEO — 2026 visual system
 * Thmanyah Sans is self-hosted from static/fonts/thmanyah.
 * Commercial web usage: https://font.thmanyah.com/licenses
 */
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyah/thmanyah-sans-light.af4a6ea70ae8.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

/* مسار التوظيف عنصر قرار أساسي في التنقل، لا رابط ثانوي مخفي. */
.nav-menu .nav-hiring-link { gap: 7px; padding: 9px 12px; color: #fff; background: #075d43; border-radius: 2px; }
.nav-menu .nav-hiring-link::after { display: none; }
.nav-menu .nav-hiring-link:hover { color: #fff; background: #064b37; }
.footer-hire-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; color: #a4d5bd; font-size: .7rem; font-weight: 700; text-decoration: none; }
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyah/thmanyah-sans-regular.47a4ce3ff9e8.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyah/thmanyah-sans-medium.0fc18262ad87.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyah/thmanyah-sans-bold.58a3141ec483.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --neo-ink: #11120d;
  --neo-ink-soft: #272a22;
  --neo-canvas: #ffffff;
  --neo-paper: #ffffff;
  --neo-paper-strong: #ffffff;
  --neo-line: #e0e6e2;
  --neo-muted: #5f6963;
  --neo-green: #08643f;
  --neo-green-dark: #06472e;
  --neo-lime: #dce8e1;
  --neo-violet: #08643f;
  --neo-violet-soft: #e6efe9;
  --neo-coral: #08643f;
  --neo-blue: #08643f;
  --neo-radius-xs: 8px;
  --neo-radius-sm: 12px;
  --neo-radius: 18px;
  --neo-radius-lg: 28px;
  --neo-radius-xl: 40px;
  --neo-shadow-sm: 0 1px 0 rgba(17, 18, 13, .05), 0 8px 24px rgba(17, 18, 13, .04);
  --neo-shadow: 0 18px 55px rgba(17, 18, 13, .10);
  --neo-shadow-dark: 0 28px 80px rgba(17, 18, 13, .24);
  --neo-ease: cubic-bezier(.22, 1, .36, 1);

  /* Compatibility tokens used by the existing templates. */
  --primary: var(--neo-green);
  --primary-dark: var(--neo-green-dark);
  --secondary: var(--neo-muted);
  --success: #138a5f;
  --warning: #b66a05;
  --danger: #cf3d45;
  --dark: var(--neo-ink);
  --light: var(--neo-paper);
  --border: var(--neo-line);
  --bg: var(--neo-canvas);
  --card: var(--neo-paper-strong);
  --muted: var(--neo-muted);
  --surface: var(--neo-paper-strong);
  --surface-alt: var(--neo-canvas);
  --white: #fff;
  --primary-50: #edf9f4;
  --primary-100: #d5f1e5;
  --primary-200: #abe3cd;
  --primary-300: #72cbae;
  --primary-400: #36ab89;
  --primary-500: #138c67;
  --primary-600: #087a55;
  --primary-700: #056346;
  --primary-800: #064f3a;
  --primary-900: #063f30;
  --secondary-50: #f1f6f3;
  --secondary-100: #e6efe9;
  --secondary-200: #c9ded1;
  --secondary-300: #9ec4ad;
  --secondary-400: #63a17e;
  --secondary-500: #2b8059;
  --secondary-600: #08643f;
  --secondary-700: #064f34;
  --secondary-800: #06472e;
  --secondary-900: #053724;
  --dark-50: #f7f6f1;
  --dark-100: #eeece4;
  --dark-200: #d9d6cc;
  --dark-300: #bbb8ad;
  --dark-400: #93958b;
  --dark-500: #6f7169;
  --dark-600: #54574f;
  --dark-700: #3d4038;
  --dark-800: #272a22;
  --dark-900: #11120d;
  --success-600: #087a55;
  --warning-600: #b66a05;
  --danger-600: #cf3d45;
  --radius-sm: var(--neo-radius-xs);
  --radius: var(--neo-radius-sm);
  --radius-md: var(--neo-radius);
  --radius-lg: var(--neo-radius);
  --radius-xl: var(--neo-radius-lg);
  --radius-full: 999px;
  --shadow-sm: var(--neo-shadow-sm);
  --shadow: var(--neo-shadow-sm);
  --shadow-md: var(--neo-shadow);
  --shadow-lg: var(--neo-shadow);
  --shadow-xl: var(--neo-shadow-dark);
  --transition: all .28s var(--neo-ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.site-shell,
body.admin-shell {
  margin: 0;
  color: var(--neo-ink);
  background: var(--neo-canvas);
  font-family: "Thmanyah Sans", "SF Arabic", "Segoe UI", Tahoma, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-synthesis: none;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.site-shell { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
::selection { color: var(--neo-ink); background: var(--neo-lime); }

.skip-link {
  position: fixed;
  inset: 12px 12px auto auto;
  z-index: 99999;
  padding: 10px 16px;
  color: var(--neo-ink);
  background: var(--neo-lime);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

body.site-shell .container,
body.admin-shell .container {
  width: min(100% - 40px, 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 0;
}
body.site-shell .main-content {
  flex: 1;
  width: min(100% - 40px, 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding: 48px 0 88px;
}
body.site-shell.home-page .main-content {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* Typography */
body.site-shell h1,
body.site-shell h2,
body.site-shell h3,
body.site-shell h4,
body.admin-shell h1,
body.admin-shell h2,
body.admin-shell h3,
body.admin-shell h4 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.18;
}
.eyebrow,
.section-badge,
.page-badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  color: var(--neo-ink);
  background: transparent;
  border: 1px solid rgba(17, 18, 13, .18);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}
.section-header { max-width: 760px; margin: 0 0 48px; text-align: right; }
.section-title { margin: 14px 0 12px; font-size: clamp(2.15rem, 4vw, 4.4rem); }
.section-description { max-width: 650px; margin: 0; font-size: clamp(1rem, 1.3vw, 1.17rem); line-height: 1.9; }

/* Buttons */
body.site-shell .btn,
body.admin-shell .btn,
.footer-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform .24s var(--neo-ease), background .24s ease, color .24s ease, border-color .24s ease;
}
body.site-shell .btn:hover,
body.admin-shell .btn:hover,
.footer-cta:hover { transform: translateY(-2px); }
body.site-shell .btn-primary,
body.site-shell .btn-blue,
body.admin-shell .btn-primary,
body.admin-shell .btn-blue {
  color: #fff;
  background: var(--neo-ink);
  border-color: var(--neo-ink);
}
body.site-shell .btn-primary:hover,
body.site-shell .btn-blue:hover,
body.admin-shell .btn-primary:hover,
body.admin-shell .btn-blue:hover { color: var(--neo-ink); background: var(--neo-lime); border-color: var(--neo-lime); }
body.site-shell .btn-secondary,
body.site-shell .btn-outline,
body.site-shell .btn-gray,
body.admin-shell .btn-secondary,
body.admin-shell .btn-outline,
body.admin-shell .btn-gray {
  color: var(--neo-ink);
  background: rgba(255, 255, 255, .54);
  border-color: rgba(17, 18, 13, .16);
}
body.site-shell .btn-secondary:hover,
body.site-shell .btn-outline:hover,
body.site-shell .btn-gray:hover,
body.admin-shell .btn-secondary:hover,
body.admin-shell .btn-outline:hover,
body.admin-shell .btn-gray:hover { color: var(--neo-ink); background: #fff; border-color: var(--neo-ink); }
body.site-shell .btn-success,
body.site-shell .btn-green,
body.admin-shell .btn-success,
body.admin-shell .btn-green { color: #fff; background: var(--neo-green); border-color: var(--neo-green); }
body.site-shell .btn-danger,
body.site-shell .btn-rose,
body.admin-shell .btn-danger,
body.admin-shell .btn-rose { color: #fff; background: #bc3440; border-color: #bc3440; }
body.site-shell .btn-warning { color: var(--neo-ink); background: #ffd96a; border-color: #ffd96a; }

/* Main header */
body.site-shell .main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  color: var(--neo-ink);
  background: rgba(243, 240, 232, .86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(140%);
  transition: padding .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.site-shell .main-header.is-scrolled {
  padding-block: 8px;
  background: rgba(251, 250, 246, .94);
  border-color: rgba(17, 18, 13, .12);
  box-shadow: 0 10px 30px rgba(17, 18, 13, .05);
}
body.site-shell .header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(100% - 40px, 1360px);
  max-width: 1360px;
  margin-inline: auto;
  padding: 0;
}
body.site-shell .brand-link { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: var(--neo-lime);
  background: var(--neo-ink);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.brand-symbol svg { width: 34px; height: 34px; }
.brand-symbol i { font-size: 1.05rem; transform: rotate(-18deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-copy strong { color: var(--neo-ink); font-size: 1.08rem; letter-spacing: -.025em; }
.brand-copy small { margin-top: 5px; color: var(--neo-muted); font-size: .68rem; font-weight: 500; }
body.site-shell .nav-menu { display: flex; align-items: center; justify-content: center; gap: 6px; }
body.site-shell .nav-link {
  position: relative;
  padding: 10px 13px;
  color: #42443d;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
body.site-shell .nav-link:hover,
body.site-shell .nav-link.active { color: var(--neo-ink); background: rgba(255, 255, 255, .62); }
body.site-shell .nav-link.active::after { display: none; }
body.site-shell .header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.header-login { padding: 10px 12px; color: var(--neo-ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
body.site-shell .header-cta { min-height: 44px; padding-inline: 16px; border-radius: 12px; }
.header-icon-btn {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--neo-ink);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(17, 18, 13, .13);
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.header-icon-btn:hover { background: #fff; border-color: var(--neo-ink); transform: translateY(-1px); }

/* Popovers */
.notif-wrapper, .user-menu-wrapper { position: relative; }
.surface-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 1200;
  width: 330px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  color: var(--neo-ink);
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(17, 18, 13, .14);
  border-radius: 18px;
  box-shadow: var(--neo-shadow);
  transform: translateY(8px) scale(.98);
  transform-origin: top left;
  transition: .2s var(--neo-ease);
}
.notif-wrapper.active .notif-dropdown,
.user-menu-wrapper.active .user-dropdown { visibility: visible; opacity: 1; transform: none; }
body.site-shell .notif-btn { position: relative; width: 43px; height: 43px; padding: 0; border: 1px solid rgba(17, 18, 13, .13); border-radius: 12px; }
body.site-shell .notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  place-items: center;
  color: #fff;
  background: var(--neo-coral);
  border: 2px solid var(--neo-canvas);
  border-radius: 99px;
  font-size: .62rem;
}
body.site-shell .notif-header,
body.site-shell .notif-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-color: var(--neo-line); }
body.site-shell .notif-header a,
body.site-shell .notif-header .link-button,
body.site-shell .notif-footer a { color: var(--neo-green); font-size: .76rem; font-weight: 700; text-decoration: none; }
body.site-shell .notif-header .link-button { padding: 0; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
body.site-shell .notif-body { max-height: 330px; overflow-y: auto; }
body.site-shell .notif-item { display: flex; gap: 10px; padding: 13px 16px; color: var(--neo-ink); border-color: #eceae3; text-decoration: none; }
body.site-shell .notif-item:hover,
body.site-shell .notif-item.unread { background: #f3f7ef; }
body.site-shell .notif-icon { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 8px; background: var(--neo-green); border-radius: 50%; }
body.site-shell .notif-content { display: flex; flex-direction: column; }
body.site-shell .notif-content strong { font-size: .85rem; }
body.site-shell .notif-content small { color: var(--neo-muted); }
.popover-empty { display: grid; min-height: 145px; place-content: center; gap: 8px; color: var(--neo-muted); text-align: center; }
.popover-empty i { font-size: 1.5rem; }
body.site-shell .user-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 7px 4px 12px;
  color: var(--neo-ink);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(17, 18, 13, .13);
  border-radius: 13px;
  cursor: pointer;
}
body.site-shell .user-avatar { display: grid; width: 34px; height: 34px; place-items: center; overflow: hidden; color: #fff; background: var(--neo-violet); border-radius: 10px; font-size: .8rem; }
body.site-shell .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.site-shell .user-info { display: flex; flex-direction: column; min-width: 74px; text-align: right; line-height: 1.15; }
body.site-shell .user-name { color: var(--neo-ink); font-size: .78rem; }
body.site-shell .user-role { margin-top: 3px; color: var(--neo-muted); font-size: .64rem; }
.user-chevron { color: var(--neo-muted); font-size: .65rem; }
body.site-shell .user-dropdown { width: 240px; padding: 8px; }
.dropdown-kicker { padding: 7px 10px 5px; color: var(--neo-muted); font-size: .68rem; font-weight: 700; }
body.site-shell .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 11px; color: #3d4038; border-radius: 10px; font-size: .84rem; font-weight: 600; text-decoration: none; }
body.site-shell .dropdown-item i { width: 18px; color: var(--neo-muted); text-align: center; }
body.site-shell .dropdown-item:hover { color: var(--neo-ink); background: #f1f0eb; }
body.site-shell .dropdown-item.danger { color: #b52f39; }
body.site-shell .dropdown-logout-form { margin: 0; }
body.site-shell .dropdown-logout-form button { width: 100%; border: 0; background: transparent; font: inherit; text-align: right; cursor: pointer; }
.dropdown-divider { height: 1px; margin: 7px 4px; background: var(--neo-line); }

/* Mobile navigation */
body.site-shell .mobile-menu-btn { display: none; }
body.site-shell .mobile-menu-overlay { position: fixed; inset: 0; z-index: 1500; visibility: hidden; opacity: 0; background: rgba(17, 18, 13, .54); backdrop-filter: blur(5px); transition: .25s ease; }
body.site-shell .mobile-menu-overlay.active { visibility: visible; opacity: 1; }
body.site-shell .mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1510;
  display: flex;
  width: min(88vw, 390px);
  flex-direction: column;
  padding: 20px;
  visibility: hidden;
  color: var(--neo-ink);
  background: var(--neo-paper);
  clip-path: inset(0 0 0 100%);
  transform: none;
  transition: visibility .35s var(--neo-ease), clip-path .35s var(--neo-ease);
}
body.site-shell .mobile-menu.active { visibility: visible; clip-path: inset(0); transform: none; }
body.site-shell .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--neo-line); }
body.site-shell .mobile-nav-links { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 24px 0; }
body.site-shell .mobile-nav-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 5px; color: var(--neo-ink); border-bottom: 1px solid #e8e5dd; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
body.site-shell .mobile-nav-links i { color: var(--neo-green); font-size: .85rem; }
body.site-shell .mobile-menu-actions { display: grid; gap: 8px; padding-top: 18px; }

/* Toasts */
body.site-shell .toast-container { position: fixed; top: 92px; left: 22px; z-index: 2000; display: grid; width: min(420px, calc(100vw - 44px)); gap: 10px; transform: none; pointer-events: none; }
body.site-shell .toast { display: flex; width: 100%; min-width: 0; align-items: flex-start; gap: 12px; padding: 15px; opacity: 1; color: var(--neo-ink); background: #fff; border: 1px solid rgba(17, 18, 13, .13); border-right: 4px solid var(--neo-violet); border-radius: 16px; box-shadow: var(--neo-shadow); transform: none; animation: neoToastIn .38s var(--neo-ease) both; pointer-events: auto; }
body.site-shell .toast.success { border-right-color: var(--neo-green); }
body.site-shell .toast.error { border-right-color: #c4333f; }
body.site-shell .toast.warning { border-right-color: #d88300; }
body.site-shell .toast.is-leaving { opacity: 0; transform: translateX(-18px); transition: .25s ease; }
body.site-shell .toast-icon { color: var(--neo-violet); font-size: 1.15rem; }
body.site-shell .toast-title { color: var(--neo-ink); font-size: .86rem; }
body.site-shell .toast-message { color: var(--neo-muted); font-size: .8rem; }
body.site-shell .toast-close { color: var(--neo-muted); background: transparent; border: 0; cursor: pointer; }
@keyframes neoToastIn { from { opacity: 0; transform: translateX(-20px); } }

/* Footer */
body.site-shell .main-footer {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  padding: 56px max(20px, calc((100vw - 1280px) / 2)) 24px;
  color: #fff;
  background: var(--neo-ink);
}
.footer-orbit { position: absolute; top: -260px; left: -80px; width: 600px; height: 600px; border: 1px solid rgba(217, 255, 102, .16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(217, 255, 102, .025), 0 0 0 140px rgba(217, 255, 102, .018); }
.footer-shell { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; padding-bottom: 40px; }
.footer-lead { max-width: 650px; }
body.site-shell .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
body.site-shell .footer-brand .brand-symbol { color: var(--neo-ink); background: var(--neo-lime); }
body.site-shell .footer-brand > span:last-child { display: flex; flex-direction: column; }
body.site-shell .footer-brand strong { color: #fff; font-size: 1.15rem; }
body.site-shell .footer-brand small { color: rgba(255, 255, 255, .7); font-size: .72rem; }
body.site-shell .footer-lead h2 { margin: 24px 0 20px; color: #fff; font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.25; }
.footer-cta { color: var(--neo-ink); background: var(--neo-lime); }
.footer-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; align-content: start; padding-top: 6px; }
body.site-shell .footer-col { display: flex; flex-direction: column; gap: 12px; }
body.site-shell .footer-col h3 { margin: 0 0 8px; color: #fff; font-size: .83rem; letter-spacing: 0; }
body.site-shell .footer-col a { color: rgba(255, 255, 255, .58); font-size: .88rem; text-decoration: none; transition: color .2s ease; }
body.site-shell .footer-col a:hover { color: var(--neo-lime); }
body.site-shell .footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; max-width: none; margin: 0; padding: 22px 0 0; color: rgba(255, 255, 255, .68); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .76rem; text-align: right; }
.footer-location { display: inline-flex; align-items: center; gap: 7px; }

/* Content stays visible even if animation scripts are delayed or unavailable. */
[data-reveal], .scroll-reveal { opacity: 1; transform: none; transition: opacity .45s var(--neo-ease), transform .45s var(--neo-ease); }
[data-reveal].is-visible, .scroll-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .scroll-reveal { opacity: 1; transform: none; }
}

/* Home — editorial marketplace */
.security-alert-wrapper { color: #fff; background: var(--neo-ink); border: 0; }
.security-container { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 11px; width: min(100% - 40px, 1280px); margin-inline: auto; padding: 8px 0; }
.security-icon-box { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; color: var(--neo-ink); background: var(--neo-lime); border: 0; border-radius: 8px; font-size: .72rem; box-shadow: none; animation: none; }
.security-content { display: flex; align-items: center; gap: 10px; }
.security-title { display: inline-flex; margin: 0; color: #fff; font-size: .78rem; font-weight: 700; }
.security-badge { padding: 4px 7px; color: var(--neo-ink); background: var(--neo-lime); border-radius: 6px; font-size: .6rem; }
.security-desc { margin: 0; color: rgba(255, 255, 255, .62); font-size: .75rem; }
.security-close-btn { position: absolute; left: max(20px, calc((100vw - 1280px) / 2)); width: 28px; height: 28px; color: rgba(255, 255, 255, .52); background: transparent; border: 0; border-radius: 8px; cursor: pointer; }

.neo-hero { position: relative; overflow: hidden; padding: 74px 0 92px; background: var(--neo-canvas); }
.neo-hero::before { content: ""; position: absolute; top: 50px; left: -120px; width: 380px; height: 380px; background: var(--neo-violet); border-radius: 50%; opacity: .1; filter: blur(2px); }
.neo-hero::after { content: ""; position: absolute; right: -80px; bottom: -220px; width: 520px; height: 520px; border: 1px solid rgba(17, 18, 13, .12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(17, 18, 13, .025), 0 0 0 140px rgba(17, 18, 13, .018); }
.neo-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); gap: 70px; align-items: center; }
.neo-hero-grid > * { min-width: 0; }
.neo-hero-copy { width: 100%; min-width: 0; max-width: 100%; padding-top: 10px; }
.neo-hero .eyebrow-dot { width: 8px; height: 8px; background: var(--neo-green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(8, 122, 85, .12); }
.neo-hero h1 { width: 100%; max-width: 760px; margin: 26px 0 24px; overflow-wrap: normal; font-size: clamp(3.55rem, 6.2vw, 7.1rem); line-height: .99; }
.neo-hero h1 .hero-highlight { position: relative; display: inline-block; color: var(--neo-green); }
.neo-hero h1 .hero-highlight::after { content: ""; position: absolute; right: 0; bottom: .02em; z-index: -1; width: 100%; height: .15em; background: var(--neo-lime); border-radius: 99px; transform: rotate(-1deg); }
.neo-hero-lead { max-width: 650px; margin: 0; color: #595c54; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.9; }
.neo-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.neo-hero-actions .btn { min-height: 56px !important; padding-inline: 22px !important; }
.neo-trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(17, 18, 13, .14); }
.neo-trust-item { display: flex; align-items: center; gap: 9px; color: #4e5148; font-size: .78rem; font-weight: 600; }
.neo-trust-item i { display: grid; width: 26px; height: 26px; place-items: center; color: var(--neo-green); background: #e3ede5; border-radius: 8px; }

.product-stage { position: relative; min-width: 0; min-height: 590px; perspective: 1200px; }
.product-window { position: relative; z-index: 2; overflow: hidden; color: #fff; background: var(--neo-ink); border: 1px solid rgba(255, 255, 255, .1); border-radius: 30px; box-shadow: var(--neo-shadow-dark); transform: rotate(-1.3deg); }
.product-window-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; background: rgba(255, 255, 255, .25); border-radius: 50%; }
.window-dots i:first-child { background: var(--neo-lime); }
.window-label { color: rgba(255, 255, 255, .5); font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.project-preview { padding: 24px; }
.project-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.project-preview-head small { display: block; margin-bottom: 7px; color: rgba(255, 255, 255, .46); font-size: .68rem; }
.project-preview-head h3 { margin: 0; color: #fff; font-size: 1.45rem; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: var(--neo-ink); background: var(--neo-lime); border-radius: 99px; font-size: .67rem; font-weight: 800; }
.live-pill::before { content: ""; width: 6px; height: 6px; background: var(--neo-green); border-radius: 50%; }
.project-progress { margin-top: 30px; }
.project-progress-bar { height: 7px; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: 99px; }
.project-progress-bar span { display: block; width: 64%; height: 100%; background: linear-gradient(90deg, var(--neo-violet), var(--neo-lime)); border-radius: inherit; }
.project-progress-meta { display: flex; justify-content: space-between; margin-top: 9px; color: rgba(255, 255, 255, .48); font-size: .66rem; }
.project-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.project-panel { min-height: 143px; padding: 16px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; }
.project-panel-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; color: rgba(255, 255, 255, .52); font-size: .67rem; }
.expert-line { display: flex; align-items: center; gap: 10px; }
.expert-avatar { display: grid; width: 38px; height: 38px; place-items: center; color: var(--neo-ink); background: var(--neo-lime); border-radius: 12px; font-weight: 800; }
.expert-line strong { display: block; color: #fff; font-size: .8rem; }
.expert-line small { color: rgba(255, 255, 255, .68); font-size: .63rem; }
.price-value { margin-top: 4px; color: #fff; font-size: 1.8rem; font-weight: 700; letter-spacing: -.04em; }
.price-value small { color: rgba(255, 255, 255, .5); font-size: .68rem; font-weight: 400; }
.project-timeline { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 14px 4px 2px; }
.timeline-node { display: flex; flex: 1; align-items: center; }
.timeline-node::after { content: ""; flex: 1; height: 1px; margin-inline: 8px; background: rgba(255, 255, 255, .13); }
.timeline-node:last-child { flex: 0 0 auto; }
.timeline-node:last-child::after { display: none; }
.timeline-node span { display: grid; width: 28px; height: 28px; place-items: center; color: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; font-size: .62rem; }
.timeline-node.done span { color: var(--neo-ink); background: var(--neo-lime); border-color: var(--neo-lime); }
.floating-proof { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--neo-ink); background: #fff; border: 1px solid rgba(17, 18, 13, .12); border-radius: 16px; box-shadow: var(--neo-shadow); }
.floating-proof i { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--neo-green); border-radius: 11px; }
.floating-proof strong { display: block; font-size: .76rem; }
.floating-proof small { display: block; color: var(--neo-muted); font-size: .62rem; }
.proof-one { right: -26px; bottom: 55px; }
.proof-two { top: 74px; left: -34px; }
.proof-two i { color: var(--neo-ink); background: var(--neo-lime); }
.product-stamp { position: absolute; right: 28px; bottom: -26px; z-index: 1; width: 150px; height: 150px; background: var(--neo-violet); border-radius: 50%; opacity: .9; }

.service-ribbon { overflow: hidden; color: #fff; background: var(--neo-green); border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(17, 18, 13, .16); }
.service-ribbon-track { display: flex; width: max-content; align-items: center; gap: 22px; padding: 15px 0; animation: ribbonMove 28s linear infinite; }
.service-ribbon span { display: inline-flex; align-items: center; gap: 22px; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.service-ribbon span::after { content: "✦"; color: var(--neo-lime); }
@keyframes ribbonMove { to { transform: translateX(25%); } }

.neo-section { padding: 112px 0; }
.neo-section-dark { color: #fff; background: var(--neo-ink); }
.neo-section-dark .section-badge { color: #fff; border-color: rgba(255, 255, 255, .2); }
.neo-section-dark .section-title { color: #fff; }
.neo-section-dark .section-description { color: rgba(255, 255, 255, .55); }
.section-intro-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-intro-split .section-header { margin: 0; }
.section-side-note { max-width: 440px; justify-self: end; color: rgba(255, 255, 255, .55); font-size: .94rem; line-height: 1.9; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); }
.process-card { position: relative; min-height: 330px; padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.process-card:last-child { border-left: 0; }
.process-index { display: flex; align-items: center; justify-content: space-between; color: var(--neo-lime); font-size: .72rem; font-weight: 700; }
.process-index i { color: rgba(255, 255, 255, .28); font-size: 1.1rem; }
.process-card h3 { margin: 100px 0 14px; color: #fff; font-size: 1.35rem; }
.process-card p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .85rem; line-height: 1.85; }
.process-card::after { content: ""; position: absolute; right: 24px; bottom: 0; width: 0; height: 4px; background: var(--neo-lime); transition: width .35s var(--neo-ease); }
.process-card:hover { background: rgba(255, 255, 255, .035); }
.process-card:hover::after { width: calc(100% - 48px); }

.value-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.value-story { position: relative; overflow: hidden; min-height: 540px; padding: 52px; color: #fff; background: var(--neo-violet); border-radius: var(--neo-radius-xl); }
.value-story::after { content: ""; position: absolute; left: -100px; bottom: -170px; width: 430px; height: 430px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255, 255, 255, .05), 0 0 0 110px rgba(255, 255, 255, .03); }
.value-story .section-badge { color: #fff; border-color: rgba(255, 255, 255, .26); }
.value-story h2 { max-width: 720px; margin: 25px 0 20px; color: #fff; font-size: clamp(2.6rem, 4.6vw, 5.6rem); }
.value-story > p { max-width: 620px; color: rgba(255, 255, 255, .7); font-size: 1.02rem; }
.value-points { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 70px; }
.value-point { padding: 18px; background: rgba(17, 18, 13, .18); border: 1px solid rgba(255, 255, 255, .12); border-radius: 17px; backdrop-filter: blur(12px); }
.value-point i { margin-bottom: 28px; color: var(--neo-lime); }
.value-point strong { display: block; color: #fff; font-size: .84rem; }
.value-point small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: .68rem; line-height: 1.6; }
.value-stack { display: grid; gap: 20px; }
.value-mini { display: flex; min-height: 260px; flex-direction: column; justify-content: space-between; padding: 32px; background: var(--neo-paper-strong); border: 1px solid rgba(17, 18, 13, .1); border-radius: var(--neo-radius-lg); }
.value-mini.is-green { color: #fff; background: var(--neo-green); }
.value-mini-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--neo-ink); background: var(--neo-lime); border-radius: 15px; }
.value-mini h3 { margin: 30px 0 8px; font-size: 1.5rem; }
.value-mini.is-green h3 { color: #fff; }
.value-mini p { margin: 0; font-size: .84rem; }
.value-mini.is-green p { color: rgba(255, 255, 255, .66); }

.talent-section { background: #e8e5dc; }
.talent-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.talent-head .section-header { margin: 0; }
.talent-head .btn { flex: 0 0 auto; }
body.site-shell .mini-tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: none; margin: 0; }
body.site-shell .mini-tech-card { position: relative; overflow: hidden; min-height: 300px; padding: 24px; background: var(--neo-paper-strong); border: 1px solid rgba(17, 18, 13, .1); border-radius: 24px; box-shadow: none; transition: transform .3s var(--neo-ease), background .3s ease, color .3s ease; }
body.site-shell .mini-tech-card::before { content: attr(data-index); position: absolute; left: 20px; top: 18px; color: #d4d1c7; font-size: .7rem; font-weight: 700; }
body.site-shell .mini-tech-card:hover { color: #fff; background: var(--neo-ink); border-color: var(--neo-ink); transform: translateY(-7px); box-shadow: none; }
body.site-shell .mini-tech-card-link { position: absolute; inset: 0; z-index: 1; }
body.site-shell .mini-tech-head { display: flex; align-items: center; gap: 14px; margin: 40px 0 24px; }
body.site-shell .mini-tech-avatar { width: 66px; height: 66px; overflow: hidden; background: #dedbd2; border: 0; border-radius: 19px; box-shadow: none; }
body.site-shell .mini-tech-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.site-shell .verified-badge { right: -5px; bottom: -5px; z-index: 2; width: 23px; height: 23px; color: var(--neo-ink); background: var(--neo-lime); border-color: #fff; }
body.site-shell .mini-tech-info { text-align: right; }
body.site-shell .mini-tech-name { color: var(--neo-ink); font-size: 1rem; font-weight: 700; }
body.site-shell .mini-tech-card:hover .mini-tech-name { color: #fff; }
body.site-shell .mini-tech-sub { color: var(--neo-muted); font-size: .74rem; }
body.site-shell .mini-tech-rating { margin-top: 5px; color: var(--neo-muted); font-size: .7rem; }
body.site-shell .mini-tech-skills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
body.site-shell .skill-tag-small { padding: 6px 9px; color: #4c4f47; background: #efede6; border: 0; border-radius: 8px; font-size: .66rem; font-weight: 600; }
body.site-shell .mini-tech-card:hover .skill-tag-small { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .09); }
.talent-card-footer { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: center; justify-content: space-between; color: var(--neo-muted); font-size: .7rem; }
.talent-card-footer i { display: grid; width: 30px; height: 30px; place-items: center; color: var(--neo-ink); background: var(--neo-lime); border-radius: 9px; transform: rotate(45deg); }

.neo-contact { color: #fff; background: var(--neo-green); }
.neo-contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.neo-contact h2 { margin: 18px 0; color: #fff; font-size: clamp(2.8rem, 5vw, 6rem); }
.neo-contact p { max-width: 650px; color: rgba(255, 255, 255, .67); font-size: 1.05rem; }
.neo-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.neo-contact .btn-primary { color: var(--neo-ink) !important; background: var(--neo-lime) !important; border-color: var(--neo-lime) !important; }
.contact-console { padding: 28px; color: var(--neo-ink); background: var(--neo-paper); border-radius: 26px; box-shadow: var(--neo-shadow); transform: rotate(1deg); }
.contact-console-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--neo-line); }
.contact-console-head strong { font-size: .88rem; }
.contact-console-status { display: inline-flex; align-items: center; gap: 6px; color: var(--neo-green); font-size: .68rem; font-weight: 700; }
.contact-console-status::before { content: ""; width: 7px; height: 7px; background: var(--neo-green); border-radius: 50%; }
.contact-method-list { display: grid; gap: 8px; padding-top: 18px; }
.contact-method-row { display: flex; align-items: center; gap: 13px; padding: 13px; color: var(--neo-ink); background: #ece9e1; border-radius: 13px; text-decoration: none; }
.contact-method-row i { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--neo-ink); border-radius: 10px; }
.contact-method-row span { display: flex; flex-direction: column; }
.contact-method-row small { color: var(--neo-muted); font-size: .64rem; }
.contact-method-row strong { font-size: .78rem; }

/* Generic application surfaces — covers marketplace, agreements, finance and profiles. */
body.site-shell:not(.home-page) { background: var(--neo-canvas); }
body.site-shell .page-section,
body.site-shell .employees-page,
body.site-shell .project-workspace,
body.site-shell .agreement-detail-page { background: transparent; }
body.site-shell .page-header-section,
body.site-shell .workspace-header,
body.site-shell .profile-hero,
body.site-shell .page-hero {
  position: relative;
  overflow: hidden;
  margin: -48px calc(50% - 50vw) 46px;
  padding: 76px max(20px, calc((100vw - 1280px) / 2));
  color: #fff;
  background: var(--neo-ink);
  border: 0;
}
body.site-shell .page-header-section::after,
body.site-shell .workspace-header::after,
body.site-shell .profile-hero::after {
  content: "";
  position: absolute;
  left: -130px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  background: var(--neo-violet);
  border-radius: 50%;
  opacity: .28;
}
body.site-shell .page-header-section h1,
body.site-shell .page-header-section h2,
body.site-shell .workspace-header h1,
body.site-shell .workspace-header h2,
body.site-shell .profile-hero h1 { color: #fff; }
body.site-shell .header-decoration { display: none; }

body.site-shell .card,
body.site-shell .profile-section,
body.site-shell .form-card,
body.site-shell .content-card,
body.site-shell .info-card,
body.site-shell .summary-card,
body.site-shell .details-card,
body.site-shell .filter-card,
body.site-shell .table-card,
body.site-shell .settings-card,
body.site-shell .invoice-card,
body.site-shell .agreement-card,
body.site-shell .request-card,
body.site-shell .offer-card,
body.site-shell .notification-card {
  color: var(--neo-ink);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(17, 18, 13, .1);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-sm);
  backdrop-filter: blur(10px);
}
body.site-shell .card:hover,
body.site-shell .request-card:hover,
body.site-shell .offer-card:hover { border-color: rgba(17, 18, 13, .24); box-shadow: var(--neo-shadow-sm); }
body.site-shell .profile-section,
body.site-shell .form-card,
body.site-shell .content-card { padding: clamp(20px, 3vw, 34px); }
body.site-shell .section-head,
body.site-shell .card-header { border-color: var(--neo-line); }

body.site-shell .input,
body.site-shell .form-control,
body.site-shell .form-select,
body.site-shell input[type="text"],
body.site-shell input[type="email"],
body.site-shell input[type="password"],
body.site-shell input[type="number"],
body.site-shell input[type="tel"],
body.site-shell input[type="url"],
body.site-shell input[type="search"],
body.site-shell input[type="date"],
body.site-shell select,
body.site-shell textarea,
body.admin-shell .input,
body.admin-shell input,
body.admin-shell select,
body.admin-shell textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  color: var(--neo-ink);
  background: rgba(255, 255, 255, .82);
  border: 1px solid #cbc8be;
  border-radius: 12px;
  outline: none;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.site-shell textarea,
body.admin-shell textarea { min-height: 130px; resize: vertical; }
body.site-shell .input:focus,
body.site-shell .form-control:focus,
body.site-shell input:focus,
body.site-shell select:focus,
body.site-shell textarea:focus,
body.admin-shell input:focus,
body.admin-shell select:focus,
body.admin-shell textarea:focus { background: #fff; border-color: var(--neo-green); box-shadow: 0 0 0 4px rgba(8, 122, 85, .11); }
body.site-shell .form-label,
body.site-shell label,
body.admin-shell label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 700; }
body.site-shell .help-text,
body.site-shell .form-text { color: var(--neo-muted); font-size: .72rem; }

body.site-shell .table-responsive { overflow-x: auto; border: 1px solid rgba(17, 18, 13, .1); border-radius: 16px; }
body.site-shell table,
body.admin-shell table { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--neo-ink); background: rgba(255, 255, 255, .72); }
body.site-shell table thead th,
body.admin-shell table thead th { padding: 14px 13px; color: var(--neo-muted); background: #e9e6de; border: 0; border-bottom: 1px solid var(--neo-line); font-size: .72rem; font-weight: 700; text-align: right; white-space: nowrap; }
body.site-shell table td,
body.admin-shell table td { padding: 14px 13px; border: 0; border-bottom: 1px solid #e6e3db; font-size: .82rem; vertical-align: middle; }
body.site-shell table tbody tr:last-child td,
body.admin-shell table tbody tr:last-child td { border-bottom: 0; }
body.site-shell table tbody tr:hover,
body.admin-shell table tbody tr:hover { background: #f4f7f2; }

body.site-shell .badge,
body.site-shell .status-badge,
body.site-shell .status-chip,
body.site-shell .tag,
body.admin-shell .badge,
body.admin-shell .status-badge,
body.admin-shell .stat-chip { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 6px 9px; color: #44473f; background: #ebe9e2; border: 1px solid transparent; border-radius: 8px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
body.site-shell .status-badge.completed,
body.site-shell .badge-success,
body.site-shell .status-success { color: #05543b; background: #d8f1e6; }
body.site-shell .status-badge.in_progress,
body.site-shell .status-badge.offer_selected,
body.site-shell .badge-primary { color: #4436b8; background: #e8e4ff; }
body.site-shell .status-badge.cancelled,
body.site-shell .status-badge.disputed,
body.site-shell .badge-danger { color: #a32631; background: #ffe1e3; }
body.site-shell .alert { padding: 15px 17px !important; border: 1px solid rgba(17, 18, 13, .11) !important; border-radius: 14px !important; box-shadow: none !important; }

/* Auth */
body.site-shell .auth-section { min-height: calc(100vh - 80px); margin: -48px calc(50% - 50vw) -88px; padding: 54px max(20px, calc((100vw - 1180px) / 2)) 80px; background: var(--neo-canvas); }
body.site-shell .auth-grid { grid-template-columns: minmax(340px, .88fr) minmax(400px, 1.12fr); max-width: 1180px; gap: 24px; }
body.site-shell .auth-card { padding: clamp(28px, 4vw, 52px); background: #fff; border: 1px solid rgba(17, 18, 13, .1); border-radius: 28px; box-shadow: none; }
body.site-shell .auth-visual { position: relative; align-self: stretch; padding: clamp(32px, 5vw, 64px); overflow: hidden; color: #fff; background: var(--neo-ink); border-radius: 28px; text-align: right; }
body.site-shell .auth-visual::after { content: ""; position: absolute; left: -130px; bottom: -160px; width: 420px; height: 420px; background: var(--neo-violet); border-radius: 50%; opacity: .75; }
body.site-shell .auth-visual h1,
body.site-shell .auth-visual h2,
body.site-shell .auth-visual h3 { color: #fff; }
body.site-shell .auth-visual p { color: rgba(255, 255, 255, .6); }
body.site-shell .auth-icon { width: 64px; height: 64px; color: var(--neo-ink); background: var(--neo-lime); border-radius: 18px; box-shadow: none; }
body.site-shell .auth-title { color: var(--neo-ink); font-size: 2rem; }
body.site-shell .auth-submit { min-height: 52px; color: #fff; background: var(--neo-ink); border-radius: 13px; }

/* Marketplace/project workspaces */
body.site-shell .project-workspace { margin: -48px calc(50% - 50vw) -88px; }
body.site-shell .project-workspace > .workspace-header { margin: 0 0 42px; }
body.site-shell .project-workspace > .container { padding-bottom: 88px; }
body.site-shell .main-layout { gap: 20px; }
body.site-shell .workspace-header .header-content { position: relative; z-index: 1; }
body.site-shell .project-title { font-size: clamp(2rem, 4vw, 4.4rem); }
body.site-shell .id-badge { color: var(--neo-ink); background: var(--neo-lime); border-radius: 9px; }
body.site-shell .project-meta { color: rgba(255, 255, 255, .6); }
body.site-shell .stepper-card { padding: 22px; }
body.site-shell .stepper .step-icon { border-color: var(--neo-line); box-shadow: none; }
body.site-shell .stepper .step.active .step-icon,
body.site-shell .stepper .step.completed .step-icon { color: var(--neo-ink); background: var(--neo-lime); border-color: var(--neo-lime); }
body.site-shell .request-card { overflow: hidden; }
body.site-shell .filter-form { padding: 0; background: transparent; }

/* Public talent directory */
body.site-shell .employees-page { margin: -48px calc(50% - 50vw) -88px; padding-bottom: 88px; }
body.site-shell .employees-page .page-header-section { margin: 0 0 42px; }
body.site-shell .employee-card,
body.site-shell .profile-card { background: #fff; border: 1px solid rgba(17, 18, 13, .1); border-radius: 22px; box-shadow: none; }
body.site-shell .employee-card:hover,
body.site-shell .profile-card:hover { border-color: var(--neo-ink); transform: translateY(-4px); box-shadow: none; }

/* Static pages */
body.site-shell .about-page,
body.site-shell .services-page,
body.site-shell .contact-page,
body.site-shell .privacy-page,
body.site-shell .terms-page { color: var(--neo-ink); }
body.site-shell .contact-grid { gap: 20px; }
body.site-shell .contact-info,
body.site-shell .contact-sidebar { border-radius: 24px; box-shadow: none; }

/* Admin shell */
body.admin-shell { min-height: 100vh; background: #e9e6de; }
body.admin-shell .layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
body.admin-shell .sidebar { position: sticky; top: 0; height: 100vh; padding: 18px 12px; overflow-y: auto; color: #fff; background: var(--neo-ink); border: 0; box-shadow: none; }
body.admin-shell .admin-brand { display: flex; align-items: center; gap: 10px; padding: 7px 8px 22px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .09); }
body.admin-shell .admin-brand .brand-symbol { width: 42px; height: 42px; flex-basis: 42px; color: var(--neo-ink); background: var(--neo-lime); }
body.admin-shell .admin-brand strong { display: block; color: #fff; font-size: .9rem; }
body.admin-shell .admin-brand small { display: block; margin-top: 3px; color: rgba(255, 255, 255, .68); font-size: .62rem; }
body.admin-shell .sidebar-title,
body.admin-shell .sidebar-subtitle { display: none; }
body.admin-shell .admin-sidebar { position: static; height: auto; gap: 16px; padding: 20px 0 0; overflow: visible; color: rgba(255, 255, 255, .62); background: transparent; }
body.admin-shell .sidebar-quick-actions { grid-template-columns: repeat(2, 1fr); gap: 7px; }
body.admin-shell .sidebar-quick-link { justify-content: center; padding: 10px 8px; color: rgba(255, 255, 255, .66); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 11px; font-size: .7rem; }
body.admin-shell .sidebar-quick-link:hover { color: var(--neo-ink); background: var(--neo-lime); border-color: var(--neo-lime); box-shadow: none; transform: none; }
body.admin-shell .sidebar-section { gap: 3px; }
body.admin-shell .sidebar-section-title { margin: 13px 10px 5px; color: rgba(255, 255, 255, .68); font-size: .61rem; letter-spacing: .02em; }
body.admin-shell .sidebar-link { gap: 10px; padding: 10px 11px; color: rgba(255, 255, 255, .58); border: 0; border-radius: 10px; font-size: .76rem; font-weight: 600; }
body.admin-shell .sidebar-link:hover { color: #fff; background: rgba(255, 255, 255, .07); border: 0; transform: none; }
body.admin-shell .sidebar-link.active { color: var(--neo-ink); background: var(--neo-lime); border: 0; box-shadow: none; }
body.admin-shell .sidebar-link.active::before { display: none; }
body.admin-shell .sidebar-icon { display: grid; width: 26px; height: 26px; place-items: center; font-size: .85rem; filter: grayscale(1); }
body.admin-shell .sidebar-link.active .sidebar-icon { filter: none; }
body.admin-shell .sidebar-footer { margin-top: 16px; padding: 16px 10px; color: rgba(255, 255, 255, .68); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
body.admin-shell .admin-main { min-width: 0; }
body.admin-shell .topbar { position: sticky; top: 0; z-index: 20; padding: 12px 0; background: rgba(233, 230, 222, .86); border: 0; backdrop-filter: blur(16px); }
body.admin-shell .topbar-container { margin: 0; padding: 9px 12px; background: rgba(255, 255, 255, .68); border: 1px solid rgba(17, 18, 13, .1); border-radius: 14px; box-shadow: none; }
body.admin-shell .topbar-user { color: var(--neo-ink); font-size: .84rem; }
body.admin-shell .topbar-icon,
body.admin-shell .topbar-icon.user { color: var(--neo-green); }
body.admin-shell .topbar-update { color: var(--neo-muted); font-size: .68rem; }
body.admin-shell .topbar-btn { min-height: 38px; padding: 7px 10px; color: var(--neo-ink); background: #fff; border: 1px solid rgba(17, 18, 13, .11); border-radius: 9px; font-size: .72rem; }
body.admin-shell .topbar-search-form { padding: 3px; background: #fff; border: 1px solid rgba(17, 18, 13, .11); border-radius: 10px; }
body.admin-shell .topbar-search-input { min-height: 34px; padding: 5px 9px; background: transparent; border: 0; box-shadow: none; font-size: .72rem; }
body.admin-shell .topbar-search-btn { min-height: 34px; color: #fff; background: var(--neo-ink); border-radius: 8px; }
body.admin-shell .admin-content { padding: 28px 0 70px; }
body.admin-shell .card,
body.admin-shell .stat-card { color: var(--neo-ink); background: rgba(255, 255, 255, .78); border: 1px solid rgba(17, 18, 13, .1); border-radius: 17px; box-shadow: none; backdrop-filter: blur(8px); }
body.admin-shell .card:hover,
body.admin-shell .stat-card:hover { border-color: rgba(17, 18, 13, .22); box-shadow: none; transform: translateY(-2px); }
body.admin-shell .stat-icon { color: var(--neo-ink) !important; background: var(--neo-lime) !important; border: 0 !important; border-radius: 12px; }
body.admin-shell .stat-value,
body.admin-shell .kpi { color: var(--neo-ink); font-size: 1.8rem; }
body.admin-shell .section-title { color: var(--neo-ink); font-size: 1.3rem; }
body.admin-shell .flash { color: #174b39; background: #dff2e8; border-color: #b6dfcd; border-radius: 12px; box-shadow: none; }
body.admin-shell .sidebar-toggle { color: var(--neo-ink); background: var(--neo-lime); border: 0; }

/* Responsive */
@media (max-width: 1120px) {
  body.site-shell .header-container { grid-template-columns: auto 1fr; }
  body.site-shell .nav-menu { display: none; }
  body.site-shell .header-actions { justify-self: end; }
  body.site-shell .mobile-menu-btn { display: grid; }
  .neo-hero-grid { grid-template-columns: 1fr 460px; gap: 36px; }
  .neo-hero h1 { font-size: clamp(3.4rem, 6.5vw, 5.6rem); }
  .process-card { min-height: 300px; }
  .value-story { padding: 42px; }
}

@media (max-width: 900px) {
  .neo-hero { padding-top: 54px; }
  .neo-hero-grid { display: block; }
  .neo-hero-copy { max-width: 760px; }
  .product-stage { width: min(100%, 620px); min-height: 550px; margin: 60px auto 0; }
  .section-intro-split,
  .value-grid,
  .neo-contact-grid,
  .footer-shell { grid-template-columns: 1fr; gap: 42px; }
  .section-side-note { justify-self: start; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-left: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  body.site-shell .mini-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links-grid { max-width: 500px; }
  body.site-shell .auth-grid { grid-template-columns: 1fr; }
  body.site-shell .auth-visual { min-height: 380px; }
  body.admin-shell .layout { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 768px) {
  body.site-shell .header-container { width: min(100% - 28px, 1360px); }
  .brand-copy small { display: none; }
  body.site-shell .header-login,
  body.site-shell .header-cta,
  body.site-shell .user-info,
  body.site-shell .user-chevron { display: none; }
  body.site-shell .user-btn { width: 43px; padding: 4px; }
  .security-container { justify-content: flex-start; padding: 9px 32px 9px 0; }
  .security-title { display: none; }
  .security-desc { padding-left: 36px; line-height: 1.5; }
  .security-close-btn { left: 10px; }
  .neo-hero { padding: 46px 0 68px; }
  .neo-hero h1 { margin-top: 20px; font-size: clamp(2.85rem, 13.2vw, 4.7rem); }
  .neo-trust-row { gap: 12px; }
  .product-stage { min-height: 500px; }
  .proof-one { right: 2px; }
  .proof-two { top: 62px; left: 0; }
  .neo-section { padding: 78px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 250px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .process-card h3 { margin-top: 70px; }
  .value-story { min-height: auto; padding: 30px; border-radius: 28px; }
  .value-points { grid-template-columns: 1fr; margin-top: 44px; }
  .value-point i { margin-bottom: 14px; }
  .talent-head { align-items: flex-start; flex-direction: column; }
  body.site-shell .mini-tech-grid { grid-template-columns: 1fr; }
  .contact-console { transform: none; }
  body.site-shell .footer-lead h2 { font-size: clamp(2.5rem, 12vw, 4.5rem); }
  body.site-shell .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  body.site-shell .main-content { width: min(100% - 28px, 1280px); padding-top: 34px; }
  body.site-shell .container,
  body.admin-shell .container { width: min(100% - 28px, 1280px); }
  body.site-shell .page-header-section,
  body.site-shell .workspace-header,
  body.site-shell .profile-hero,
  body.site-shell .page-hero { padding-block: 52px; }
  body.admin-shell .layout { grid-template-columns: 1fr; }
  body.admin-shell .sidebar { position: fixed; inset: 0 0 0 auto; z-index: 100; width: min(84vw, 290px); transform: translateX(110%); transition: transform .3s var(--neo-ease); }
  body.admin-shell .sidebar.open { transform: none; }
  body.admin-shell .sidebar-backdrop.show { display: block; background: rgba(17, 18, 13, .58); backdrop-filter: blur(4px); }
  body.admin-shell .sidebar-toggle { display: inline-flex; z-index: 110; }
  body.admin-shell .topbar-container { align-items: stretch; }
  body.admin-shell .topbar-right,
  body.admin-shell .topbar-search-form { width: 100%; }
}

@media (max-width: 540px) {
  .neo-hero h1 { font-size: clamp(2.8rem, 15vw, 4rem); }
  .neo-hero-actions { display: grid; grid-template-columns: 1fr; }
  .neo-hero-actions .btn { width: 100%; }
  .neo-trust-row { display: grid; grid-template-columns: 1fr; }
  .product-stage { min-height: 470px; }
  .product-window { border-radius: 22px; }
  .project-preview { padding: 18px; }
  .project-columns { grid-template-columns: 1fr; }
  .project-panel:last-child { display: none; }
  .floating-proof { padding: 10px; }
  .proof-two { display: none; }
  .section-title { font-size: clamp(2rem, 10vw, 3.2rem); }
  .footer-links-grid { grid-template-columns: 1fr; }
  body.site-shell .main-footer { padding-top: 64px; }
  body.site-shell .auth-visual { display: none; }
  body.site-shell .auth-grid { display: block; }
  body.site-shell .auth-card { padding: 24px; }
  body.site-shell .toast-container { top: 78px; left: 14px; width: calc(100vw - 28px); }
}

/*
 * Mahara Exchange — a project-market interface.
 * Deliberately uses a strict editorial grid, square geometry and operational data
 * instead of the floating SaaS-card language used by the previous concept.
 */
:root {
  --exchange-ink: #10100f;
  --exchange-paper: #ffffff;
  --exchange-white: #ffffff;
  --exchange-green: #08643f;
  --exchange-green-dark: #06472e;
  --exchange-line: #dfe5e1;
  --exchange-faint: #f4f7f5;
}

body.exchange-home { background: var(--exchange-paper); }
body.exchange-home .main-header {
  padding-block: 10px;
  background: rgba(255, 255, 255, .97);
  border-color: var(--exchange-line);
  backdrop-filter: blur(10px);
}
body.exchange-home .main-header.is-scrolled { background: rgba(255, 254, 249, .97); box-shadow: none; }
body.exchange-home .brand-symbol,
body.exchange-home .header-icon-btn,
body.exchange-home .user-btn,
body.exchange-home .btn,
body.exchange-home .nav-link { border-radius: 2px; }
body.exchange-home .brand-symbol { background: var(--exchange-green); }
body.exchange-home .nav-link:hover,
body.exchange-home .nav-link.active { background: var(--exchange-faint); }
body.exchange-home .header-cta { color: #fff; background: var(--exchange-ink); border-color: var(--exchange-ink); }
body.exchange-home .header-cta:hover { color: #fff; background: var(--exchange-green); border-color: var(--exchange-green); }

body.exchange-home .security-alert-wrapper { background: var(--exchange-ink); border-bottom: 1px solid rgba(255, 255, 255, .2); }
body.exchange-home .security-container { position: relative; justify-content: flex-start; min-height: 43px; gap: 18px; }
body.exchange-home .security-code { flex: 0 0 auto; color: var(--exchange-green); font-size: .68rem; font-weight: 700; }
body.exchange-home .security-desc { color: rgba(255, 255, 255, .72); font-size: .76rem; }
body.exchange-home .security-close-btn {
  position: static;
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  padding: 0;
  color: rgba(255, 255, 255, .58);
  border-radius: 0;
  font-size: .68rem;
}

.market-hero { background: var(--exchange-paper); border-bottom: 1px solid var(--exchange-line); }
.market-hero-shell {
  display: grid;
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: stretch;
  padding-block: clamp(64px, 8vw, 112px);
}
.market-hero-copy { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; }
.market-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--exchange-line);
  color: #55534d;
  font-size: .7rem;
  font-weight: 600;
}
.market-kicker span:last-child { text-align: left; }
.market-hero h1 {
  margin: clamp(42px, 6vw, 76px) 0 28px;
  color: var(--exchange-ink);
  font-size: clamp(3rem, 4.3vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.market-hero h1 span { color: var(--exchange-green); }
.market-hero-lead { max-width: 590px; margin: 0; color: #54514b; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.9; }
.market-hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; border: 1px solid var(--exchange-ink); }
.exchange-action {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  color: var(--exchange-ink);
  background: transparent;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.exchange-action + .exchange-action { border-right: 1px solid var(--exchange-ink); }
.exchange-action small,
.exchange-action strong { display: block; }
.exchange-action small { margin-bottom: 5px; color: #6f6b63; font-size: .64rem; }
.exchange-action strong { font-size: .87rem; }
.exchange-action i { transition: transform .25s var(--neo-ease); }
.exchange-action:hover { color: #fff; background: var(--exchange-ink); }
.exchange-action:hover small { color: rgba(255, 255, 255, .6); }
.exchange-action:hover i { transform: translateX(-5px); }
.exchange-action-primary { color: #fff; background: var(--exchange-green); }
.exchange-action-primary small { color: rgba(255, 255, 255, .72); }

.market-tech-visual {
  position: relative;
  min-height: 610px;
  align-self: stretch;
  overflow: hidden;
  color: #fff;
  background: var(--exchange-ink);
  border: 1px solid var(--exchange-ink);
  border-bottom: 9px solid var(--exchange-green);
}
.market-tech-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 12, 9, .82) 100%);
  content: "";
  pointer-events: none;
}
.market-tech-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.market-tech-caption { position: absolute; right: 24px; bottom: 24px; z-index: 1; }
.market-tech-caption span,
.market-tech-caption strong { display: block; }
.market-tech-caption span { margin-bottom: 5px; color: #78c49a; font-size: .58rem; font-weight: 700; }
.market-tech-caption strong { color: #fff; font-size: .77rem; }
.market-tech-visual > a { position: absolute; bottom: 24px; left: 24px; z-index: 1; display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: .65rem; font-weight: 700; text-decoration: none; }

.project-exchange {
  align-self: center;
  min-width: 0;
  color: #fff;
  background: var(--exchange-ink);
  border: 1px solid var(--exchange-ink);
  box-shadow: 18px 18px 0 var(--exchange-green);
}
.exchange-head {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.exchange-head > div { display: flex; flex-direction: column; }
.exchange-label { color: var(--exchange-green); font-size: .68rem; font-weight: 700; }
.exchange-head strong { margin-top: 5px; color: #fff; font-size: 1rem; }
.exchange-state { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .64); font-size: .68rem; white-space: nowrap; }
.exchange-state i { width: 7px; height: 7px; background: var(--exchange-green); animation: marketPulse 1.8s infinite; }
@keyframes marketPulse { 50% { opacity: .3; } }
.exchange-table { width: 100%; overflow: hidden; }
.exchange-row {
  display: grid;
  grid-template-columns: 55px minmax(190px, 1.5fr) minmax(80px, .75fr) minmax(70px, .65fr) minmax(82px, .75fr);
  min-height: 92px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.exchange-row > span { min-width: 0; padding: 16px 12px; color: rgba(255, 255, 255, .72); font-size: .7rem; }
.exchange-row > span:not(:last-child) { border-left: 1px solid rgba(255, 255, 255, .11); }
.exchange-row-head { min-height: 42px; background: rgba(255, 255, 255, .05); }
.exchange-row-head > span { padding-block: 9px; color: rgba(255, 255, 255, .68); font-size: .6rem; }
.exchange-row:not(.exchange-row-head) { transition: background .2s ease; }
.exchange-row:not(.exchange-row-head):hover { background: rgba(255, 255, 255, .045); }
.exchange-row .project-code { color: var(--exchange-green); font-weight: 700; }
.exchange-row .project-name { display: flex; flex-direction: column; }
.exchange-row .project-name strong { overflow: hidden; color: #fff; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.exchange-row .project-name small { margin-top: 4px; overflow: hidden; color: rgba(255, 255, 255, .68); font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.exchange-row .project-open { color: #69d19c; }
.exchange-row .project-review { color: rgba(255, 255, 255, .68); }
.exchange-foot { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.exchange-foot span { color: rgba(255, 255, 255, .68); font-size: .61rem; }
.exchange-foot a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .68rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.exchange-foot a:hover { color: var(--exchange-green); }

.market-assurances { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--exchange-line); }
.market-assurances span { padding: 17px 13px; color: #54514b; border-left: 1px solid var(--exchange-line); font-size: .68rem; font-weight: 600; }
.market-assurances span:last-child { border-left: 0; }

.exchange-section { padding: clamp(82px, 9vw, 132px) 0; background: var(--exchange-paper); }
.exchange-section-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-number { color: var(--exchange-green); border-top: 3px solid var(--exchange-green); padding-top: 9px; font-size: .83rem; font-weight: 700; }
.section-overline { margin: 0 0 14px; color: #5b5851 !important; font-size: .68rem; font-weight: 700; }
.exchange-section-head h2 { margin: 0; font-size: clamp(2.65rem, 5vw, 5.6rem); line-height: 1.03; }
.section-summary { align-self: end; margin: 0 0 5px; color: #5a5750; font-size: .92rem; line-height: 1.9; }

.route-section { background: var(--exchange-white); }
.route-ledger { margin: 0; padding: 0; border-top: 1px solid var(--exchange-ink); list-style: none; }
.route-ledger li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 160px 34px;
  gap: 24px;
  align-items: center;
  min-height: 124px;
  border-bottom: 1px solid var(--exchange-line);
  transition: padding .3s var(--neo-ease), background .2s ease;
}
.route-ledger li:hover { padding-inline: 18px; background: var(--exchange-paper); }
.route-index { color: var(--exchange-green); font-size: .72rem; font-weight: 700; }
.route-main { display: grid; grid-template-columns: minmax(190px, .52fr) 1fr; gap: 24px; align-items: center; }
.route-main h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.route-main p { margin: 0; max-width: 520px; font-size: .82rem; line-height: 1.8; }
.route-owner { color: #656159; font-size: .69rem; }
.route-ledger li > i { color: var(--exchange-green); text-align: left; }

.entry-section { padding-block: 0; color: #fff; background: var(--exchange-ink); }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100% !important; max-width: none !important; }
.entry-panel { display: flex; min-height: 650px; flex-direction: column; padding: clamp(28px, 5vw, 76px); }
.entry-panel header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid currentColor; font-size: .68rem; font-weight: 700; }
.entry-content { margin-block: auto; padding-block: 70px; }
.entry-command { margin: 0 0 18px; color: inherit !important; font-size: .74rem; font-weight: 700; }
.entry-panel h2 { margin: 0 0 24px; color: inherit; font-size: clamp(2.8rem, 4.8vw, 5.4rem); line-height: 1.03; }
.entry-panel p:not(.entry-command) { max-width: 560px; color: inherit; opacity: .66; font-size: .93rem; line-height: 1.9; }
.entry-panel > a { display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding-top: 17px; color: inherit; border-top: 1px solid currentColor; font-weight: 700; text-decoration: none; }
.entry-panel > a i { transition: transform .25s var(--neo-ease); }
.entry-panel > a:hover i { transform: translateX(-8px); }
.entry-client { color: var(--exchange-ink); background: var(--exchange-paper); border-left: 1px solid var(--exchange-ink); }
.entry-tech { color: #fff; background: var(--exchange-green); }

.clarity-section { background: var(--exchange-paper); }
.exchange-section-head.compact { grid-template-columns: 72px 1fr; }
.clarity-ledger { border-top: 2px solid var(--exchange-ink); }
.clarity-row { display: grid; grid-template-columns: .75fr 1.5fr .55fr; min-height: 88px; align-items: center; border-bottom: 1px solid var(--exchange-line); }
.clarity-row > * { padding: 16px 18px; }
.clarity-row > *:not(:last-child) { border-left: 1px solid var(--exchange-line); }
.clarity-row strong { font-size: .88rem; }
.clarity-row span { color: #5e5a53; font-size: .82rem; }
.clarity-row em { color: var(--exchange-green); font-size: .68rem; font-style: normal; font-weight: 700; }
.clarity-head { min-height: 42px; color: #68645c; background: var(--exchange-faint); font-size: .62rem; font-weight: 700; }
.clarity-head span { color: inherit; font-size: inherit; }

body.exchange-home .talent-section { background: var(--exchange-white); }
.talent-ledger-head .section-action-wrap { align-self: end; }
.section-action-wrap p { margin: 0 0 18px; font-size: .83rem; line-height: 1.8; }
.text-action { display: inline-flex; align-items: center; gap: 11px; color: var(--exchange-green); font-size: .78rem; font-weight: 700; text-decoration: none; }
body.exchange-home .mini-tech-grid { gap: 0; border-top: 2px solid var(--exchange-ink); }
body.exchange-home .mini-tech-card {
  min-height: 340px;
  padding: 24px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--exchange-line);
  border-bottom: 1px solid var(--exchange-line);
  border-radius: 0;
}
body.exchange-home .mini-tech-card:last-child { border-left: 0; }
body.exchange-home .mini-tech-card::before { top: 20px; left: 20px; color: var(--exchange-green); }
body.exchange-home .mini-tech-card:hover { color: var(--exchange-ink); background: var(--exchange-paper); border-color: var(--exchange-line); transform: none; }
body.exchange-home .mini-tech-head { align-items: flex-start; margin-top: 50px; }
body.exchange-home .mini-tech-avatar { width: 76px; height: 92px; background: #dedbd2; border-radius: 0; filter: grayscale(1); }
body.exchange-home .verified-badge { width: 23px; height: 23px; color: #fff; background: var(--exchange-green); border: 0; border-radius: 0; }
body.exchange-home .mini-tech-name,
body.exchange-home .mini-tech-card:hover .mini-tech-name { color: var(--exchange-ink); }
body.exchange-home .mini-tech-sub,
body.exchange-home .mini-tech-rating { color: #6a665f; }
body.exchange-home .skill-tag-small,
body.exchange-home .mini-tech-card:hover .skill-tag-small { color: #4d4a44; background: transparent; border: 1px solid var(--exchange-line); border-radius: 0; }
body.exchange-home .talent-card-footer { color: #68645d; }
body.exchange-home .talent-card-footer i { color: var(--exchange-green); background: transparent; border-radius: 0; transform: none; }
.talent-empty { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-block: 1px solid var(--exchange-ink); }
.talent-empty a { color: var(--exchange-green); font-weight: 700; text-decoration: none; }

.exchange-contact { padding: clamp(70px, 8vw, 110px) 0; color: #fff; background: var(--exchange-ink); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.exchange-contact-grid { display: grid; grid-template-columns: 120px 1fr minmax(320px, .75fr); gap: clamp(24px, 4vw, 58px); align-items: start; }
.contact-index { color: var(--exchange-green); font-size: .68rem; font-weight: 700; }
.exchange-contact h2 { margin: 0 0 22px; color: #fff; font-size: clamp(3rem, 5vw, 5.8rem); line-height: 1.02; }
.exchange-contact p { max-width: 630px; margin: 0; color: rgba(255, 255, 255, .55); font-size: .92rem; line-height: 1.9; }
.contact-actions-ledger { border-top: 1px solid rgba(255, 255, 255, .35); }
.contact-actions-ledger a { display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 20px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .2); text-decoration: none; }
.contact-actions-ledger small,
.contact-actions-ledger strong { display: block; }
.contact-actions-ledger small { margin-bottom: 5px; color: rgba(255, 255, 255, .68); font-size: .62rem; }
.contact-actions-ledger strong { font-size: .85rem; }
.contact-actions-ledger i { color: var(--exchange-green); transition: transform .25s var(--neo-ease); }
.contact-actions-ledger a:hover i { transform: translateX(-7px); }

body.exchange-home .main-footer { background: #080807; }
body.exchange-home .footer-orbit { display: none; }

@media (max-width: 1100px) {
  .market-hero-shell { grid-template-columns: 1fr; }
  .market-hero-copy { display: block; }
  .project-exchange { width: calc(100% - 18px); margin-top: 18px; }
  .exchange-section-head { grid-template-columns: 58px minmax(0, 1fr); }
  .exchange-section-head .section-summary,
  .talent-ledger-head .section-action-wrap { grid-column: 2; }
  .exchange-contact-grid { grid-template-columns: 72px 1fr; }
  .contact-actions-ledger { grid-column: 2; }
}

@media (max-width: 780px) {
  body.exchange-home .security-container { padding-left: 68px; }
  body.exchange-home .security-code { display: none; }
  body.exchange-home .security-desc { padding-left: 0; }
  body.exchange-home .security-close-btn { position: absolute; left: 0; font-size: 0; }
  body.exchange-home .security-close-btn i { font-size: .8rem; }
  .market-hero-shell { padding-block: 54px 68px; }
  .market-kicker { font-size: .63rem; }
  .market-hero h1 { margin-top: 46px; font-size: clamp(3.25rem, 13vw, 5.1rem); }
  .market-hero-actions { grid-template-columns: 1fr; }
  .exchange-action + .exchange-action { border-top: 1px solid var(--exchange-ink); border-right: 0; }
  .project-exchange { overflow: hidden; box-shadow: 10px 10px 0 var(--exchange-green); }
  .exchange-row { grid-template-columns: 45px minmax(150px, 1fr) 80px 82px; }
  .exchange-row > span:nth-child(4) { display: none; }
  .exchange-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .exchange-foot span { display: none; }
  .exchange-foot { justify-content: flex-end; }
  .market-assurances { grid-template-columns: repeat(2, 1fr); }
  .market-assurances span { border-bottom: 1px solid var(--exchange-line); }
  .exchange-section-head,
  .exchange-section-head.compact { grid-template-columns: 42px 1fr; }
  .exchange-section-head .section-summary,
  .talent-ledger-head .section-action-wrap { grid-column: 2; }
  .route-ledger li { grid-template-columns: 42px 1fr 25px; gap: 15px; padding-block: 24px; }
  .route-main { display: block; }
  .route-main p { margin-top: 8px; }
  .route-owner { display: none; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-panel { min-height: 560px; padding: 34px 22px; }
  .entry-client { border-left: 0; border-bottom: 1px solid var(--exchange-ink); }
  .clarity-row { grid-template-columns: .8fr 1.2fr; }
  .clarity-row > *:last-child { display: none; }
  .clarity-row > *:nth-child(2) { border-left: 0; }
  body.exchange-home .mini-tech-grid { grid-template-columns: 1fr; }
  body.exchange-home .mini-tech-card { min-height: 300px; border-left: 0; }
  .exchange-contact-grid { grid-template-columns: 1fr; }
  .contact-index,
  .contact-actions-ledger { grid-column: 1; }
}
.account-mode-switch { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; background: #fff; border: 1px solid #dce3dd; border-radius: 14px; }
.account-mode-switch > div:first-child { display: grid; gap: 3px; }
.account-mode-switch span { color: #76827b; font-size: .58rem; font-weight: 700; }
.account-mode-switch strong { color: #1e3228; font-size: .75rem; }
.account-mode-options { display: flex; gap: 7px; }
.account-mode-options button { min-height: 38px; padding: 0 13px; cursor: pointer; color: #5d6d64; background: #f7f9f7; border: 1px solid #d8e0da; border-radius: 9px; font: 800 .63rem/1 inherit; }
.account-mode-options button.is-active { color: #fff; background: #08643f; border-color: #08643f; }
@media (max-width: 570px) {
  .account-mode-switch { align-items: stretch; flex-direction: column; }
  .account-mode-options { display: grid; grid-template-columns: 1fr 1fr; }
  .account-mode-options form, .account-mode-options button { width: 100%; }
}

@media (max-width: 500px) {
  .market-kicker span:last-child { display: none; }
  .market-hero h1 { font-size: clamp(3rem, 15.3vw, 4.25rem); }
  .market-hero-lead { font-size: .94rem; }
  .exchange-row { grid-template-columns: 40px minmax(145px, 1fr) 72px; }
  .exchange-row > span:nth-child(3) { display: none; }
  .exchange-row > span { padding-inline: 9px; }
  .market-assurances { grid-template-columns: 1fr; }
  .market-assurances span { border-left: 0; }
  .exchange-section-head,
  .exchange-section-head.compact { grid-template-columns: 1fr; }
  .exchange-section-head .section-summary,
  .talent-ledger-head .section-action-wrap { grid-column: 1; }
  .section-number { width: 42px; }
  .exchange-section-head h2 { font-size: clamp(2.6rem, 12.5vw, 3.8rem); }
  .route-ledger li { grid-template-columns: 32px 1fr 20px; }
  .route-ledger li:hover { padding-inline: 0; }
  .clarity-row { grid-template-columns: 1fr; padding-block: 13px; }
  .clarity-row > * { padding-block: 5px; }
  .clarity-row > *:first-child { border-left: 0; }
  .clarity-head { display: none; }
  .entry-panel h2 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .talent-empty { align-items: flex-start; flex-direction: column; }
}

/* Shared workspaces — same ledger language across the application. */
body.workspace-page,
body.auth-shell { background: var(--exchange-paper); }
body.workspace-page .main-header,
body.auth-shell .main-header { background: rgba(244, 241, 233, .97); border-color: var(--exchange-line); box-shadow: none; }
body.workspace-page .brand-symbol,
body.auth-shell .brand-symbol { background: var(--exchange-green); border-radius: 2px; }
body.workspace-page .btn,
body.auth-shell .btn,
body.workspace-page .nav-link,
body.auth-shell .nav-link,
body.workspace-page .header-icon-btn,
body.auth-shell .header-icon-btn { border-radius: 2px; }

body.workspace-page .main-content { padding-top: 62px; }
body.workspace-page .section-header { max-width: 900px; padding-bottom: 34px; border-bottom: 1px solid var(--exchange-ink); }
body.workspace-page .section-badge {
  padding: 0;
  color: var(--exchange-green);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .7rem;
}
body.workspace-page .section-title { margin-top: 14px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.03; }
body.workspace-page .section-description { max-width: 760px; color: #5f5b54; font-size: .92rem; }
body.workspace-page .profile-section,
body.workspace-page .glass-card,
body.workspace-page .info-card,
body.workspace-page .employee-card,
body.workspace-page .filter-card,
body.workspace-page .request-card,
body.workspace-page .content-card {
  background: var(--exchange-white);
  border: 1px solid var(--exchange-line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body.workspace-page .profile-section:hover,
body.workspace-page .info-card:hover,
body.workspace-page .employee-card:hover { border-color: var(--exchange-ink); box-shadow: none; transform: none; }
body.workspace-page .input,
body.workspace-page .form-control,
body.workspace-page .form-select,
body.workspace-page input,
body.workspace-page select,
body.workspace-page textarea {
  background: var(--exchange-white);
  border-color: rgba(16, 16, 15, .38);
  border-radius: 0;
}
body.workspace-page .input:focus,
body.workspace-page input:focus,
body.workspace-page select:focus,
body.workspace-page textarea:focus { border-color: var(--exchange-green); box-shadow: 4px 4px 0 rgba(8, 100, 63, .2); }
body.workspace-page .badge,
body.workspace-page .status-badge,
body.workspace-page .status-chip,
body.workspace-page .skill-tag,
body.workspace-page .task-chip { border-radius: 0; }
body.workspace-page .table-responsive,
body.workspace-page .table-wrapper { border-radius: 0; }
body.workspace-page table { border-collapse: collapse; border-top: 2px solid var(--exchange-ink); }
body.workspace-page table thead th { background: var(--exchange-faint); }
body.workspace-page table th,
body.workspace-page table td { border-left: 1px solid var(--exchange-line); }
body.workspace-page table th:last-child,
body.workspace-page table td:last-child { border-left: 0; }

/* New project brief */
body.brief-page .page-section > .container > .profile-section { padding: clamp(24px, 5vw, 64px); border-top: 5px solid var(--exchange-green); }
body.brief-page .page-section > .container > .profile-section > .profile-section { max-width: none !important; padding: 0; background: transparent; border: 0; }
body.brief-page .form-vertical { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; }
body.brief-page .form-vertical > .form-field:nth-child(1),
body.brief-page .form-vertical > .form-field:nth-child(2),
body.brief-page .form-vertical > .form-field:nth-last-child(-n+3),
body.brief-page .form-vertical > .form-grid-2,
body.brief-page .form-actions { grid-column: 1 / -1; }
body.brief-page .form-vertical > .form-field-wide { grid-column: 1 / -1; }
body.brief-page .form-field { padding-top: 15px; border-top: 1px solid var(--exchange-line); }
body.brief-page .form-label { color: var(--exchange-ink); font-size: .78rem; }
body.brief-page textarea { min-height: 190px; }
body.brief-page input[type="file"] { min-height: 110px; border: 1px dashed var(--exchange-ink) !important; border-radius: 0 !important; }
body.brief-page .file-input-overlay { background: var(--exchange-white); }

/* Opportunities, client projects and execution views */
body.opportunities-page .page-section > .container,
body.projects-page .page-section > .container { display: flex; flex-direction: column; }
body.opportunities-page .section-header,
body.projects-page .section-header { order: -2; max-width: none; }
body.opportunities-page .section-header + .profile-section,
body.projects-page .section-header + .profile-section { padding: 18px; }
body.opportunities-page .page-section > .container > .profile-section:first-child { order: -1; padding: 17px 20px; background: var(--exchange-ink) !important; border-color: var(--exchange-ink) !important; color: #fff; }
body.opportunities-page .page-section > .container > .profile-section:first-child * { color: inherit !important; }
body.opportunities-page .employees-grid,
body.projects-page .employees-grid { gap: 0; border-top: 2px solid var(--exchange-ink); }
body.opportunities-page .employee-card,
body.projects-page .employee-card { border-top: 0; border-right: 0; min-height: 320px; }
body.execution-page .tasks-section { padding-top: 0; }
body.execution-page .tasks-card { padding: clamp(24px, 4vw, 48px); border-top: 5px solid var(--exchange-green); }
body.execution-page .tasks-header { border-color: var(--exchange-ink); }
body.execution-page .tasks-title { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; }
body.execution-page .info-card { background: var(--exchange-white); }
body.execution-page .info-card:hover { background: var(--exchange-paper); }

/* Talent directory */
body.directory-page .main-content { width: 100%; max-width: none; padding: 0; }
body.directory-page .employees-page { margin: 0; padding-bottom: 96px; background: var(--exchange-paper); }
body.directory-page .page-header-section {
  margin: 0 0 54px;
  padding: clamp(70px, 9vw, 122px) max(20px, calc((100vw - 1280px) / 2));
  background: var(--exchange-ink);
  border-bottom: 14px solid var(--exchange-green);
}
body.directory-page .page-header-section::after { display: none; }
body.directory-page .header-content { max-width: 1280px; margin: 0 auto; text-align: right; }
body.directory-page .page-title { margin: 0; color: #fff; font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .95; }
body.directory-page .page-subtitle { max-width: 690px; margin: 24px 0 40px; color: rgba(255, 255, 255, .58); }
body.directory-page .search-container { max-width: 720px; margin: 0; padding: 0; background: transparent; border: 1px solid rgba(255, 255, 255, .5); border-radius: 0; box-shadow: none; }
body.directory-page .search-container:focus-within { border-color: var(--exchange-green); box-shadow: 5px 5px 0 var(--exchange-green); transform: none; }
body.directory-page .search-input { color: #fff; background: transparent; border: 0; }
body.directory-page .search-input::placeholder { color: rgba(255, 255, 255, .7); }
body.directory-page .search-btn { align-self: stretch; min-width: 110px; background: var(--exchange-green); border-radius: 0; }
body.directory-page .employee-card { border-radius: 0; border-color: var(--exchange-line); }
body.directory-page .employee-card:hover { border-color: var(--exchange-green); transform: none; }
body.directory-page .card-header-bg { height: 72px; background: var(--exchange-ink); }
body.directory-page .avatar-img { width: 96px; height: 112px; border: 0; border-radius: 0; box-shadow: 8px 8px 0 var(--exchange-green); filter: grayscale(1); }
body.directory-page .kyc-badge { bottom: -6px; right: -6px; color: #fff; background: var(--exchange-green); border-radius: 0; box-shadow: none; }
body.directory-page .rating-badge,
body.directory-page .skill-tag,
body.directory-page .btn { border-radius: 0; }

/* Authentication */
body.auth-shell .main-content { width: 100%; max-width: none; padding: 0; }
body.auth-shell .auth-section { min-height: calc(100vh - 71px); margin: 0; padding: clamp(38px, 6vw, 78px) max(20px, calc((100vw - 1180px) / 2)); background: var(--exchange-paper); }
body.auth-shell .auth-grid { grid-template-columns: minmax(330px, .8fr) minmax(420px, 1.2fr); max-width: 1180px; gap: 0; align-items: stretch; border: 1px solid var(--exchange-ink); }
body.auth-shell .auth-visual { display: flex; min-height: 650px; align-items: center; padding: clamp(36px, 5vw, 68px); background: var(--exchange-ink); border-radius: 0; }
body.auth-shell .auth-visual::after { display: none; }
body.auth-shell .auth-visual .auth-card { width: 100%; padding: 0; color: #fff; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.auth-shell .auth-icon { width: 46px; height: 46px; margin: 0 0 58px; color: #fff; background: var(--exchange-green); border-radius: 0; }
body.auth-shell .auth-icon svg { width: 24px; height: 24px; }
body.auth-shell .auth-visual .auth-title { margin: 0 0 22px; color: #fff; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.02; }
body.auth-shell .auth-visual .auth-description { color: rgba(255, 255, 255, .58); }
body.auth-shell .auth-features { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .28); }
body.auth-shell .auth-feature { padding: 13px 0; color: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(255, 255, 255, .16); }
body.auth-shell .feature-icon { width: 22px; height: 22px; color: var(--exchange-green); background: transparent; border: 1px solid var(--exchange-green); border-radius: 0; }
body.auth-shell .auth-form { min-height: 650px; padding: clamp(30px, 5vw, 66px); background: var(--exchange-white); border: 0; border-radius: 0; box-shadow: none; }
body.auth-shell .form-header { margin-bottom: 38px; text-align: right; }
body.auth-shell .brand-logo-small { display: none; }
body.auth-shell .form-title { margin: 0 0 8px; font-size: clamp(2rem, 3.2vw, 3.4rem); }
body.auth-shell .form-input { border: 1px solid rgba(16, 16, 15, .42); border-radius: 0; }
body.auth-shell .form-input:focus { border-color: var(--exchange-green); box-shadow: 4px 4px 0 rgba(8, 100, 63, .2); }
body.auth-shell .btn-login,
body.auth-shell .btn-register { min-height: 56px; background: var(--exchange-green); border-color: var(--exchange-green); border-radius: 0; }
body.auth-shell .btn-login:hover,
body.auth-shell .btn-register:hover { color: #fff; background: var(--exchange-green-dark); border-color: var(--exchange-green-dark); transform: none; }
body.auth-shell .auth-link { color: var(--exchange-green); }

/* Admin operations console */
body.admin-shell { background: var(--exchange-paper); }
body.admin-shell .sidebar { background: var(--exchange-ink); }
body.admin-shell .admin-brand .brand-symbol,
body.admin-shell .sidebar-link.active { color: #fff; background: var(--exchange-green); border-radius: 0; }
body.admin-shell .sidebar-link,
body.admin-shell .sidebar-quick-link,
body.admin-shell .sidebar-footer,
body.admin-shell .topbar-container,
body.admin-shell .topbar-btn,
body.admin-shell .topbar-search-form,
body.admin-shell .topbar-search-btn,
body.admin-shell .card,
body.admin-shell .stat-card,
body.admin-shell .stat-icon,
body.admin-shell .flash,
body.admin-shell input,
body.admin-shell select,
body.admin-shell textarea,
body.admin-shell .btn { border-radius: 0; box-shadow: none; }
body.admin-shell .topbar { background: rgba(244, 241, 233, .95); border-bottom: 1px solid var(--exchange-line); backdrop-filter: blur(10px); }
body.admin-shell .topbar-container { padding-inline: 0; background: transparent; border: 0; }
body.admin-shell .card,
body.admin-shell .stat-card { background: var(--exchange-white); border-color: var(--exchange-line); backdrop-filter: none; }
body.admin-shell .stat-icon { color: #fff !important; background: var(--exchange-green) !important; }

@media (max-width: 900px) {
  body.brief-page .form-vertical { display: block; }
  body.brief-page .form-vertical > * { margin-bottom: 28px; }
  body.auth-shell .auth-grid { grid-template-columns: 1fr; }
  body.auth-shell .auth-visual { min-height: auto; }
  body.auth-shell .auth-form { min-height: auto; }
}

@media (max-width: 620px) {
  body.workspace-page .main-content { padding-top: 34px; }
  body.auth-shell .auth-section { padding: 20px 14px; }
  body.auth-shell .auth-visual { display: flex; min-height: 300px; padding: 30px 24px; }
  body.auth-shell .auth-icon { margin-bottom: 30px; }
  body.auth-shell .auth-visual .auth-title { font-size: 2.5rem; }
  body.auth-shell .auth-features { display: none; }
  body.auth-shell .auth-form { padding: 30px 22px; }
  body.directory-page .page-header-section { padding-block: 62px; }
  body.directory-page .search-btn { min-width: 86px; padding-inline: 14px; }
}

/* Editorial public pages */
body.editorial-page,
body.legal-ledger { background: var(--exchange-paper); }
body.editorial-page .main-header,
body.legal-ledger .main-header { background: rgba(244, 241, 233, .97); border-color: var(--exchange-line); box-shadow: none; }
body.editorial-page .brand-symbol,
body.legal-ledger .brand-symbol { background: var(--exchange-green); border-radius: 2px; }
body.editorial-page .btn,
body.legal-ledger .btn,
body.editorial-page .nav-link,
body.legal-ledger .nav-link { border-radius: 2px; }
body.editorial-page .main-content { width: 100%; max-width: none; padding: 0; }
.editorial-hero { padding: clamp(64px, 7vw, 96px) 0; background: var(--exchange-paper); border-bottom: 1px solid var(--exchange-ink); }
.editorial-hero-grid { display: grid; grid-template-columns: 110px minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(25px, 4vw, 62px); align-items: start; }
.editorial-index { color: var(--exchange-green); font-size: .69rem; font-weight: 700; }
.editorial-overline { margin: 0 0 18px; color: #5d5952 !important; font-size: .72rem; font-weight: 700; }
.editorial-hero h1 { margin: 0; font-size: clamp(2.7rem, 4.2vw, 4.35rem); line-height: 1.08; }
.editorial-lead { align-self: end; margin: 0; color: #57534c; font-size: 1rem; line-height: 1.95; }
.editorial-lead p { margin: 0 0 15px; color: inherit; }
.editorial-lead small { display: block; padding-top: 15px; color: var(--exchange-green); border-top: 1px solid var(--exchange-line); font-size: .68rem; line-height: 1.7; }
.services-editorial-hero .editorial-hero-grid { grid-template-columns: 110px minmax(0, 1.5fr) minmax(250px, .5fr); }
.services-editorial-hero h1 { font-size: clamp(2.7rem, 4vw, 4.15rem); }
.editorial-hero-media { position: relative; height: clamp(310px, 38vw, 500px); margin-top: clamp(44px, 6vw, 76px); overflow: hidden; color: #fff; background: var(--exchange-ink); border-bottom: 8px solid var(--exchange-green); }
.editorial-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-hero-media > span { position: absolute; right: 22px; bottom: 20px; padding: 10px 13px; color: #fff; background: rgba(16, 16, 15, .86); font-size: .63rem; font-weight: 700; }
.editorial-hero-media-compact { height: clamp(230px, 25vw, 330px); }
.editorial-hero-media-compact img { object-position: center; }
.editorial-section { padding: clamp(80px, 9vw, 130px) 0; background: var(--exchange-white); }
.editorial-section-head { display: grid; grid-template-columns: 110px 1fr; gap: clamp(25px, 4vw, 62px); margin-bottom: clamp(50px, 7vw, 90px); }
.editorial-section-head > span,
.manifesto-grid > div > span,
.scope-grid > div > span { color: var(--exchange-green); font-size: .69rem; font-weight: 700; }
.manifesto-grid > div > span,
.scope-grid > div > span { color: #9fd3b9; }
.editorial-section-head h2 { max-width: 930px; margin: 0; font-size: clamp(2.25rem, 3.4vw, 3.45rem); line-height: 1.1; }
.principle-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--exchange-ink); }
.principle-ledger article { min-height: 320px; padding: 26px; border-left: 1px solid var(--exchange-line); border-bottom: 1px solid var(--exchange-line); }
.principle-ledger article:last-child { border-left: 0; }
.principle-ledger article > span { color: var(--exchange-green); font-size: .67rem; font-weight: 700; }
.principle-ledger h3 { margin: 86px 0 18px; font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
.principle-ledger p { margin: 0; font-size: .85rem; line-height: 1.9; }
.manifesto-section { padding: clamp(85px, 10vw, 145px) 0; color: #fff; background: var(--exchange-ink); }
.manifesto-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(300px, .72fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.manifesto-mark { display: grid; width: 115px; height: 115px; place-items: center; color: #fff; background: var(--exchange-green); font-size: 4rem; font-weight: 700; line-height: 1; }
.manifesto-grid h2 { margin: 20px 0 0; color: #fff; font-size: clamp(2.5rem, 3.8vw, 3.9rem); line-height: 1.06; }
.manifesto-copy { padding-top: 35px; border-top: 1px solid rgba(255, 255, 255, .3); }
.manifesto-copy p { color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.9; }
.manifesto-copy a { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: #a8ddc2; font-size: .78rem; font-weight: 700; text-decoration: none; }
.operating-section { background: var(--exchange-paper); }
.operating-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-block: 1px solid var(--exchange-ink); list-style: none; }
.operating-rules li { min-height: 250px; padding: 24px; border-left: 1px solid var(--exchange-line); }
.operating-rules li:last-child { border-left: 0; }
.operating-rules li > span { color: var(--exchange-green); font-size: .75rem; font-weight: 700; }
.operating-rules strong { display: block; margin-top: 74px; font-size: 1.2rem; }
.operating-rules p { margin: 10px 0 0; font-size: .8rem; line-height: 1.8; }
.editorial-cta { padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: var(--exchange-green); }
.editorial-cta p { margin: 0 0 20px; color: rgba(255, 255, 255, .86); font-size: .75rem; font-weight: 700; }
.editorial-cta h2 { max-width: 930px; margin: 0 0 48px; color: #fff; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.06; }
.editorial-cta a { display: inline-flex; min-width: 280px; min-height: 72px; align-items: center; justify-content: space-between; gap: 30px; padding: 16px 20px; color: #fff; background: var(--exchange-ink); border: 1px solid var(--exchange-ink); font-weight: 700; text-decoration: none; }
.editorial-cta-actions { display: flex; flex-wrap: wrap; gap: 1px; }
.editorial-cta-actions a + a { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .72); }

/* Service capabilities */
.capability-section { background: var(--exchange-white); }
.capability-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--exchange-ink); }
.capability-ledger article { display: grid; grid-template-columns: 90px 1fr; gap: 18px 28px; min-height: 270px; padding: 28px; border-left: 1px solid var(--exchange-line); border-bottom: 1px solid var(--exchange-line); }
.capability-ledger article:nth-child(2n) { border-left: 0; }
.capability-code { color: var(--exchange-green); font-size: .68rem; font-weight: 700; direction: ltr; text-align: right; }
.capability-ledger h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.35rem); }
.capability-ledger p { grid-column: 2; max-width: 550px; margin: 24px 0 0; font-size: .85rem; line-height: 1.85; }
.capability-output { grid-column: 2; align-self: end; padding-top: 14px; color: #625e57; border-top: 1px solid var(--exchange-line); font-size: .67rem; }
.scope-section { padding: clamp(85px, 10vw, 140px) 0; color: #fff; background: var(--exchange-ink); }
.scope-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 120px); }
.scope-grid h2 { margin: 20px 0 0; color: #fff; font-size: clamp(2.4rem, 3.7vw, 3.75rem); line-height: 1.06; }
.scope-grid ol { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .35); list-style: none; }
.scope-grid li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.scope-grid li > span { color: #9fd3b9; font-size: .72rem; font-weight: 700; }
.scope-grid strong { color: #fff; }
.scope-grid p { margin: 5px 0 0; color: rgba(255, 255, 255, .72); font-size: .79rem; }

/* Contact ledger */
.contact-ledger-section { padding: clamp(70px, 8vw, 110px) 0; background: var(--exchange-white); }
.contact-ledger-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 0; border: 1px solid var(--exchange-ink); }
.contact-channels { color: #fff; background: var(--exchange-ink); }
.contact-channel-head,
.contact-form-head { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-bottom: 1px solid currentColor; font-size: .66rem; font-weight: 700; }
.contact-channels > a,
.contact-channel-row { display: flex; min-height: 112px; align-items: center; gap: 18px; padding: 22px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .18); text-decoration: none; }
.contact-channels > a:hover { background: rgba(255, 255, 255, .05); }
.contact-channels i { width: 28px; color: var(--exchange-green); font-size: 1.1rem; text-align: center; }
.contact-channels small,
.contact-channels strong { display: block; }
.contact-channels small { margin-bottom: 6px; color: rgba(255, 255, 255, .68); font-size: .64rem; }
.contact-channels strong { color: #fff; font-size: .81rem; }
.contact-channels > p { margin: 0; padding: 22px; color: rgba(255, 255, 255, .68); font-size: .67rem; line-height: 1.7; }
.contact-ledger-form { padding-bottom: 0; background: var(--exchange-white); }
.contact-form-head { color: var(--exchange-ink); }
.contact-form-head span:last-child { color: #706b63; font-weight: 400; }
.contact-ledger-form form { padding: clamp(25px, 4vw, 48px); }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.contact-ledger-form .form-field { padding-top: 12px; border-top: 1px solid var(--exchange-line); }
.contact-ledger-form .form-field-wide { grid-column: 1 / -1; }
.contact-ledger-form label { margin-bottom: 8px; color: var(--exchange-ink); font-size: .72rem; font-weight: 700; }
.contact-ledger-form input,
.contact-ledger-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--exchange-ink); background: transparent; border: 1px solid rgba(16, 16, 15, .42); border-radius: 0; outline: none; }
.contact-ledger-form textarea { min-height: 170px; resize: vertical; }
.contact-ledger-form input:focus,
.contact-ledger-form textarea:focus { border-color: var(--exchange-green); box-shadow: 4px 4px 0 rgba(8, 100, 63, .2); }
.contact-submit { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 15px 18px; color: #fff; background: var(--exchange-green); border: 0; font-weight: 700; cursor: pointer; }

/* Legal documents */
body.legal-ledger .main-content { width: 100%; max-width: none; padding-top: 0; }
body.legal-ledger .privacy-header,
body.legal-ledger .terms-hero { margin: 0 0 54px; padding: clamp(70px, 8vw, 110px) 20px; color: #fff; background: var(--exchange-ink); border-bottom: 12px solid var(--exchange-green); }
body.legal-ledger .privacy-title,
body.legal-ledger .terms-title { color: #fff; font-size: clamp(3.3rem, 6vw, 6.5rem); }
body.legal-ledger .privacy-intro,
body.legal-ledger .terms-intro { color: rgba(255, 255, 255, .58); }
body.legal-ledger .terms-badge { color: var(--exchange-green); background: transparent; border: 0; border-radius: 0; }
body.legal-ledger .policy-card,
body.legal-ledger .terms-nav,
body.legal-ledger .terms-content-card,
body.legal-ledger .summary-box { border-color: var(--exchange-line); border-radius: 0; box-shadow: none; }
body.legal-ledger .policy-card,
body.legal-ledger .terms-content-card { border-top: 3px solid var(--exchange-ink); }
body.legal-ledger .policy-icon,
body.legal-ledger .term-number { color: #fff; background: var(--exchange-green); border-radius: 0; }
body.legal-ledger .terms-nav-link { border-radius: 0; }
body.legal-ledger .terms-nav-link:hover { color: var(--exchange-green); background: var(--exchange-faint); }

@media (max-width: 920px) {
  .editorial-hero-grid { grid-template-columns: 62px 1fr; }
  .services-editorial-hero .editorial-hero-grid { grid-template-columns: 62px 1fr; }
  .editorial-lead { grid-column: 2; }
  .manifesto-grid { grid-template-columns: 110px 1fr; }
  .manifesto-copy { grid-column: 2; }
  .contact-ledger-grid,
  .scope-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .editorial-hero-grid,
  .editorial-section-head { grid-template-columns: 1fr; }
  .editorial-lead { grid-column: 1; }
  .principle-ledger,
  .operating-rules,
  .capability-ledger { grid-template-columns: 1fr; }
  .principle-ledger article,
  .operating-rules li,
  .capability-ledger article { border-left: 0; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-copy { grid-column: 1; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-ledger-form .form-field-wide { grid-column: 1; }
}

/* Talent selection workspace — compact, comparable and task-led. */
body.public-directory { --talent-ink: #0d1913; --talent-green: #075c3b; --talent-green-bright: #11905f; --talent-paper: #f3f0e8; --talent-white: #fffef9; --talent-line: rgba(13, 25, 19, .16); background: var(--talent-paper); }
body.public-directory .main-content { width: 100%; max-width: none; padding: 0; overflow: clip; }

.talent-selector-hero { position: relative; min-height: 440px; padding: clamp(62px, 7vw, 92px) 0 86px; color: #fff; background: var(--talent-ink); overflow: hidden; }
.talent-selector-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 0, #000 45%, #000 100%); }
.talent-selector-hero::after { content: ""; position: absolute; top: -180px; left: -130px; width: 520px; height: 520px; border: 1px solid rgba(86, 209, 145, .2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(86, 209, 145, .025), 0 0 0 140px rgba(86, 209, 145, .02); }
.talent-selector-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr); gap: clamp(56px, 9vw, 140px); align-items: center; }
.talent-selector-copy { max-width: 720px; }
.talent-selector-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #82cba7 !important; font-size: .72rem; font-weight: 700; }
.talent-selector-kicker span { display: block; width: 34px; height: 2px; background: #82cba7; }
body.public-directory .talent-selector-copy h1 { max-width: 680px; margin: 0; color: #fff; font-size: clamp(2.35rem, 4vw, 4rem); line-height: 1.12; letter-spacing: -.025em; }
body.public-directory .talent-selector-copy > p:not(.talent-selector-kicker) { max-width: 650px; margin: 22px 0 0; color: rgba(255,255,255,.66); font-size: .96rem; line-height: 1.9; }
.talent-selector-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.talent-selector-actions a { display: inline-flex; min-height: 52px; align-items: center; gap: 24px; padding: 0 18px; font-size: .75rem; font-weight: 700; text-decoration: none; }
.talent-selector-primary { color: var(--talent-ink); background: #fff; }
.talent-selector-secondary { color: #fff; border: 1px solid rgba(255,255,255,.34); }
.talent-selector-actions a:hover { color: #fff; background: var(--talent-green-bright); border-color: var(--talent-green-bright); }

.talent-selector-steps { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); list-style: none; }
.talent-selector-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; min-height: 88px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.talent-selector-steps li > span { color: #76c79e; font-size: .68rem; font-weight: 700; }
.talent-selector-steps strong,
.talent-selector-steps small { display: block; }
.talent-selector-steps strong { color: #fff; font-size: .82rem; }
.talent-selector-steps small { margin-top: 5px; color: rgba(255,255,255,.5); font-size: .62rem; }

.talent-search-section { position: relative; z-index: 3; margin-top: -48px; }
.talent-search-panel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--talent-white); border: 1px solid var(--talent-ink); box-shadow: 12px 12px 0 rgba(7, 92, 59, .18); }
.talent-search-heading { grid-column: span 2; display: flex; min-height: 96px; flex-direction: column; justify-content: center; padding: 18px 22px; color: #fff; background: var(--talent-green); }
.talent-search-heading span { margin-bottom: 7px; color: #9bd4b8; font-size: .57rem; font-weight: 700; }
.talent-search-heading strong { font-size: .88rem; line-height: 1.55; }
.talent-field { display: flex; min-width: 0; min-height: 82px; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--talent-line); border-left: 1px solid var(--talent-line); }
.talent-field-query { grid-column: span 4; min-height: 96px; border-top: 0; }
.talent-field > span { color: #716d65; font-size: .58rem; font-weight: 700; }
.talent-field > div { display: flex; align-items: center; gap: 10px; }
.talent-field i { color: var(--talent-green); font-size: .72rem; }
body.public-directory .talent-field input,
body.public-directory .talent-field select { width: 100%; min-width: 0; min-height: 31px; padding: 0; color: var(--talent-ink); background: transparent; border: 0; border-radius: 0; outline: 0; font: inherit; font-size: .74rem; box-shadow: none; }
body.public-directory .talent-field input::placeholder { color: #99958c; }
.talent-verified-field { grid-column: span 2; display: grid; grid-template-columns: 20px 38px 1fr; gap: 10px; min-height: 82px; align-items: center; padding: 12px 15px; border-top: 1px solid var(--talent-line); border-left: 1px solid var(--talent-line); cursor: pointer; }
.talent-verified-field > input { width: 18px; height: 18px; accent-color: var(--talent-green); }
.talent-verified-field > span { display: grid; width: 38px; height: 38px; place-items: center; color: var(--talent-green); background: rgba(7,92,59,.08); }
.talent-verified-field strong,
.talent-verified-field small { display: block; }
.talent-verified-field strong { font-size: .68rem; }
.talent-verified-field small { margin-top: 4px; color: #77736b; font-size: .55rem; }
.talent-search-submit { display: grid; grid-template-rows: 1fr auto; min-height: 82px; border-top: 1px solid var(--talent-green); }
.talent-search-submit button { display: flex; align-items: center; justify-content: space-between; padding: 0 15px; color: #fff; background: var(--talent-green); border: 0; font: inherit; font-size: .7rem; font-weight: 700; cursor: pointer; }
.talent-search-submit a { padding: 7px 10px; color: var(--talent-green); background: #e6eee9; font-size: .52rem; text-align: center; text-decoration: none; }

.talent-results-section { padding: clamp(76px, 8vw, 116px) 0 120px; background: var(--talent-paper); }
.talent-results-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 2px solid var(--talent-ink); }
.talent-results-header p { margin: 0 0 7px; color: var(--talent-green); font-size: .64rem; font-weight: 700; }
body.public-directory .talent-results-header h2 { margin: 0; font-size: 1.5rem; }
.talent-results-header h2 span { color: var(--talent-green); }
.talent-results-help { display: flex; max-width: 360px; align-items: center; gap: 10px; color: #656159; font-size: .62rem; line-height: 1.7; }
.talent-results-help i { color: var(--talent-green); font-size: 1rem; }

.talent-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.talent-profile-card { position: relative; display: flex; min-width: 0; min-height: 500px; flex-direction: column; padding: 20px; background: var(--talent-white); border: 1px solid var(--talent-line); border-top: 4px solid var(--talent-ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.talent-profile-card:hover { border-color: rgba(7,92,59,.52); border-top-color: var(--talent-green); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(13,25,19,.08); }
.talent-card-toolbar { display: flex; min-height: 28px; align-items: start; justify-content: space-between; gap: 10px; }
.talent-compare-control { cursor: pointer; }
.talent-compare-control input { position: absolute; opacity: 0; pointer-events: none; }
.talent-compare-control > span { display: inline-flex; min-height: 28px; align-items: center; gap: 7px; padding: 0 9px; color: #5f5b54; border: 1px solid var(--talent-line); font-size: .56rem; font-weight: 700; transition: .2s ease; }
.talent-compare-control input:checked + span { color: #fff; background: var(--talent-green); border-color: var(--talent-green); }
.talent-compare-control.is-limit > span { color: #fff; background: #8a2929; border-color: #8a2929; animation: compareLimit .25s linear 2; }
@keyframes compareLimit { 50% { transform: translateX(3px); } }
.talent-verified-badge { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; color: var(--talent-green); font-size: .56rem; font-weight: 700; }
.talent-verified-badge i { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: var(--talent-green); font-size: .48rem; }
.talent-card-person { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 15px; align-items: center; margin-top: 25px; }
.talent-card-photo { display: block; width: 74px; height: 86px; overflow: hidden; background: #ddd9d0; border-bottom: 5px solid var(--talent-green); }
.talent-card-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.talent-photo-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; background: linear-gradient(145deg, var(--talent-green), #0d281c); font-size: 1.15rem; }
body.public-directory .talent-card-person h3 { margin: 0 0 5px; font-size: 1.08rem; line-height: 1.35; }
.talent-card-person h3 a { color: var(--talent-ink); text-decoration: none; }
.talent-card-person p { margin: 0; color: #5e5a53; font-size: .67rem; line-height: 1.55; }
.talent-card-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 9px; color: #747068; font-size: .54rem; }
.talent-card-meta i { margin-left: 4px; color: var(--talent-green); }
.talent-card-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-block: 1px solid var(--talent-line); }
.talent-card-metrics > div { min-width: 0; padding: 13px 9px; }
.talent-card-metrics > div:not(:last-child) { border-left: 1px solid var(--talent-line); }
.talent-card-metrics small,
.talent-card-metrics strong,
.talent-card-metrics em { display: block; }
.talent-card-metrics small { color: #77736b; font-size: .51rem; }
.talent-card-metrics strong { margin: 5px 0 3px; color: var(--talent-ink); font-size: .81rem; }
.talent-card-metrics strong span,
.talent-card-metrics em { color: #5f6862; font-size: .49rem; font-style: normal; font-weight: 400; }
.talent-card-skills { margin-top: 19px; }
.talent-card-skills > small { display: block; margin-bottom: 8px; color: #77736b; font-size: .52rem; }
.talent-card-skills > div { display: flex; flex-wrap: wrap; gap: 5px; }
.talent-card-skills span { padding: 5px 7px; color: #46433e; background: #f1eee6; font-size: .55rem; }
.talent-card-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 22px; }
.talent-card-actions a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 11px; color: var(--talent-ink); border: 1px solid var(--talent-ink); font-size: .62rem; font-weight: 700; text-decoration: none; }
.talent-card-actions a + a { border-right: 0; }
.talent-card-actions a.is-private { color: #fff; background: var(--talent-green); border-color: var(--talent-green); }

.talent-empty-state { grid-column: 1 / -1; display: grid; grid-template-columns: 76px 1fr auto; gap: 28px; min-height: 220px; align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--talent-white); border: 1px solid var(--talent-line); border-top: 4px solid var(--talent-green); }
.talent-empty-icon { display: grid; width: 72px; height: 72px; place-items: center; color: #fff; background: var(--talent-green); font-size: 1.4rem; }
.talent-empty-state p { margin: 0 0 8px; color: var(--talent-green); font-size: .62rem; font-weight: 700; }
body.public-directory .talent-empty-state h2 { max-width: 560px; margin: 0; font-size: 1.35rem; line-height: 1.55; }
.talent-empty-state nav { display: flex; gap: 8px; }
.talent-empty-state nav a { display: inline-flex; min-height: 46px; align-items: center; padding: 0 13px; color: var(--talent-ink); border: 1px solid var(--talent-ink); font-size: .62rem; font-weight: 700; text-decoration: none; }
.talent-empty-state nav a.is-primary { color: #fff; background: var(--talent-green); border-color: var(--talent-green); }
.talent-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 38px; }
.talent-pagination a { display: inline-flex; align-items: center; gap: 8px; color: var(--talent-green); font-size: .67rem; font-weight: 700; text-decoration: none; }
.talent-pagination a:last-child { justify-self: end; }
.talent-pagination strong { font-size: .63rem; }

.talent-compare-tray { position: fixed; right: 50%; bottom: 22px; z-index: 120; display: flex; width: min(620px, calc(100vw - 28px)); align-items: center; justify-content: space-between; gap: 20px; padding: 12px 14px; color: #fff; background: var(--talent-ink); border-right: 5px solid var(--talent-green-bright); box-shadow: 0 18px 50px rgba(0,0,0,.25); transform: translateX(50%); }
.talent-compare-tray[hidden] { display: none; }
.talent-compare-tray > div { display: flex; align-items: center; gap: 12px; }
.talent-compare-count { display: grid; width: 38px; height: 38px; place-items: center; color: var(--talent-ink); background: #fff; font-size: .76rem; font-weight: 700; }
.talent-compare-tray p { margin: 0; }
.talent-compare-tray strong,
.talent-compare-tray small { display: block; }
.talent-compare-tray strong { font-size: .67rem; }
.talent-compare-tray small { margin-top: 3px; color: rgba(255,255,255,.5); font-size: .52rem; }
.talent-compare-tray nav { display: flex; gap: 7px; }
.talent-compare-tray button { min-height: 38px; padding: 0 12px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); font: inherit; font-size: .59rem; font-weight: 700; cursor: pointer; }
.talent-compare-tray button.is-primary { color: var(--talent-ink); background: #fff; border-color: #fff; }
.talent-compare-tray button:disabled { opacity: .4; cursor: not-allowed; }

.talent-compare-dialog { width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 42px); padding: 0; color: var(--talent-ink); background: var(--talent-paper); border: 0; box-shadow: 0 25px 100px rgba(0,0,0,.45); }
.talent-compare-dialog::backdrop { background: rgba(5,12,8,.72); backdrop-filter: blur(5px); }
.talent-compare-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; color: #fff; background: var(--talent-ink); }
.talent-compare-dialog-head span { color: #83cca8; font-size: .56rem; font-weight: 700; }
body.public-directory .talent-compare-dialog-head h2 { margin: 4px 0 0; color: #fff; font-size: 1.25rem; }
.talent-compare-dialog-head button { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); cursor: pointer; }
.talent-compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); overflow: auto; }
.talent-compare-grid > section { min-width: 0; padding: 22px; border-left: 1px solid var(--talent-line); }
.talent-compare-grid > section:last-child { border-left: 0; }
.talent-compare-person { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; min-height: 68px; }
.talent-compare-person img { width: 52px; height: 64px; object-fit: cover; filter: grayscale(1); border-bottom: 4px solid var(--talent-green); }
.talent-compare-avatar { display: grid; width: 52px; height: 64px; place-items: center; color: #fff; background: linear-gradient(145deg, var(--talent-green), #0d281c); border-bottom: 4px solid var(--talent-green-bright); }
.talent-compare-person strong,
.talent-compare-person span { display: block; }
.talent-compare-person strong { font-size: .78rem; }
.talent-compare-person span { margin-top: 4px; color: #68645c; font-size: .57rem; line-height: 1.5; }
.talent-compare-grid dl { margin: 22px 0; border-top: 1px solid var(--talent-ink); }
.talent-compare-grid dl > div { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--talent-line); }
.talent-compare-grid dt { color: #6c6860; font-size: .55rem; }
.talent-compare-grid dd { margin: 0; font-size: .63rem; font-weight: 700; text-align: left; }
.talent-compare-skills { display: flex; min-height: 62px; flex-wrap: wrap; align-content: start; gap: 5px; margin-bottom: 18px; }
.talent-compare-skills span { padding: 5px 6px; background: #e7e3da; font-size: .52rem; }
.talent-compare-grid section > a { display: flex; min-height: 43px; align-items: center; justify-content: center; margin-top: 7px; color: var(--talent-ink); border: 1px solid var(--talent-ink); font-size: .59rem; font-weight: 700; text-decoration: none; }
.talent-compare-grid section > a.is-private { color: #fff; background: var(--talent-green); border-color: var(--talent-green); }

@media (max-width: 1080px) {
  .talent-selector-shell { grid-template-columns: 1fr minmax(290px,.7fr); gap: 48px; }
  .talent-search-panel { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .talent-search-heading { grid-column: span 2; }
  .talent-field-query { grid-column: span 2; }
  .talent-verified-field { grid-column: span 2; }
  .talent-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .talent-selector-hero { min-height: 0; padding: 48px 0 74px; }
  .talent-selector-hero::after { display: none; }
  .talent-selector-shell { grid-template-columns: 1fr; gap: 42px; }
  body.public-directory .talent-selector-copy h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  body.public-directory .talent-selector-copy > p:not(.talent-selector-kicker) { font-size: .82rem; line-height: 1.75; }
  .talent-selector-actions { display: grid; grid-template-columns: 1fr; }
  .talent-selector-actions a { justify-content: space-between; }
  .talent-selector-steps li { min-height: 74px; }
  .talent-search-section { margin-top: -32px; }
  .talent-search-panel { grid-template-columns: 1fr; box-shadow: 7px 7px 0 rgba(7,92,59,.18); }
  .talent-search-heading,
  .talent-field-query,
  .talent-verified-field { grid-column: 1; }
  .talent-search-heading { min-height: 82px; }
  .talent-field-query { min-height: 82px; border-top: 1px solid var(--talent-line); }
  .talent-field { border-left: 0; }
  .talent-verified-field { border-left: 0; }
  .talent-search-submit button { min-height: 54px; }
  .talent-results-header { align-items: start; flex-direction: column; }
  .talent-results-help { max-width: none; }
  .talent-card-grid { grid-template-columns: 1fr; }
  .talent-profile-card { min-height: 490px; padding: 18px; }
  .talent-card-person { grid-template-columns: 64px 1fr; }
  .talent-card-photo { width: 64px; height: 76px; }
  .talent-empty-state { grid-template-columns: 1fr; gap: 20px; }
  .talent-empty-state nav { flex-direction: column; }
  .talent-empty-state nav a { justify-content: center; }
  .talent-compare-tray { bottom: 12px; }
  .talent-compare-tray p { display: none; }
  .talent-compare-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 82vw); }
  .talent-compare-dialog-head { padding: 16px; }
  body.public-directory .talent-compare-dialog-head h2 { font-size: 1rem; }
}

@media (max-width: 410px) {
  .talent-card-metrics > div { padding-inline: 6px; }
  .talent-card-actions { grid-template-columns: 1fr; gap: 6px; }
  .talent-card-actions a + a { border-right: 1px solid var(--talent-green); }
  .talent-compare-tray { padding: 10px; }
  .talent-compare-tray button { padding-inline: 9px; }
}

/* Final compatibility layer for legacy screens that still use the shared base. */
body.site-shell:not(.home-page) .card,
body.site-shell:not(.home-page) .profile-section,
body.site-shell:not(.home-page) .form-card,
body.site-shell:not(.home-page) .content-card,
body.site-shell:not(.home-page) .info-card,
body.site-shell:not(.home-page) .summary-card,
body.site-shell:not(.home-page) .details-card,
body.site-shell:not(.home-page) .filter-card,
body.site-shell:not(.home-page) .table-card,
body.site-shell:not(.home-page) .settings-card,
body.site-shell:not(.home-page) .invoice-card,
body.site-shell:not(.home-page) .agreement-card,
body.site-shell:not(.home-page) .request-card,
body.site-shell:not(.home-page) .offer-card,
body.site-shell:not(.home-page) .notification-card,
body.site-shell:not(.home-page) .employee-card,
body.site-shell:not(.home-page) .profile-card { border-radius: 0; box-shadow: none; backdrop-filter: none; }
body.site-shell:not(.home-page) .btn,
body.site-shell:not(.home-page) button,
body.site-shell:not(.home-page) .input,
body.site-shell:not(.home-page) .form-control,
body.site-shell:not(.home-page) .form-select,
body.site-shell:not(.home-page) input,
body.site-shell:not(.home-page) select,
body.site-shell:not(.home-page) textarea,
body.site-shell:not(.home-page) .badge,
body.site-shell:not(.home-page) .status-badge,
body.site-shell:not(.home-page) .status-chip,
body.site-shell:not(.home-page) .tag { border-radius: 0; }
body.site-shell:not(.home-page) .page-header-section::after,
body.site-shell:not(.home-page) .workspace-header::after,
body.site-shell:not(.home-page) .profile-hero::after { display: none; }
body.site-shell:not(.home-page) .page-header-section,
body.site-shell:not(.home-page) .workspace-header,
body.site-shell:not(.home-page) .profile-hero,
body.site-shell:not(.home-page) .page-hero { border-bottom: 10px solid var(--exchange-green); }
body.site-shell:not(.home-page) .main-footer .footer-orbit { display: none; }
body.site-shell:not(.home-page) .footer-cta,
body.site-shell:not(.home-page) .footer-brand .brand-symbol { color: #fff; background: var(--exchange-green); border-radius: 0; }

/* Readable type scale: complete messages stay visible in the first viewport. */
.market-hero-shell { padding-block: clamp(46px, 5.2vw, 72px); }
.market-hero h1 {
  margin-block: clamp(28px, 3vw, 42px) 24px;
  font-size: clamp(2.55rem, 3.45vw, 3.35rem);
  line-height: 1.13;
  letter-spacing: -.025em;
}
.exchange-section { padding-block: clamp(68px, 7vw, 96px); }
.exchange-section-head h2 { font-size: clamp(2.1rem, 3.1vw, 3rem); line-height: 1.16; }
.entry-panel { min-height: 520px; }
.entry-panel h2 { font-size: clamp(2.15rem, 3.1vw, 3rem); line-height: 1.14; }
.exchange-contact h2 { font-size: clamp(2.25rem, 3.2vw, 3.1rem); line-height: 1.14; }
.editorial-hero { padding-block: clamp(64px, 7vw, 98px); }
.editorial-hero h1,
.services-editorial-hero h1 { font-size: clamp(2.55rem, 3.65vw, 3.55rem); line-height: 1.13; }
.editorial-section { padding-block: clamp(68px, 7vw, 98px); }
.editorial-section-head h2,
.scope-grid h2 { font-size: clamp(2.15rem, 3.15vw, 3.05rem); line-height: 1.15; }
.manifesto-section { padding-block: clamp(72px, 7vw, 104px); }
.manifesto-grid h2 { font-size: clamp(2.3rem, 3.3vw, 3.25rem); line-height: 1.13; }
.editorial-cta { padding-block: clamp(70px, 7vw, 100px); }
.editorial-cta h2 { font-size: clamp(2.35rem, 3.35vw, 3.3rem); line-height: 1.13; }
body.directory-page .page-header-section { padding-block: clamp(62px, 7vw, 96px); }
body.directory-page .page-title { font-size: clamp(2.65rem, 3.8vw, 3.65rem); line-height: 1.1; }
body.auth-shell .auth-visual .auth-title { font-size: clamp(2rem, 2.7vw, 2.6rem); line-height: 1.16; }
body.auth-shell .form-title { font-size: clamp(1.8rem, 2.3vw, 2.3rem); }
body.workspace-page .section-title { font-size: clamp(2.2rem, 3.2vw, 3.1rem); line-height: 1.13; }
body.execution-page .tasks-title { font-size: clamp(2.15rem, 3.1vw, 3rem); }
body.site-shell .footer-lead h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.25; }

body.site-shell .nav-menu { gap: 12px; }
body.site-shell .nav-link { padding-inline: 11px; white-space: nowrap; }
.market-hero-copy,
.editorial-hero-grid > *,
.exchange-section-head > *,
.manifesto-grid > *,
.scope-grid > * { min-width: 0; }
.market-hero h1,
.editorial-hero h1,
.exchange-section-head h2,
.manifesto-grid h2,
.scope-grid h2 { overflow-wrap: normal; word-break: normal; }

@media (max-width: 1150px) {
  .editorial-hero-grid,
  .services-editorial-hero .editorial-hero-grid { grid-template-columns: 62px minmax(0, 1fr); row-gap: 34px; }
  .editorial-lead { grid-column: 2; max-width: 700px; }
}

@media (max-width: 700px) {
  .market-hero h1 { font-size: clamp(2.1rem, 9vw, 2.55rem); line-height: 1.16; }
  .exchange-section-head h2,
  .editorial-section-head h2,
  .scope-grid h2 { font-size: clamp(1.95rem, 8vw, 2.35rem); line-height: 1.18; }
  .entry-panel h2,
  .exchange-contact h2,
  .editorial-hero h1,
  .services-editorial-hero h1,
  .manifesto-grid h2,
  .editorial-cta h2 { font-size: clamp(2.05rem, 8.7vw, 2.55rem); line-height: 1.16; }
  body.auth-shell .auth-visual .auth-title,
  body.directory-page .page-title,
  body.workspace-page .section-title,
  body.execution-page .tasks-title { font-size: clamp(1.85rem, 7vw, 2.15rem); line-height: 1.18; }
  .checkout-grid,
  .invoice-grid,
  .client-payments-page .stats-grid,
  .client-payments-page .form-grid-6 { grid-template-columns: minmax(0, 1fr) !important; }
  .checkout-grid > *,
  .invoice-grid > *,
  .client-payments-page .stats-grid > *,
  .client-payments-page .form-grid-6 > * { min-width: 0; grid-column: auto !important; }
  .checkout-page .card-row { align-items: flex-start !important; flex-direction: column; }
  .checkout-page .agreement-info { text-align: right !important; }
  .checkout-page .bank-value { overflow-wrap: anywhere; }
}

/* Unified Mahara identity — ink, warm ivory and Saudi green only. */
body.site-shell .brand-symbol,
body.site-shell .footer-brand .brand-symbol,
body.admin-shell .admin-brand .brand-symbol {
  color: #fff;
  background: var(--exchange-green);
  border-radius: 0;
}
body.site-shell .footer-cta,
body.site-shell .btn-primary:hover,
body.site-shell .btn-blue:hover,
body.admin-shell .btn-primary:hover,
body.admin-shell .btn-blue:hover {
  color: #fff;
  background: var(--exchange-green);
  border-color: var(--exchange-green);
}
body.site-shell .footer-cta:hover { color: #fff; background: var(--exchange-green-dark); }
body.site-shell .footer-col a:hover { color: #fff; }
body.site-shell .badge-primary,
body.site-shell .status-info { color: var(--exchange-green-dark); background: #e3ece6; }
body.site-shell .user-avatar,
body.site-shell .toast-icon { color: #fff; background: var(--exchange-green); }
body.site-shell .toast { border-right-color: var(--exchange-green); }
::selection { color: #fff; background: var(--exchange-green); }

/* Homepage below the fold. */
.home-flow,
.project-control-section,
.audience-section,
.specialties-section,
.home-final-cta { position: relative; }

.home-flow { padding: clamp(72px, 7vw, 104px) 0; background: var(--exchange-white); }
.home-section-intro {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.15fr) minmax(280px, .7fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  margin-bottom: clamp(42px, 5vw, 66px);
}
.home-section-code {
  display: block;
  padding-top: 10px;
  color: var(--exchange-green);
  border-top: 3px solid var(--exchange-green);
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
.home-section-intro h2,
.control-copy h2,
.home-final-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.25vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}
.home-section-intro > p {
  align-self: end;
  margin: 0 0 4px;
  color: #5b5851;
  font-size: .9rem;
  line-height: 1.9;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--exchange-ink);
  list-style: none;
}
.flow-track li {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  padding: 26px;
  border-left: 1px solid var(--exchange-line);
  transition: color .22s ease, background .22s ease;
}
.flow-track li:last-child { border-left: 0; }
.flow-track li:hover { color: #fff; background: var(--exchange-green); }
.flow-top { display: flex; align-items: center; justify-content: space-between; color: var(--exchange-green); }
.flow-top span { font-size: .68rem; font-weight: 700; }
.flow-top i { font-size: 1rem; }
.flow-track h3 { margin: 62px 0 12px; font-size: 1.3rem; line-height: 1.35; }
.flow-track p { margin: 0; color: #5f5c55; font-size: .79rem; line-height: 1.85; }
.flow-track small {
  margin-top: auto;
  padding-top: 16px;
  color: #67635c;
  border-top: 1px solid var(--exchange-line);
  font-size: .65rem;
  line-height: 1.7;
}
.flow-track li:hover .flow-top,
.flow-track li:hover p,
.flow-track li:hover small { color: #fff; }
.flow-track li:hover small { border-color: rgba(255, 255, 255, .35); }

.project-control-section {
  padding: clamp(76px, 8vw, 116px) 0;
  background: var(--exchange-paper);
  border-block: 1px solid var(--exchange-line);
}
.project-control-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(540px, 1.22fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}
.control-copy .home-section-code { width: 110px; margin-bottom: 42px; }
.control-copy h2 { margin-bottom: 24px; }
.control-lead { margin: 0; color: #5a5750; font-size: .9rem; line-height: 1.95; }
.control-benefits { margin: 38px 0 0; padding: 0; border-top: 1px solid var(--exchange-ink); list-style: none; }
.control-benefits li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--exchange-line); }
.control-benefits li > span { padding-top: 3px; color: var(--exchange-green); font-size: .64rem; font-weight: 700; }
.control-benefits strong { display: block; margin-bottom: 5px; font-size: .88rem; }
.control-benefits p { margin: 0; color: #646159; font-size: .73rem; line-height: 1.75; }

.project-console {
  color: #fff;
  background: var(--exchange-ink);
  border-right: 12px solid var(--exchange-green);
}
.console-bar,
.console-title,
.console-facts,
.console-progress,
.console-milestones,
.project-console footer { padding-inline: clamp(22px, 3vw, 38px); }
.console-bar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: .69rem;
}
.console-bar > div { display: flex; align-items: center; gap: 10px; }
.console-dot { width: 7px; height: 7px; background: #fff; }
.console-status { padding: 7px 10px; color: #fff; border: 1px solid rgba(255, 255, 255, .35); font-size: .61rem; }
.console-title { padding-block: 32px 28px; }
.console-title > span { color: #75bc94; font-size: .64rem; font-weight: 700; }
body.exchange-home .console-title h3 { margin: 8px 0 0; color: #fff; font-size: clamp(1.55rem, 2.35vw, 2.25rem); line-height: 1.3; }
.console-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(255, 255, 255, .16); }
.console-facts > div { padding-block: 18px; }
.console-facts > div:not(:last-child) { border-left: 1px solid rgba(255, 255, 255, .16); }
.console-facts small,
.console-facts strong { display: block; }
.console-facts small { margin-bottom: 6px; color: rgba(255, 255, 255, .68); font-size: .58rem; }
.console-facts strong { font-size: .77rem; }
.console-progress { padding-block: 26px; }
.console-progress > div { display: flex; justify-content: space-between; margin-bottom: 12px; color: rgba(255, 255, 255, .66); font-size: .65rem; }
.console-progress > i { display: block; height: 5px; background: rgba(255, 255, 255, .12); }
.console-progress > i span { display: block; width: 66.666%; height: 100%; background: var(--exchange-green); }
.console-milestones { border-top: 1px solid rgba(255, 255, 255, .16); }
.console-milestones > div {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}
.console-milestones span { color: rgba(255, 255, 255, .68); font-size: .6rem; }
.console-milestones strong { font-size: .76rem; }
.console-milestones em { color: rgba(255, 255, 255, .68); font-size: .61rem; font-style: normal; }
.console-milestones .is-done em,
.console-milestones .is-active em { color: #75bc94; }
.project-console footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .68); font-size: .59rem; }
.project-console footer i { color: #75bc94; }

.audience-section { padding: clamp(76px, 8vw, 112px) 0; background: var(--exchange-white); }
.audience-routes { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--exchange-ink); }
.audience-routes article { display: flex; min-height: 430px; flex-direction: column; padding: clamp(28px, 4vw, 48px); }
.audience-routes article:first-child { border-left: 1px solid var(--exchange-ink); }
.audience-route-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; color: var(--exchange-green); border-bottom: 1px solid var(--exchange-line); font-size: .67rem; font-weight: 700; }
.audience-routes h3 { max-width: 480px; margin: 44px 0 12px; font-size: clamp(1.65rem, 2.45vw, 2.35rem); line-height: 1.3; }
.audience-routes p { max-width: 520px; margin: 0; color: #5b5851; font-size: .82rem; line-height: 1.85; }
.audience-routes ul { display: grid; gap: 9px; margin: 24px 0 36px; padding: 0; color: #45433e; font-size: .73rem; list-style: none; }
.audience-routes li::before { content: "—"; margin-left: 9px; color: var(--exchange-green); }
.audience-routes article > a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 18px;
  color: #fff;
  background: var(--exchange-green);
  border: 1px solid var(--exchange-green);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.audience-routes article:nth-child(2) > a { background: var(--exchange-ink); border-color: var(--exchange-ink); }
.audience-routes article > a i { transition: transform .22s ease; }
.audience-routes article > a:hover i { transform: translateX(-7px); }

.specialties-section { padding: clamp(76px, 8vw, 112px) 0; background: var(--exchange-paper); border-top: 1px solid var(--exchange-line); }
.specialties-intro { grid-template-columns: 110px minmax(0, 1fr) auto; align-items: end; }
.home-text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; color: var(--exchange-green); border-bottom: 1px solid var(--exchange-green); font-size: .76rem; font-weight: 700; text-decoration: none; }
.specialty-index { border-top: 2px solid var(--exchange-ink); }
.specialty-index > a {
  display: grid;
  grid-template-columns: 70px minmax(190px, .7fr) minmax(280px, 1fr) 30px;
  gap: 24px;
  align-items: center;
  min-height: 96px;
  color: var(--exchange-ink);
  border-bottom: 1px solid var(--exchange-line);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, padding .25s ease;
}
.specialty-index > a:hover { padding-inline: 18px; color: #fff; background: var(--exchange-green); }
.specialty-index span { color: var(--exchange-green); font-size: .66rem; font-weight: 700; }
.specialty-index strong { font-size: 1.04rem; }
.specialty-index small { color: #5e5a53; font-size: .75rem; line-height: 1.7; }
.specialty-index i { color: var(--exchange-green); font-size: .72rem; }
.specialty-index > a:hover span,
.specialty-index > a:hover small,
.specialty-index > a:hover i { color: #fff; }
.featured-tech-strip { margin-top: 56px; }

.home-final-cta { padding: clamp(72px, 7vw, 100px) 0; color: #fff; background: var(--exchange-green); }
.home-final-grid { display: grid; grid-template-columns: 110px 1fr minmax(300px, .62fr); gap: clamp(24px, 4vw, 58px); align-items: start; }
.home-final-cta .home-section-code { color: #fff; border-color: rgba(255, 255, 255, .65); }
body.exchange-home .home-final-cta h2 { color: #fff; }
body.exchange-home .home-final-cta p { max-width: 610px; margin: 20px 0 0; color: rgba(255, 255, 255, .72); font-size: .86rem; line-height: 1.9; }
.home-final-actions { border-top: 1px solid rgba(255, 255, 255, .45); }
.home-final-actions a { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .32); font-size: .78rem; font-weight: 700; text-decoration: none; }
.home-final-actions a.is-primary { padding-inline: 18px; color: var(--exchange-ink); background: var(--exchange-white); border-bottom-color: var(--exchange-white); }
.home-final-actions i { transition: transform .22s ease; }
.home-final-actions a:hover i { transform: translateX(-7px); }

@media (max-width: 1020px) {
  .home-section-intro,
  .specialties-intro { grid-template-columns: 76px 1fr; }
  .home-section-intro > p,
  .specialties-intro .home-text-link { grid-column: 2; justify-self: start; }
  .flow-track { grid-template-columns: repeat(2, 1fr); }
  .flow-track li:nth-child(2) { border-left: 0; }
  .flow-track li:nth-child(-n+2) { border-bottom: 1px solid var(--exchange-line); }
  .project-control-grid { grid-template-columns: 1fr; }
  .project-console { width: min(100%, 760px); justify-self: end; }
  .home-final-grid { grid-template-columns: 76px 1fr; }
  .home-final-actions { grid-column: 2; }
}

@media (max-width: 720px) {
  .home-section-intro,
  .specialties-intro,
  .home-final-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-section-intro > p,
  .specialties-intro .home-text-link,
  .home-final-actions { grid-column: 1; }
  .home-section-code { width: fit-content; min-width: 76px; }
  .home-section-intro h2,
  .control-copy h2,
  .home-final-cta h2 { font-size: clamp(2rem, 9vw, 2.55rem); line-height: 1.17; }
  .flow-track { grid-template-columns: 1fr; }
  .flow-track li { min-height: 230px; border-left: 0; border-bottom: 1px solid var(--exchange-line); }
  .flow-track li:last-child { border-bottom: 0; }
  .flow-track h3 { margin-top: 38px; }
  .project-control-grid { gap: 40px; }
  .project-console { width: 100%; border-right-width: 7px; }
  .console-facts { grid-template-columns: 1fr; }
  .console-facts > div:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .13); border-left: 0; }
  .console-milestones > div { grid-template-columns: 28px 1fr; padding-block: 12px; }
  .console-milestones em { grid-column: 2; }
  .audience-routes { grid-template-columns: 1fr; }
  .audience-routes article { min-height: 400px; padding-inline: 0; }
  .audience-routes article:first-child { border-bottom: 1px solid var(--exchange-ink); border-left: 0; }
  .audience-routes article > a { padding-inline: 16px; }
  .specialty-index > a { grid-template-columns: 38px 1fr 22px; gap: 13px; padding-block: 18px; }
  .specialty-index small { grid-column: 2; }
  .specialty-index i { grid-column: 3; grid-row: 1 / span 2; }
  .specialty-index > a:hover { padding-inline: 10px; }
}

/* Public technology directory and professional profiles. */
body.public-directory,
body.public-tech-profile { background: var(--exchange-paper); }

.directory-public-hero { padding: clamp(64px, 7vw, 98px) 0 0; background: var(--exchange-paper); border-bottom: 1px solid var(--exchange-ink); }
.directory-public-head {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.25fr) minmax(300px, .65fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}
.directory-code,
.tech-profile-code,
.profile-content-code {
  display: block;
  padding-top: 9px;
  color: var(--exchange-green);
  border-top: 3px solid var(--exchange-green);
  font-size: .66rem;
  font-weight: 700;
  white-space: nowrap;
}
.directory-overline { margin: 0 0 14px; color: var(--exchange-green) !important; font-size: .68rem; font-weight: 700; }
body.public-directory .directory-public-head h1 {
  margin: 0;
  font-size: clamp(2.45rem, 3.45vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.directory-public-copy { align-self: end; }
body.public-directory .directory-public-copy p { margin: 0 0 22px; color: #57544e; font-size: .86rem; line-height: 1.9; }
.directory-public-copy span { display: flex; gap: 9px; padding-top: 15px; color: var(--exchange-green); border-top: 1px solid var(--exchange-line); font-size: .64rem; line-height: 1.7; }
.directory-hero-media { position: relative; height: clamp(300px, 36vw, 480px); margin-top: clamp(42px, 5vw, 68px); overflow: hidden; color: #fff; background: var(--exchange-ink); border-bottom: 8px solid var(--exchange-green); }
.directory-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.directory-hero-media > div { position: absolute; right: 22px; bottom: 20px; padding: 12px 14px; background: rgba(16, 16, 15, .88); }
.directory-hero-media span,
.directory-hero-media strong { display: block; }
.directory-hero-media span { margin-bottom: 4px; color: #79c39a; font-size: .56rem; }
.directory-hero-media strong { font-size: .67rem; }

.directory-search-bar {
  display: grid;
  grid-template-columns: 1fr 230px 120px;
  margin-top: clamp(48px, 6vw, 76px);
  border: 1px solid var(--exchange-ink);
  border-bottom: 0;
}
.directory-search-bar label { display: flex; min-width: 0; flex-direction: column; gap: 7px; padding: 14px 18px; border-left: 1px solid var(--exchange-line); }
.directory-search-bar label > span { color: #6b675f; font-size: .58rem; font-weight: 700; }
body.public-directory .directory-search-bar input,
body.public-directory .directory-search-bar select {
  width: 100%;
  min-height: 28px;
  padding: 0;
  color: var(--exchange-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: .77rem;
}
.directory-search-bar button { display: flex; align-items: center; justify-content: space-between; padding: 0 17px; color: #fff; background: var(--exchange-green); border: 0; font-size: .75rem; font-weight: 700; cursor: pointer; }

.directory-public-results { padding: clamp(54px, 6vw, 84px) 0 clamp(80px, 8vw, 120px); background: var(--exchange-white); }
.directory-results-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: #666159; font-size: .67rem; }
.directory-results-head strong { color: var(--exchange-ink); font-size: .72rem; }
.public-tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--exchange-ink); border-right: 1px solid var(--exchange-line); }
.public-tech-card { display: flex; min-width: 0; min-height: 500px; flex-direction: column; padding: 24px; border-left: 1px solid var(--exchange-line); border-bottom: 1px solid var(--exchange-line); }
.public-tech-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--exchange-green); font-size: .61rem; font-weight: 700; }
.public-tech-card-top em { font-style: normal; }
.public-tech-identity { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; margin-top: 40px; }
.public-tech-photo { width: 84px; height: 104px; overflow: hidden; background: #d9d8d1; }
.public-tech-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
body.public-directory .public-tech-identity h2 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.3; }
body.public-directory .public-tech-identity p { margin: 0 0 10px; color: #5c5852; font-size: .72rem; line-height: 1.6; }
.public-tech-identity > div:last-child > span { color: #706c65; font-size: .62rem; }
.public-tech-identity > div:last-child > span i { margin-left: 5px; color: var(--exchange-green); }
.public-tech-metrics { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; border-block: 1px solid var(--exchange-line); }
.public-tech-metrics > span { padding: 15px 0; }
.public-tech-metrics > span:first-child { border-left: 1px solid var(--exchange-line); }
.public-tech-metrics small,
.public-tech-metrics strong { display: block; }
.public-tech-metrics small { margin-bottom: 5px; color: #716d65; font-size: .57rem; }
.public-tech-metrics strong { font-size: .78rem; }
.public-tech-skills { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 26px; }
.public-tech-skills span { padding: 6px 8px; color: #4e4a45; border: 1px solid var(--exchange-line); font-size: .6rem; }
.public-tech-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border: 1px solid var(--exchange-ink); }
.public-tech-actions a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; color: var(--exchange-ink); font-size: .65rem; font-weight: 700; text-decoration: none; }
.public-tech-actions a:first-child { border-left: 1px solid var(--exchange-ink); }
.public-tech-actions a.is-direct { color: #fff; background: var(--exchange-green); }
.public-tech-actions a i { font-size: .62rem; }
.directory-empty { grid-column: 1 / -1; display: flex; min-height: 220px; align-items: center; justify-content: space-between; gap: 22px; padding: 32px; border-bottom: 1px solid var(--exchange-line); border-left: 1px solid var(--exchange-line); }
.directory-empty a { color: var(--exchange-green); font-size: .75rem; font-weight: 700; }
.directory-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 42px; font-size: .7rem; }
.directory-pagination a { padding-bottom: 5px; color: var(--exchange-green); border-bottom: 1px solid var(--exchange-green); text-decoration: none; }

.tech-profile-public-hero { padding: clamp(60px, 7vw, 96px) 0 0; background: var(--exchange-paper); border-bottom: 1px solid var(--exchange-ink); }
.tech-profile-public-grid { display: grid; grid-template-columns: 110px 1fr minmax(310px, .58fr); gap: clamp(28px, 4vw, 62px); align-items: start; }
.tech-profile-main { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.tech-profile-photo { width: 150px; height: 190px; overflow: hidden; background: #d9d8d1; border-bottom: 9px solid var(--exchange-green); }
.tech-profile-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.tech-profile-status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.tech-profile-status span { padding: 6px 8px; color: var(--exchange-green); border: 1px solid var(--exchange-green); font-size: .59rem; font-weight: 700; }
body.public-tech-profile .tech-profile-main h1 { margin: 0 0 7px; font-size: clamp(2.35rem, 3.6vw, 3.55rem); line-height: 1.12; }
body.public-tech-profile .tech-profile-main > div > p { margin: 0; color: #55524c; font-size: 1rem; }
.tech-profile-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 21px; color: #69655d; font-size: .65rem; }
.tech-profile-meta i { margin-left: 5px; color: var(--exchange-green); }
.tech-direct-request { padding: 26px; color: #fff; background: var(--exchange-ink); border-top: 8px solid var(--exchange-green); }
.tech-direct-request > span { color: #74bd94; font-size: .62rem; font-weight: 700; }
body.public-tech-profile .tech-direct-request h2 { margin: 25px 0 11px; color: #fff; font-size: 1.65rem; line-height: 1.25; }
body.public-tech-profile .tech-direct-request p { margin: 0; color: rgba(255, 255, 255, .58); font-size: .73rem; line-height: 1.85; }
.tech-direct-request > a { display: flex; min-height: 56px; align-items: center; justify-content: space-between; margin-top: 25px; padding: 0 15px; color: #fff; background: var(--exchange-green); font-size: .71rem; font-weight: 700; text-decoration: none; }
.tech-direct-request > small { display: flex; gap: 8px; margin-top: 16px; color: rgba(255, 255, 255, .68); font-size: .57rem; line-height: 1.7; }
.tech-profile-numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(44px, 6vw, 76px); border-top: 1px solid var(--exchange-ink); }
.tech-profile-numbers > div { padding: 21px; border-left: 1px solid var(--exchange-line); }
.tech-profile-numbers > div:last-child { border-left: 0; }
.tech-profile-numbers small,
.tech-profile-numbers strong,
.tech-profile-numbers span { display: block; }
.tech-profile-numbers small { color: #6a665e; font-size: .58rem; }
.tech-profile-numbers strong { margin: 8px 0 5px; font-size: 1rem; }
.tech-profile-numbers span { color: #77736b; font-size: .58rem; }

.tech-profile-public-content { padding: clamp(70px, 8vw, 112px) 0; background: var(--exchange-white); }
.tech-profile-content-grid { display: grid; grid-template-columns: minmax(260px, .38fr) 1fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
.tech-profile-sidebar { position: sticky; top: 110px; }
.tech-profile-sidebar section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--exchange-line); }
.tech-profile-sidebar .profile-content-code { width: 88px; margin-bottom: 24px; }
body.public-tech-profile .tech-profile-sidebar h2 { margin: 0 0 13px; font-size: 1.35rem; }
body.public-tech-profile .tech-profile-sidebar p { margin: 0; color: #5e5a53; font-size: .76rem; line-height: 1.9; }
.tech-profile-skills { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-profile-skills span { padding: 7px 9px; color: #47443f; border: 1px solid var(--exchange-line); font-size: .63rem; }
.owner-profile-link { display: flex; align-items: center; justify-content: space-between; color: var(--exchange-green); font-size: .7rem; font-weight: 700; text-decoration: none; }
.tech-portfolio-public > header { display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: start; margin-bottom: 38px; }
.tech-portfolio-public .profile-content-code { width: 90px; }
body.public-tech-profile .tech-portfolio-public > header h2 { margin: 0 0 8px; font-size: clamp(2rem, 3vw, 2.8rem); }
body.public-tech-profile .tech-portfolio-public > header p { margin: 0; color: #5e5a53; font-size: .74rem; line-height: 1.8; }
.tech-portfolio-public > header > strong { color: var(--exchange-green); font-size: .68rem; }
.tech-portfolio-grid { border-top: 2px solid var(--exchange-ink); }
.tech-portfolio-grid article { display: grid; grid-template-columns: minmax(210px, .42fr) 1fr; min-height: 300px; border-bottom: 1px solid var(--exchange-line); }
.portfolio-public-media { min-height: 300px; overflow: hidden; background: var(--exchange-paper); border-left: 1px solid var(--exchange-line); }
.portfolio-public-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .3s ease; }
.tech-portfolio-grid article:hover .portfolio-public-media img { transform: scale(1.025); }
.portfolio-public-media > span { display: grid; width: 100%; height: 100%; place-items: center; color: var(--exchange-green); font-size: 1.8rem; }
.portfolio-public-copy { display: flex; flex-direction: column; padding: 28px; }
.portfolio-public-copy > span { color: var(--exchange-green); font-size: .59rem; font-weight: 700; }
body.public-tech-profile .portfolio-public-copy h3 { margin: 28px 0 11px; font-size: 1.45rem; }
body.public-tech-profile .portfolio-public-copy > p { margin: 0; color: #605d56; font-size: .74rem; line-height: 1.85; }
.portfolio-public-copy > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.portfolio-public-copy em { padding: 5px 7px; border: 1px solid var(--exchange-line); font-size: .57rem; font-style: normal; }
.portfolio-public-copy nav { display: flex; gap: 20px; margin-top: auto; padding-top: 22px; }
.portfolio-public-copy nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--exchange-green); font-size: .65rem; font-weight: 700; text-decoration: none; }
.portfolio-public-empty { display: flex; min-height: 250px; align-items: center; gap: 24px; padding: 30px; border-block: 1px solid var(--exchange-ink); }
.portfolio-public-empty > i { color: var(--exchange-green); font-size: 2rem; }
.portfolio-public-empty strong,
.portfolio-public-empty span { display: block; }
.portfolio-public-empty strong { margin-bottom: 7px; }
.portfolio-public-empty span { color: #615e56; font-size: .7rem; line-height: 1.7; }

.tech-profile-final-cta { padding: clamp(64px, 7vw, 92px) 0; color: #fff; background: var(--exchange-green); }
.tech-profile-final-cta > .container { display: grid; grid-template-columns: 120px 1fr minmax(250px, .45fr); gap: 40px; align-items: center; }
.tech-profile-final-cta > .container > span { padding-top: 8px; border-top: 2px solid rgba(255, 255, 255, .6); font-size: .61rem; }
body.public-tech-profile .tech-profile-final-cta h2 { margin: 0 0 8px; color: #fff; font-size: 2.25rem; }
body.public-tech-profile .tech-profile-final-cta p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .75rem; }
.tech-profile-final-cta a { display: flex; min-height: 62px; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--exchange-ink); background: var(--exchange-white); font-size: .72rem; font-weight: 700; text-decoration: none; }

.private-tech-target { display: grid; grid-template-columns: 58px 1fr auto; gap: 16px; align-items: center; max-width: 800px; margin: 0 auto 30px; padding: 16px; color: #fff; background: var(--exchange-ink); border-right: 6px solid var(--exchange-green); }
.private-tech-avatar { display: grid; width: 58px; height: 64px; place-items: center; overflow: hidden; color: #fff; background: var(--exchange-green); }
.private-tech-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.private-tech-target small,
.private-tech-target strong,
.private-tech-target span { display: block; }
.private-tech-target small { color: #76bd95; font-size: .58rem; }
.private-tech-target strong { margin: 3px 0; font-size: .86rem; }
.private-tech-target span { color: rgba(255, 255, 255, .5); font-size: .61rem; }
.private-tech-target > i { color: #76bd95; }

@media (max-width: 1020px) {
  .directory-public-head,
  .tech-profile-public-grid { grid-template-columns: 76px 1fr; }
  .directory-public-copy,
  .tech-direct-request { grid-column: 2; }
  .directory-search-bar { grid-template-columns: 1fr 190px 100px; }
  .public-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-profile-content-grid { grid-template-columns: 1fr; }
  .tech-profile-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
  .tech-profile-sidebar section { margin: 0; }
  .owner-profile-link { grid-column: 1 / -1; }
  .tech-profile-final-cta > .container { grid-template-columns: 90px 1fr; }
  .tech-profile-final-cta a { grid-column: 2; }
}

@media (max-width: 700px) {
  .directory-public-head,
  .tech-profile-public-grid,
  .tech-profile-final-cta > .container { grid-template-columns: 1fr; }
  .directory-public-copy,
  .tech-direct-request,
  .tech-profile-final-cta a { grid-column: 1; }
  body.public-directory .directory-public-head h1 { font-size: clamp(2.15rem, 10vw, 2.7rem); }
  .directory-search-bar { grid-template-columns: 1fr; border-bottom: 1px solid var(--exchange-ink); }
  .directory-search-bar label { border-bottom: 1px solid var(--exchange-line); border-left: 0; }
  .directory-search-bar button { min-height: 54px; }
  .directory-results-head { align-items: flex-start; flex-direction: column; }
  .public-tech-grid { grid-template-columns: 1fr; }
  .public-tech-card { min-height: 470px; border-left: 0; }
  .public-tech-actions { grid-template-columns: 1fr; }
  .public-tech-actions a:first-child { border-bottom: 1px solid var(--exchange-ink); border-left: 0; }
  .tech-profile-main { grid-template-columns: 92px 1fr; gap: 18px; }
  .tech-profile-photo { width: 92px; height: 120px; }
  body.public-tech-profile .tech-profile-main h1 { font-size: clamp(2rem, 9vw, 2.55rem); }
  .tech-profile-numbers { grid-template-columns: 1fr; }
  .tech-profile-numbers > div { border-bottom: 1px solid var(--exchange-line); border-left: 0; }
  .tech-profile-sidebar { grid-template-columns: 1fr; }
  .tech-portfolio-public > header { grid-template-columns: 1fr; gap: 18px; }
  .tech-portfolio-grid article { grid-template-columns: 1fr; }
  .portfolio-public-media { min-height: 220px; border-bottom: 1px solid var(--exchange-line); border-left: 0; }
  .portfolio-public-copy { min-height: 300px; padding: 23px 0; }
  .tech-profile-final-cta > .container { gap: 24px; }
}

/* Public project catalog — scoped, factual and aligned with the green identity. */
.ready-catalog-section {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--exchange-paper);
  border-bottom: 1px solid var(--exchange-line);
}
.ready-catalog-intro { grid-template-columns: 100px minmax(320px, 1fr) minmax(260px, .65fr) auto; }
.ready-catalog-intro .home-text-link { align-self: end; margin-bottom: 4px; white-space: nowrap; }
.ready-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--exchange-ink);
}
.ready-project-card {
  display: flex;
  min-width: 0;
  min-height: 615px;
  flex-direction: column;
  padding: 24px;
  border-left: 1px solid var(--exchange-line);
}
.ready-project-card:last-child { border-left: 0; }
.ready-card-visual { display: block; height: 185px; margin: -24px -24px 22px; overflow: hidden; background: var(--exchange-ink); border-bottom: 1px solid var(--exchange-ink); }
.ready-card-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transition: transform .45s var(--neo-ease), filter .3s ease; }
.ready-project-card:hover .ready-card-visual img { filter: saturate(1); transform: scale(1.035); }
.ready-card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--exchange-green); font-size: .61rem; font-weight: 700; }
.ready-card-meta strong { font-size: inherit; }
.ready-card-copy { padding-top: 48px; }
body.exchange-home .ready-card-copy h3 { margin: 0 0 13px; font-size: 1.24rem; line-height: 1.4; }
.ready-card-copy p { margin: 0; color: #5c5952; font-size: .74rem; line-height: 1.85; }
.ready-card-copy ul { display: grid; gap: 7px; margin: 24px 0 0; padding: 0; color: #3f3d38; font-size: .66rem; list-style: none; }
.ready-card-copy li::before { content: "—"; margin-left: 7px; color: var(--exchange-green); }
.ready-card-facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border-block: 1px solid var(--exchange-line); }
.ready-card-facts > div { padding: 15px 0; }
.ready-card-facts > div:first-child { border-left: 1px solid var(--exchange-line); }
.ready-card-facts small,
.ready-card-facts strong { display: block; }
.ready-card-facts small { margin-bottom: 4px; color: #747068; font-size: .55rem; }
.ready-card-facts strong { font-size: .71rem; }
.ready-card-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 58px; }
.ready-card-actions a { color: var(--exchange-green); font-size: .64rem; font-weight: 700; text-decoration: none; }
.ready-card-actions a.is-primary { display: flex; align-items: center; justify-content: space-between; padding-left: 15px; color: var(--exchange-ink); }
.ready-project-card:hover .ready-card-actions a.is-primary { color: var(--exchange-green); }
.catalog-empty-state { grid-column: 1 / -1; padding: 42px 0; color: #5d5a53; font-size: .75rem; }

.market-reference-strip { display: grid; grid-template-columns: minmax(250px, .42fr) 1fr; margin-top: 60px; color: #fff; background: var(--exchange-ink); border-right: 9px solid var(--exchange-green); }
.market-reference-head { padding: 30px; border-left: 1px solid rgba(255, 255, 255, .16); }
.market-reference-head > span { color: #76bd95; font-size: .59rem; font-weight: 700; }
.market-reference-head h3 { margin: 52px 0 8px; color: #fff; font-size: 1.32rem; }
.market-reference-head p { margin: 0; color: rgba(255, 255, 255, .52); font-size: .69rem; line-height: 1.8; }
.market-reference-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.market-reference-list > a { display: flex; min-height: 250px; flex-direction: column; padding: 28px; color: #fff; border-left: 1px solid rgba(255, 255, 255, .13); text-decoration: none; }
.market-reference-list > a:last-child { border-left: 0; }
.market-reference-list span { color: #76bd95; font-size: .58rem; }
.market-reference-list strong { margin-top: 36px; font-size: 1.05rem; }
.market-reference-list p { margin: 9px 0 24px; color: rgba(255, 255, 255, .52); font-size: .65rem; line-height: 1.8; }
.market-reference-list i { margin-top: auto; color: #76bd95; }

body.projects-public-page,
body.project-detail-public { background: var(--exchange-paper); }
.projects-public-hero { padding: clamp(64px, 7vw, 94px) 0; color: #fff; background: var(--exchange-green); }
.projects-public-head { display: grid; grid-template-columns: 100px minmax(350px, 1fr) minmax(270px, .55fr); gap: clamp(24px, 4vw, 58px); align-items: start; }
.projects-page-code { padding-top: 9px; border-top: 3px solid rgba(255, 255, 255, .7); font-size: .63rem; white-space: nowrap; }
.projects-kicker { margin: 0 0 16px; color: rgba(255, 255, 255, .64) !important; font-size: .66rem !important; font-weight: 700; }
body.projects-public-page .projects-public-head h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 4vw, 3.75rem); line-height: 1.12; }
.projects-head-note { align-self: end; border-top: 1px solid rgba(255, 255, 255, .4); }
.projects-head-note p { margin: 0; padding: 18px 0; color: rgba(255, 255, 255, .7); font-size: .75rem; line-height: 1.85; }
.projects-head-note span { display: inline-block; margin-left: 18px; color: #fff; font-size: .61rem; }
.projects-hero-visual { position: relative; grid-column: 1 / -1; height: clamp(310px, 37vw, 500px); margin-top: 18px; overflow: hidden; background: var(--exchange-ink); border: 1px solid rgba(255, 255, 255, .25); }
.projects-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.projects-hero-legend { position: absolute; top: 50%; right: 7%; width: min(240px, 23%); padding: 20px; color: #fff; background: rgba(10, 15, 11, .88); border-right: 4px solid #77c397; transform: translateY(-50%); }
.projects-hero-legend > span { display: block; padding-bottom: 12px; color: #79c39a; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: .61rem; font-weight: 700; }
.projects-hero-legend ul { display: grid; gap: 9px; margin: 15px 0 0; padding: 0; color: rgba(255, 255, 255, .78); font-size: .67rem; list-style: none; }
.projects-hero-legend li::before { content: "—"; margin-left: 7px; color: #79c39a; }

.projects-catalog-section { padding: clamp(56px, 6vw, 88px) 0 clamp(80px, 8vw, 120px); }
.project-catalog-tabs { display: flex; overflow-x: auto; border-block: 1px solid var(--exchange-ink); scrollbar-width: none; }
.project-catalog-tabs::-webkit-scrollbar { display: none; }
.project-catalog-tabs a { flex: 0 0 auto; padding: 17px 18px; color: #57544d; border-left: 1px solid var(--exchange-line); font-size: .67rem; font-weight: 700; text-decoration: none; }
.project-catalog-tabs a.active,
.project-catalog-tabs a:hover { color: #fff; background: var(--exchange-green); }
.project-catalog-list { margin-top: 42px; border-top: 2px solid var(--exchange-ink); }
.catalog-project-row { display: grid; grid-template-columns: minmax(210px, .68fr) 62px minmax(250px, 1fr) minmax(210px, .68fr) minmax(195px, .55fr); min-height: 320px; border-bottom: 1px solid var(--exchange-line); }
.catalog-project-row > * { padding: 27px 22px; border-left: 1px solid var(--exchange-line); }
.catalog-project-row > *:last-child { border-left: 0; }
.catalog-row-visual { display: block; min-width: 0; padding: 0 !important; overflow: hidden; background: var(--exchange-ink); }
.catalog-row-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transition: transform .45s var(--neo-ease), filter .3s ease; }
.catalog-project-row:hover .catalog-row-visual img { filter: saturate(1); transform: scale(1.025); }
.catalog-row-index { display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: var(--exchange-green); font-size: .62rem; font-weight: 700; }
.catalog-row-index i { width: 7px; height: 7px; background: var(--exchange-green); }
.catalog-row-labels { display: flex; gap: 7px; color: var(--exchange-green); font-size: .58rem; font-weight: 700; }
.catalog-row-labels span + span::before { content: "/"; margin-left: 7px; color: #918d83; }
body.projects-public-page .catalog-row-main h2 { margin: 42px 0 11px; font-size: 1.5rem; line-height: 1.3; }
.catalog-row-main h2 a { color: var(--exchange-ink); text-decoration: none; }
.catalog-row-main p { max-width: 520px; margin: 0; color: #605d56; font-size: .75rem; line-height: 1.85; }
.catalog-row-scope { display: grid; align-content: center; gap: 12px; margin: 0; color: #47443f; font-size: .68rem; list-style: none; }
.catalog-row-scope li::before { content: "—"; margin-left: 8px; color: var(--exchange-green); }
.catalog-row-commercial { display: flex; flex-direction: column; background: rgba(8, 100, 63, .035); }
.catalog-row-commercial small { color: #706c64; font-size: .57rem; }
.catalog-row-commercial strong { margin: 6px 0; font-size: .92rem; }
.catalog-row-commercial > span { color: #69655e; font-size: .61rem; }
.catalog-row-commercial a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 15px; color: var(--exchange-green); border-top: 1px solid var(--exchange-line); font-size: .67rem; font-weight: 700; text-decoration: none; }
.catalog-project-row.is-market .catalog-row-commercial { color: #fff; background: var(--exchange-ink); }
.catalog-project-row.is-market .catalog-row-commercial small,
.catalog-project-row.is-market .catalog-row-commercial > span { color: rgba(255, 255, 255, .5); }
.catalog-project-row.is-market .catalog-row-commercial a { color: #76bd95; border-color: rgba(255, 255, 255, .2); }
.projects-empty { display: flex; align-items: center; justify-content: space-between; padding: 40px 0; border-bottom: 1px solid var(--exchange-ink); }
.projects-empty a { color: var(--exchange-green); font-size: .7rem; font-weight: 700; }

.project-detail-shell { background: var(--exchange-paper); }
.project-detail-hero { padding: clamp(60px, 7vw, 94px) 0; color: #fff; background: var(--exchange-ink); border-bottom: 11px solid var(--exchange-green); }
.project-detail-head { display: grid; grid-template-columns: 105px minmax(310px, .72fr) minmax(410px, 1fr); gap: clamp(24px, 4vw, 54px); }
.project-detail-code { grid-column: 1; grid-row: 1 / 3; }
.project-detail-title { grid-column: 2; grid-row: 1; }
.project-detail-brief { grid-column: 2; grid-row: 2; }
.project-detail-code a,
.project-detail-code span { display: block; }
.project-detail-code a { margin-bottom: 26px; color: #76bd95; font-size: .66rem; font-weight: 700; text-decoration: none; }
.project-detail-code span { padding-top: 10px; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .3); font-size: .58rem; line-height: 1.7; }
.project-detail-title > p { margin: 0 0 18px; color: #76bd95; font-size: .64rem; font-weight: 700; }
body.project-detail-public .project-detail-title h1 { margin: 0; color: #fff; font-size: clamp(2.5rem, 4.5vw, 4.1rem); line-height: 1.1; }
.project-detail-title > div { max-width: 680px; margin-top: 24px; color: rgba(255, 255, 255, .65); font-size: .86rem; line-height: 1.9; }
.project-detail-brief { align-self: end; border-top: 1px solid rgba(255, 255, 255, .36); }
.project-detail-brief > div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.project-detail-brief small,
.project-detail-brief strong { display: block; }
.project-detail-brief small { color: rgba(255, 255, 255, .68); font-size: .57rem; }
.project-detail-brief strong { margin-top: 5px; color: #fff; font-size: .85rem; }
.project-detail-brief > a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 0 16px; color: #fff; background: var(--exchange-green); font-size: .7rem; font-weight: 700; text-decoration: none; }
.project-detail-visual { grid-column: 3; grid-row: 1 / 3; min-height: 430px; overflow: hidden; background: #090b09; border: 1px solid rgba(255, 255, 255, .2); }
.project-detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.project-detail-content { padding: clamp(70px, 8vw, 112px) 0; }
.project-detail-grid { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr); gap: clamp(60px, 9vw, 130px); }
.project-detail-description > span,
.project-detail-deliverables > span,
.related-projects-section header > span { color: var(--exchange-green); font-size: .61rem; font-weight: 700; }
body.project-detail-public .project-detail-description h2 { margin: 42px 0 18px; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.project-detail-description p { margin: 0; color: #57544e; font-size: .82rem; line-height: 2; }
.project-detail-deliverables ol { margin: 38px 0 0; padding: 0; border-top: 2px solid var(--exchange-ink); list-style: none; }
.project-detail-deliverables li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; min-height: 76px; align-items: center; border-bottom: 1px solid var(--exchange-line); }
.project-detail-deliverables li bdi { color: var(--exchange-green); font-size: .61rem; }
.project-detail-deliverables li strong { font-size: .78rem; }
.project-detail-note { padding: 38px 0; color: #fff; background: var(--exchange-green); }
.project-detail-note > .container { display: grid; grid-template-columns: 160px 1fr auto; gap: 34px; align-items: center; }
.project-detail-note span { font-size: .62rem; font-weight: 700; }
.project-detail-note p { margin: 0; color: rgba(255, 255, 255, .73); font-size: .75rem; line-height: 1.8; }
.project-detail-note a { padding-bottom: 6px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .65); font-size: .68rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.related-projects-section { padding: clamp(64px, 7vw, 96px) 0; background: var(--exchange-white); }
.related-projects-section header { display: grid; grid-template-columns: 120px 1fr; gap: 38px; margin-bottom: 34px; }
body.project-detail-public .related-projects-section h2 { margin: 0; font-size: 2rem; }
.related-projects-section .container > div { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--exchange-ink); }
.related-projects-section .container > div > a { display: flex; min-height: 190px; flex-direction: column; padding: 25px; color: var(--exchange-ink); border-left: 1px solid var(--exchange-line); text-decoration: none; }
.related-projects-section .container > div > a:last-child { border-left: 0; }
.related-projects-section a span { color: var(--exchange-green); font-size: .58rem; }
.related-projects-section a strong { margin-top: 35px; font-size: 1rem; }
.related-projects-section a i { margin-top: auto; color: var(--exchange-green); }

.catalog-project-target { display: grid; grid-template-columns: 78px 1fr auto; gap: 18px; align-items: stretch; max-width: 800px; margin: 0 auto 30px; color: #fff; background: var(--exchange-ink); border-right: 6px solid var(--exchange-green); }
.catalog-project-target-code { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 15px 8px; color: #76bd95; border-left: 1px solid rgba(255, 255, 255, .16); font-size: .55rem; }
.catalog-project-target-code bdi { color: #fff; font-size: 1.1rem; font-weight: 700; }
.catalog-project-target > div:nth-child(2) { align-self: center; padding: 16px 0; }
.catalog-project-target small,
.catalog-project-target strong,
.catalog-project-target span { display: block; }
.catalog-project-target > div:nth-child(2) small { color: #76bd95; font-size: .57rem; }
.catalog-project-target > div:nth-child(2) strong { margin: 4px 0; font-size: .86rem; }
.catalog-project-target > div:nth-child(2) span { color: rgba(255, 255, 255, .5); font-size: .61rem; line-height: 1.65; }
.catalog-project-target-price { align-self: center; padding: 16px 20px; border-right: 1px solid rgba(255, 255, 255, .16); }
.catalog-project-target-price small { color: rgba(255, 255, 255, .68); font-size: .55rem; }
.catalog-project-target-price strong { margin-top: 4px; font-size: .73rem; white-space: nowrap; }

@media (max-width: 1080px) {
  .ready-catalog-intro { grid-template-columns: 76px 1fr; }
  .ready-catalog-intro > p,
  .ready-catalog-intro .home-text-link { grid-column: 2; }
  .ready-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .ready-project-card:nth-child(2) { border-left: 0; }
  .ready-project-card:nth-child(-n+2) { border-bottom: 1px solid var(--exchange-line); }
  .market-reference-strip { grid-template-columns: 1fr; }
  .market-reference-head { border-bottom: 1px solid rgba(255, 255, 255, .16); border-left: 0; }
  .market-reference-head h3 { margin-top: 30px; }
  .projects-public-head { grid-template-columns: 76px 1fr; }
  .projects-head-note { grid-column: 2; }
  .catalog-project-row { grid-template-columns: 220px 58px 1fr minmax(190px, .55fr); }
  .catalog-row-scope { display: none; }
  .project-detail-head { grid-template-columns: 90px 1fr; }
  .project-detail-code { grid-column: 1; grid-row: 1 / 3; }
  .project-detail-title { grid-column: 2; grid-row: 1; }
  .project-detail-brief { grid-column: 2; grid-row: 2; }
  .project-detail-visual { grid-column: 1 / -1; grid-row: 3; min-height: 360px; }
}

@media (max-width: 720px) {
  .ready-catalog-intro,
  .projects-public-head,
  .project-detail-head,
  .project-detail-grid { grid-template-columns: 1fr; }
  .ready-catalog-intro > p,
  .ready-catalog-intro .home-text-link,
  .projects-head-note,
  .project-detail-brief { grid-column: 1; }
  .ready-catalog-grid { grid-template-columns: 1fr; }
  .ready-project-card { min-height: 470px; border-bottom: 1px solid var(--exchange-line); border-left: 0; }
  .ready-project-card:last-child { border-bottom: 0; }
  .market-reference-list { grid-template-columns: 1fr; }
  .market-reference-list > a { min-height: 210px; border-bottom: 1px solid rgba(255, 255, 255, .13); border-left: 0; }
  .projects-public-head { gap: 22px; }
  .projects-page-code { width: 76px; }
  .projects-hero-legend { display: none; }
  body.projects-public-page .projects-public-head h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .catalog-project-row { grid-template-columns: 46px 1fr; }
  .catalog-project-row > * { padding: 22px 16px; }
  .catalog-row-visual { grid-column: 1 / -1; min-height: 220px; border-bottom: 1px solid var(--exchange-line); border-left: 0; }
  .catalog-row-commercial { grid-column: 1 / -1; min-height: 170px; border-top: 1px solid var(--exchange-line); border-left: 0; }
  .project-detail-code,
  .project-detail-title,
  .project-detail-brief,
  .project-detail-visual { grid-column: 1; grid-row: auto; }
  .project-detail-visual { min-height: 250px; }
  .project-detail-code { display: flex; align-items: flex-start; justify-content: space-between; }
  .project-detail-code span { max-width: 150px; }
  body.project-detail-public .project-detail-title h1 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .project-detail-note > .container { grid-template-columns: 1fr; gap: 20px; }
  .related-projects-section header { grid-template-columns: 1fr; gap: 18px; }
  .related-projects-section .container > div { grid-template-columns: 1fr; }
  .related-projects-section .container > div > a { min-height: 160px; border-bottom: 1px solid var(--exchange-line); border-left: 0; }
  .catalog-project-target { grid-template-columns: 62px 1fr; }
  .catalog-project-target-price { grid-column: 1 / -1; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .16); border-right: 0; }
}

body .nav-menu a.nav-hiring-link {
  color: #fff;
  background: #075d43;
}
body .nav-menu a.nav-hiring-link:hover {
  color: #fff;
  background: #064b37;
}

/* عناوين هادئة تحافظ على وضوح الرسالة من دون استهلاك مساحة الشاشة. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.market-hero h1,
.neo-hero h1,
.editorial-hero h1,
.services-editorial-hero h1,
body.project-store-page .project-store-copy h1,
body.projects-public-page .projects-public-head h1,
body.project-detail-public .project-detail-title h1,
body.public-directory .talent-selector-copy h1,
body.public-directory .directory-public-head h1,
body.public-tech-profile .tech-profile-main h1,
body.legal-ledger .privacy-title,
body.legal-ledger .terms-title,
.hiring-request-page .hiring-intro h1,
.hiring-dashboard-head h1,
.legal-builder-hero h1 {
  font-size: clamp(2.1rem, 3.15vw, 2.85rem);
  line-height: 1.16;
}

.exchange-section-head h2,
.entry-panel h2,
.exchange-contact h2,
.editorial-section-head h2,
.scope-grid h2,
.manifesto-grid h2,
.editorial-cta h2,
.home-section-intro h2,
.control-copy h2,
.home-final-cta h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  line-height: 1.18;
}

.notifications-page .section-title {
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  line-height: 1.2;
}

@media (max-width: 700px) {
  .market-hero h1,
  .neo-hero h1,
  .editorial-hero h1,
  .services-editorial-hero h1,
  body.project-store-page .project-store-copy h1,
  body.projects-public-page .projects-public-head h1,
  body.project-detail-public .project-detail-title h1,
  body.public-directory .talent-selector-copy h1,
  body.public-directory .directory-public-head h1,
  body.public-tech-profile .tech-profile-main h1,
  body.legal-ledger .privacy-title,
  body.legal-ledger .terms-title,
  .hiring-request-page .hiring-intro h1,
  .hiring-dashboard-head h1,
  .legal-builder-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
    line-height: 1.2;
  }

  .exchange-section-head h2,
  .entry-panel h2,
  .exchange-contact h2,
  .editorial-section-head h2,
  .scope-grid h2,
  .manifesto-grid h2,
  .editorial-cta h2,
  .home-section-intro h2,
  .control-copy h2,
  .home-final-cta h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.15rem);
  }
}

/* White trust foundation and a single, calm entry journey. */
body.site-shell,
body.admin-shell,
body.exchange-home,
body.workspace-page,
body.auth-shell,
body.public-directory,
body.public-tech-profile,
body.projects-public-page,
body.project-detail-public {
  background: #fff;
}

body.public-directory {
  --talent-paper: #fff;
  --talent-white: #fff;
  --talent-line: #dfe5e1;
}

body.site-shell .main-header,
body.workspace-page .main-header,
body.auth-shell .main-header,
body.exchange-home .main-header {
  background: rgba(255, 255, 255, .97);
  border-color: var(--neo-line);
}

.market-hero-lead,
.home-section-intro > p,
.control-copy p,
.audience-routes p,
.specialty-index small {
  color: #56615a;
}

body .nav-menu a.nav-hiring-link,
body.exchange-home .nav-menu a.nav-hiring-link {
  padding-inline: 11px;
  color: var(--neo-ink);
  background: transparent;
  border-radius: 8px;
}
body .nav-menu a.nav-hiring-link:hover,
body.exchange-home .nav-menu a.nav-hiring-link:hover {
  color: var(--neo-green);
  background: #f1f6f3;
}

body.exchange-home .security-alert-wrapper {
  color: var(--exchange-ink);
  background: #f4f8f5;
  border-bottom: 1px solid #dce7df;
}
body.exchange-home .security-container { min-height: 42px; }
body.exchange-home .security-code {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--exchange-green);
}
body.exchange-home .security-desc { color: #4f5d54; }
body.exchange-home .security-close-btn { color: #66736a; }

.market-hero { background: #fff; border-color: var(--exchange-line); }
.market-hero-shell {
  grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 5vw, 72px);
  padding-block: clamp(48px, 6vw, 82px);
}
.market-hero-copy { justify-content: center; }
.market-kicker { color: #546159; border-color: var(--exchange-line); }
.market-hero h1 { max-width: 680px; margin-block: clamp(30px, 4vw, 48px) 20px; }
.market-hero-lead { max-width: 620px; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.85; }

.market-need-form {
  margin-top: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid #cfd9d2;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(16, 38, 25, .07);
}
.market-need-form > label {
  display: block;
  margin-bottom: 9px;
  color: var(--exchange-ink);
  font-size: .82rem;
  font-weight: 700;
}
.market-need-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.market-need-control textarea {
  width: 100%;
  min-height: 84px;
  padding: 13px 14px;
  color: var(--exchange-ink);
  background: #fbfcfb;
  border: 1px solid #d7e0da;
  border-radius: 10px;
  outline: 0;
  resize: none;
  font: inherit;
  font-size: .88rem;
  line-height: 1.65;
}
.market-need-control textarea::placeholder { color: #7b867f; opacity: 1; }
.market-need-control textarea:focus { background: #fff; border-color: var(--exchange-green); box-shadow: 0 0 0 3px rgba(8, 100, 63, .1); }
.market-need-control button {
  display: inline-flex;
  min-width: 126px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  color: #fff;
  background: var(--exchange-green);
  border: 1px solid var(--exchange-green);
  border-radius: 10px;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.market-need-control button:hover { background: var(--exchange-green-dark); }
.market-need-form > p { margin: 10px 0 0; color: #68746c; font-size: .7rem; line-height: 1.6; }
.market-secondary-routes { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 18px; }
.market-secondary-routes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  color: var(--exchange-green);
  border-bottom: 1px solid #bfd1c5;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}

.market-tech-visual {
  min-height: 560px;
  background: #eef3ef;
  border: 1px solid #d7e0da;
  border-bottom: 0;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(16, 38, 25, .1);
}
.market-tech-visual::after { background: linear-gradient(180deg, transparent 46%, rgba(8, 18, 12, .78) 100%); }
.market-tech-visual > img { object-position: 50% center; }
.market-tech-caption { right: 22px; bottom: 23px; }
.market-tech-visual > a { bottom: 23px; left: 22px; }

.market-assurances { border-color: var(--exchange-line); background: #fff; }
.market-assurances span { color: #4e5a52; border-color: var(--exchange-line); }
.ready-catalog-section,
.home-flow,
.project-control-section,
.audience-section,
.specialties-section,
.directory-public-hero,
.directory-public-results,
.tech-profile-public-hero,
.tech-profile-public-content,
.projects-public-hero,
.projects-catalog-section { background: #fff; }

.ready-project-card,
.audience-routes article,
.public-tech-card,
.catalog-project-row { background: #fff; }

/* Directory cards stay information-rich without shrinking essential text. */
.talent-results-help { color: #556159; font-size: .72rem; }
.talent-profile-card { gap: 2px; padding: 22px; }
.talent-compare-control > span,
.talent-verified-badge { font-size: .66rem; }
body.public-directory .talent-card-person p { color: #4f5b53; font-size: .75rem; }
.talent-card-meta { font-size: .64rem; }
.talent-card-metrics small,
.talent-card-skills > small { color: #626e66; font-size: .61rem; }
.talent-card-metrics strong { font-size: .88rem; }
.talent-card-metrics strong span,
.talent-card-metrics em { font-size: .58rem; }
.talent-card-skills span { color: #485149; background: #f3f6f4; font-size: .64rem; }
.talent-card-actions a { min-height: 50px; font-size: .7rem; }

@media (max-width: 1100px) {
  .market-hero-shell { grid-template-columns: 1fr; }
  .market-tech-visual { min-height: min(620px, 68vw); }
}

@media (max-width: 700px) {
  body.exchange-home .security-container { padding-left: 38px; }
  body.exchange-home .security-code { display: none; }
  .market-hero-shell { padding-block: 36px 50px; }
  .market-kicker { margin-bottom: 0; }
  .market-hero h1 { margin-block: 28px 17px; }
  .market-need-form { padding: 13px; border-radius: 13px; }
  .market-need-control { grid-template-columns: 1fr; }
  .market-need-control button { min-height: 48px; }
  .market-tech-visual { min-height: 430px; border-radius: 16px; }
  .market-tech-caption { right: 16px; bottom: 55px; }
  .market-tech-visual > a { right: 16px; bottom: 18px; left: auto; }
  .market-assurances span { padding-block: 14px; }
}

/* Home command hero — direct entry without an unnecessary brief field. */
.home-command-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 12%, rgba(8, 100, 63, .08), transparent 26%),
    linear-gradient(180deg, #fbfdfc 0%, #f5f8f6 100%);
  border-bottom: 1px solid var(--exchange-line);
}
.home-command-hero::before {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(8, 100, 63, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 100, 63, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to left, #000, transparent 62%);
  content: "";
  pointer-events: none;
}
.home-command-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(52px, 6vw, 84px);
}
.home-command-copy { min-width: 0; }
.home-command-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  color: #425047;
  border-bottom: 1px solid #cfdbd3;
  font-size: .7rem;
  font-weight: 700;
}
.home-command-kicker > span { display: inline-flex; align-items: center; gap: 9px; }
.home-command-kicker i { width: 7px; height: 7px; background: var(--exchange-green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(8, 100, 63, .1); }
.home-command-kicker b { color: #718078; font-size: .63rem; font-weight: 700; }
.home-command-copy h1 {
  max-width: 720px;
  margin: clamp(30px, 4vw, 50px) 0 20px;
  color: var(--exchange-ink);
  font-size: clamp(2.55rem, 4.45vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.home-command-copy h1 span { color: var(--exchange-green); }
.home-command-copy > p {
  max-width: 650px;
  margin: 0;
  color: #536159;
  font-size: clamp(.96rem, 1.12vw, 1.06rem);
  line-height: 1.9;
}
.home-command-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}
.home-command-actions > a {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #bac9bf;
  border-radius: 13px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.home-command-actions > a:hover { transform: translateY(-2px); }
.home-command-actions span,
.home-command-actions small,
.home-command-actions strong { display: block; }
.home-command-actions small { margin-bottom: 4px; font-size: .62rem; font-weight: 700; }
.home-command-actions strong { font-size: .82rem; }
.home-command-primary { color: #fff; background: var(--exchange-green); border-color: var(--exchange-green) !important; }
.home-command-primary small { color: rgba(255, 255, 255, .68); }
.home-command-primary:hover { color: #fff; background: var(--exchange-green-dark); }
.home-command-secondary { color: var(--exchange-ink); background: rgba(255, 255, 255, .85); }
.home-command-secondary small { color: #68766e; }
.home-command-secondary:hover { color: var(--exchange-green); border-color: #7ea28b; background: #fff; }
.home-command-actions > a > i { flex: none; font-size: .76rem; }
.home-command-hiring {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  color: #264233;
  border: 1px solid #d4dfd7;
  border-radius: 11px;
  text-decoration: none;
}
.home-command-hiring > i:first-child { width: 28px; height: 28px; display: grid; place-items: center; color: var(--exchange-green); background: #e7f1eb; border-radius: 8px; }
.home-command-hiring span { display: grid; gap: 2px; }
.home-command-hiring strong { font-size: .72rem; }
.home-command-hiring small { color: #69776f; font-size: .62rem; }
.home-command-hiring > i:last-child { color: var(--exchange-green); font-size: .7rem; }
.home-command-hiring:hover { color: var(--exchange-green); border-color: #9cb7a6; background: #fff; }

.home-command-visual {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  color: #fff;
  background: #061711;
  border: 1px solid #163526;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(10, 42, 26, .16);
}
.home-command-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 11, .5), transparent 25%, transparent 65%, rgba(3, 17, 11, .78));
  content: "";
  pointer-events: none;
}
.home-command-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-command-visual-head,
.home-command-visual-foot { position: absolute; z-index: 1; right: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-command-visual-head { top: 17px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .22); font-size: .62rem; font-weight: 700; }
.home-command-visual-head bdi { color: #70ce9a; font-size: .59rem; letter-spacing: .04em; }
.home-command-visual-foot { bottom: 17px; justify-content: flex-start; flex-wrap: wrap; }
.home-command-visual-foot span { padding: 8px 10px; color: rgba(255, 255, 255, .88); background: rgba(4, 22, 14, .78); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; backdrop-filter: blur(8px); font-size: .6rem; font-weight: 700; }

.home-command-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #ccd8d0;
}
.home-command-proof > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; min-height: 88px; padding: 15px 20px; border-left: 1px solid #d5dfd8; }
.home-command-proof > div:last-child { border-left: 0; }
.home-command-proof bdi { color: var(--exchange-green); font-size: .65rem; font-weight: 800; }
.home-command-proof span { display: grid; gap: 3px; }
.home-command-proof strong { color: #27372e; font-size: .72rem; }
.home-command-proof small { color: #718078; font-size: .61rem; }

@media (max-width: 1050px) {
  .home-command-shell { grid-template-columns: 1fr; }
  .home-command-copy { max-width: 760px; }
  .home-command-visual { min-height: min(520px, 62vw); }
}

@media (max-width: 650px) {
  .home-command-hero::before { opacity: .17; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
  .home-command-shell { gap: 30px; padding-block: 30px 34px; }
  .home-command-kicker { font-size: .62rem; }
  .home-command-kicker b { display: none; }
  .home-command-copy h1 { margin-block: 28px 16px; font-size: clamp(2.15rem, 10.6vw, 2.75rem); line-height: 1.16; }
  .home-command-copy > p { font-size: .9rem; line-height: 1.8; }
  .home-command-actions { grid-template-columns: 1fr; margin-top: 24px; }
  .home-command-actions > a { min-height: 70px; }
  .home-command-hiring small { font-size: .58rem; }
  .home-command-visual { min-height: 285px; border-radius: 15px; }
  .home-command-visual-head { right: 14px; left: 14px; }
  .home-command-visual-foot { right: 12px; bottom: 12px; left: 12px; gap: 6px; }
  .home-command-visual-foot span { padding: 7px 8px; }
  .home-command-proof > div { grid-template-columns: 1fr; gap: 4px; min-height: 70px; padding: 12px 7px; text-align: center; }
  .home-command-proof small { display: none; }
}

/* Account entry — short phone-first journey */
.auth-flow-page .main-header,
.auth-flow-page .main-footer { display: none; }
.auth-flow-page .main-content { min-height: 100svh; padding: 0; background: #f4f6f3; }
.auth-flow {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 54px) 16px;
  background:
    radial-gradient(circle at 12% 15%, rgba(10, 101, 64, .08), transparent 25%),
    linear-gradient(135deg, #f7f8f5 0%, #eef3ef 100%);
}
.auth-flow-shell { width: min(100%, 590px); }
.auth-flow-shell-login { width: min(100%, 530px); }
.auth-flow-topline { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; margin-bottom: 14px; color: #657169; font-size: .68rem; font-weight: 800; }
.auth-flow-topline > a { width: 42px; height: 42px; display: grid; place-items: center; color: #163429; background: #fff; border: 1px solid #dbe3dc; border-radius: 12px; }
.auth-flow-topline > span { color: #24372e; }
.auth-flow-topline bdi { color: #78847d; font-size: .61rem; }
.auth-flow-progress { height: 3px; margin-bottom: 12px; overflow: hidden; background: #dce4de; border-radius: 999px; }
.auth-flow-progress i { height: 100%; display: block; margin-right: 0; background: #08643f; border-radius: inherit; transition: width .25s ease; }
.auth-flow-card { padding: clamp(28px, 6vw, 48px); background: rgba(255, 255, 255, .96); border: 1px solid #dce3dd; border-radius: 22px; box-shadow: 0 24px 70px rgba(22, 51, 40, .09); }
.auth-flow-header { margin-bottom: 28px; }
.auth-flow-kicker { display: block; margin-bottom: 10px; color: #087448; font-size: .64rem; font-weight: 900; }
.auth-flow-header h1 { margin: 0 0 8px; color: #14251e; font-size: clamp(1.65rem, 5vw, 2.25rem); line-height: 1.25; letter-spacing: -.025em; }
.auth-flow-header p { margin: 0; color: #69766f; font-size: .75rem; line-height: 1.7; }
.auth-flow-form { display: grid; gap: 12px; }
.auth-role-grid { display: grid; gap: 10px; }
.auth-role-option { position: relative; display: grid; grid-template-columns: 46px 1fr 18px; grid-template-rows: auto auto; align-items: center; gap: 2px 13px; padding: 16px; cursor: pointer; border: 1px solid #d9e1db; border-radius: 14px; transition: border-color .15s, background .15s, transform .15s; }
.auth-role-option:hover { transform: translateY(-1px); border-color: #7da18c; background: #f8fbf9; }
.auth-role-option:has(input:checked) { border-color: #087448; background: #f0f7f3; box-shadow: 0 0 0 2px rgba(8, 116, 72, .08); }
.auth-role-option input { position: absolute; opacity: 0; pointer-events: none; }
.auth-role-icon { grid-row: 1 / 3; width: 46px; height: 46px; display: grid; place-items: center; color: #087448; background: #e6f1eb; border-radius: 12px; font-size: 1rem; }
.auth-role-option strong { color: #1c3027; font-size: .78rem; }
.auth-role-option small { color: #6d7972; font-size: .63rem; line-height: 1.6; }
.auth-role-option > i { grid-column: 3; grid-row: 1 / 3; color: #7f8b84; font-size: .65rem; }
.auth-field-label { margin-top: 3px; color: #34473e; font-size: .67rem; font-weight: 800; }
.auth-field-label small { color: #7a867f; font-size: .58rem; font-weight: 700; }
.auth-text-field,
.auth-code-field,
.auth-flow-form .input,
.auth-phone-field { width: 100%; min-height: 54px; border: 1px solid #cfd9d2; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.auth-text-field,
.auth-code-field,
.auth-flow-form .input { padding: 0 15px; color: #16271f; font: inherit; font-size: .78rem; }
.auth-text-field:focus,
.auth-code-field:focus,
.auth-flow-form .input:focus,
.auth-phone-field:focus-within { outline: none; border-color: #087448; box-shadow: 0 0 0 3px rgba(8, 116, 72, .1); }
.auth-phone-field { display: grid; grid-template-columns: auto 1fr; align-items: center; overflow: hidden; }
.auth-phone-field span { height: 100%; display: grid; place-items: center; padding: 0 15px; color: #365148; background: #eef3ef; border-right: 1px solid #d7dfd9; font: 800 .78rem/1 system-ui; }
.auth-phone-field input { min-width: 0; height: 100%; padding: 0 15px; border: 0; outline: 0; color: #16271f; background: transparent; font: 700 .86rem/1 system-ui; letter-spacing: .04em; }
.auth-code-field { text-align: center; font: 800 1.5rem/1 system-ui; letter-spacing: .45em; }
.auth-primary,
.auth-secondary { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; padding: 0 18px; cursor: pointer; border: 1px solid #08643f; border-radius: 12px; color: #fff; background: #08643f; font: 900 .76rem/1 inherit; transition: transform .15s, background .15s; }
.auth-primary:hover { transform: translateY(-1px); color: #fff; background: #064d31; }
.auth-secondary { color: #08643f; background: #fff; }
.auth-back-form { margin-top: 13px; text-align: center; }
.auth-back-form button { padding: 6px; cursor: pointer; border: 0; color: #65736b; background: transparent; font: 800 .65rem/1 inherit; }
.auth-flow-login { margin-top: 28px; padding-top: 18px; border-top: 1px solid #e2e8e3; color: #6d7972; text-align: center; font-size: .66rem; }
.auth-flow-login a,
.auth-flow-legal a,
.auth-reset-link { color: #087448; font-weight: 900; }
.auth-flow-legal { margin: 13px 0 0; color: #8a948e; text-align: center; font-size: .55rem; line-height: 1.7; }
.auth-legacy-login { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e2e8e3; }
.auth-legacy-login summary { cursor: pointer; color: #66746c; text-align: center; font-size: .64rem; font-weight: 800; }
.auth-legacy-login[open] summary { margin-bottom: 16px; }
.auth-reset-link { justify-self: center; font-size: .62rem; }
.auth-field-error { color: #9c2d2d; font-size: .6rem; }

@media (max-width: 580px) {
  .auth-flow { place-items: start center; padding: 16px 10px 32px; }
  .auth-flow-card { padding: 26px 20px; border-radius: 17px; }
  .auth-flow-header { margin-bottom: 22px; }
  .auth-flow-header h1 { font-size: 1.65rem; }
  .auth-role-option { grid-template-columns: 42px 1fr 14px; padding: 14px 12px; }
  .auth-role-icon { width: 42px; height: 42px; }
}

.provider-progress-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr) auto; align-items: center; gap: 24px; padding: 23px 25px; color: #fff; background: #0a3022; border: 1px solid #18513b; border-radius: 16px; }
.provider-progress-copy span { color: #78c99e; font-size: .61rem; font-weight: 900; }
.provider-progress-copy h2 { margin: 5px 0 3px; color: #fff; font-size: 1.05rem; }
.provider-progress-copy p { margin: 0; color: #afc5ba; font-size: .63rem; }
.provider-progress-meter { display: grid; gap: 7px; }
.provider-progress-meter strong { color: #fff; font-size: .82rem; }
.provider-progress-meter > span { height: 6px; overflow: hidden; background: rgba(255,255,255,.14); border-radius: 99px; }
.provider-progress-meter i { width: var(--profile-progress); height: 100%; display: block; background: #6bd097; border-radius: inherit; }
.provider-progress-card > .app-button { white-space: nowrap; background: #fff; color: #075536; border-color: #fff; }
@media (max-width: 780px) {
  .provider-progress-card { grid-template-columns: 1fr; gap: 15px; }
  .provider-progress-card > .app-button { justify-self: stretch; }
}
