/* =====================================================================
   Meridian — design system
   A classic, professional identity: deep blue, ivory paper, quiet gold.
   ===================================================================== */

/* ------------------------------------------------------------- tokens */
:root {
  /* brand blues */
  --brand-950:#08203A;
  --brand-900:#0B2A45;
  --brand-800:#123B63;
  --brand-700:#174A73;
  --brand-600:#1E5C8C;
  --brand-500:#2A72A8;
  --brand-400:#4A90C2;
  --brand-300:#8FB9D8;
  --brand-200:#BFD6E8;
  --brand-100:#DCE9F4;
  --brand-50: #EFF5FA;

  /* supporting */
  --teal-700:#0F5F5A;
  --teal-600:#14776F;
  --teal-500:#1B9187;
  --teal-100:#DCF0ED;
  --gold-700:#7E5C12;
  --gold-600:#9A7118;
  --gold-500:#B98A2E;
  --gold-300:#E2C892;
  --gold-100:#F7EFDC;

  /* neutrals */
  --ink-900:#0A1F33;
  --ink-800:#122B41;
  --ink-700:#22405A;
  --ink-600:#3B5670;
  --ink-500:#5A7186;
  --ink-400:#7A8DA0;
  --ink-300:#9FAFBE;

  --paper:#FFFFFF;
  --ivory:#FBFAF7;
  --surface:#F5F8FB;
  --surface-2:#EDF2F7;
  --line:#E4E9F0;
  --line-strong:#D2DBE6;

  --ok-600:#1F7A4D; --ok-100:#DFF3E7;
  --warn-600:#9A6B12; --warn-100:#FBEFD6;
  --danger-600:#A32E2E; --danger-100:#FAE3E3;

  /* shape */
  --r-xs:6px; --r-sm:9px; --r:12px; --r-lg:16px; --r-xl:22px; --r-pill:999px;

  --shadow-xs:0 1px 2px rgba(11,42,69,.06);
  --shadow-sm:0 2px 6px rgba(11,42,69,.06), 0 1px 2px rgba(11,42,69,.04);
  --shadow-md:0 10px 28px rgba(11,42,69,.09), 0 2px 6px rgba(11,42,69,.05);
  --shadow-lg:0 22px 56px rgba(11,42,69,.14), 0 4px 12px rgba(11,42,69,.06);
  --shadow-ring:0 0 0 4px rgba(30,92,140,.14);

  --font-display:'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --nav-h:74px;
  --container:1220px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* -------------------------------------------------------------- reset */
*,*::before,*::after { box-sizing:border-box; }
* { margin:0; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body {
  font-family:var(--font-body);
  font-size:16px; line-height:1.6;
  color:var(--ink-700);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
img,video { display:block; max-width:100%; }
svg { max-width:100%; }
.ico { display:inline-block; vertical-align:-.18em; flex:none; }
button,input,select,textarea { font:inherit; color:inherit; }
a { color:var(--brand-700); text-decoration:none; transition:color .18s var(--ease); }
a:hover { color:var(--brand-500); }
ul,ol { padding:0; list-style:none; }
h1,h2,h3,h4,h5 { font-family:var(--font-display); color:var(--ink-900); line-height:1.18; font-weight:700; letter-spacing:-.018em; }
h1 { font-size:clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size:clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size:clamp(1.18rem, 1.05rem + .5vw, 1.5rem); }
h4 { font-size:1.06rem; }
p  { color:var(--ink-600); }
::selection { background:var(--brand-100); color:var(--brand-900); }
:focus-visible { outline:2px solid var(--brand-500); outline-offset:2px; border-radius:4px; }

/* ------------------------------------------------------------ layout */
.container { width:100%; max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.container-narrow { max-width:860px; }
.container-wide { max-width:1400px; }
.section { padding:88px 0; }
.section-sm { padding:56px 0; }
.section-tight { padding:40px 0; }
.bg-paper { background:var(--paper); }
.bg-ivory { background:var(--ivory); }
.bg-surface { background:var(--surface); }
.bg-brand { background:var(--brand-800); color:#fff; }
.bg-mesh {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(42,114,168,.14), transparent 60%),
    radial-gradient(700px 380px at 92% 6%, rgba(27,145,135,.10), transparent 62%),
    var(--ivory);
}
.rule { height:1px; background:var(--line); border:0; }

.grid { display:grid; gap:24px; }
.g-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.g-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.g-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.stack { display:flex; flex-direction:column; }
.row { display:flex; align-items:center; }
.row-between { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.wrap { flex-wrap:wrap; }
.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}
.gap-16{gap:16px}.gap-20{gap:20px}.gap-24{gap:24px}.gap-32{gap:32px}
.mt-4{margin-top:4px}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}
.mt-20{margin-top:20px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}
.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}.mb-40{margin-bottom:40px}
.ml-auto{margin-left:auto}.text-center{text-align:center}.text-right{text-align:right}
.flex-1{flex:1}.w-full{width:100%}.hidden{display:none!important}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* --------------------------------------------------------- typography */
.eyebrow {
  font-family:var(--font-display);
  font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--brand-600); display:inline-flex; align-items:center; gap:8px;
}
.eyebrow::before { content:''; width:22px; height:1.5px; background:var(--gold-500); }
.eyebrow.on-dark { color:var(--brand-200); }
.lead { font-size:1.125rem; line-height:1.68; color:var(--ink-500); }
.muted { color:var(--ink-500); }
.small { font-size:.875rem; }
.tiny { font-size:.78rem; }
.strong { font-weight:600; color:var(--ink-900); }
.display-serif { font-family:var(--font-display); }
.section-head { max-width:660px; margin-bottom:44px; }
.section-head.center { margin-inline:auto; text-align:center; }
.section-head h2 { margin:14px 0 12px; }
.balance { text-wrap:balance; }

/* ------------------------------------------------------------ buttons */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-display); font-weight:600; font-size:.94rem; letter-spacing:-.005em;
  padding:12px 22px; border-radius:var(--r-sm); border:1px solid transparent;
  cursor:pointer; white-space:nowrap; position:relative;
  transition:transform .18s var(--ease), box-shadow .22s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform:translateY(1px); }
.btn .ico { flex:none; }
.btn-primary { background:var(--brand-800); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover { background:var(--brand-700); color:#fff; box-shadow:var(--shadow-md); transform:translateY(-1px); }
.btn-dark { background:var(--brand-950); color:#fff; }
.btn-dark:hover { background:var(--brand-900); color:#fff; transform:translateY(-1px); }
.btn-ghost { background:transparent; color:var(--brand-800); border-color:var(--line-strong); }
.btn-ghost:hover { background:var(--brand-50); border-color:var(--brand-300); color:var(--brand-800); }
.btn-outline-light { background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.btn-outline-light:hover { background:rgba(255,255,255,.12); border-color:#fff; color:#fff; }
.btn-soft { background:var(--brand-50); color:var(--brand-800); border-color:var(--brand-100); }
.btn-soft:hover { background:var(--brand-100); color:var(--brand-900); }
.btn-gold { background:linear-gradient(180deg,var(--gold-500),var(--gold-600)); color:#fff; box-shadow:0 2px 10px rgba(154,113,24,.25); }
.btn-gold:hover { color:#fff; filter:brightness(1.05); transform:translateY(-1px); }
.btn-teal { background:var(--teal-600); color:#fff; }
.btn-teal:hover { background:var(--teal-500); color:#fff; }
.btn-danger { background:var(--danger-600); color:#fff; }
.btn-danger:hover { filter:brightness(1.08); color:#fff; }
.btn-white { background:#fff; color:var(--brand-800); box-shadow:var(--shadow-sm); }
.btn-white:hover { color:var(--brand-900); box-shadow:var(--shadow-md); transform:translateY(-1px); }
.btn-lg { padding:15px 30px; font-size:1rem; }
.btn-sm { padding:8px 15px; font-size:.85rem; border-radius:var(--r-xs); }
.btn-block { width:100%; }
.btn[disabled],.btn.is-disabled { opacity:.55; pointer-events:none; }
.btn-link { background:none; border:0; padding:0; color:var(--brand-700); font-weight:600; cursor:pointer; }
.btn-icon { padding:9px; border-radius:var(--r-sm); background:transparent; border:1px solid var(--line); color:var(--ink-600); cursor:pointer; display:inline-flex; }
.btn-icon:hover { background:var(--surface); color:var(--brand-700); border-color:var(--line-strong); }

/* ------------------------------------------------------------- header */
.site-header {
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.88); backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { box-shadow:0 6px 24px rgba(11,42,69,.07); }
.nav { display:flex; align-items:center; gap:22px; height:var(--nav-h); }
.brand { display:inline-flex; align-items:center; gap:11px; flex:none; }
.brand-mark { width:36px; height:36px; flex:none; }
.brand-name {
  font-family:var(--font-display); font-weight:800; font-size:1.24rem;
  color:var(--brand-900); letter-spacing:-.03em;
}
.brand-name span { color:var(--gold-600); }
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-link {
  font-size:.9rem; font-weight:500; color:var(--ink-600); white-space:nowrap;
  padding:9px 11px; border-radius:var(--r-sm); position:relative;
  transition:color .18s var(--ease), background .18s var(--ease);
}
.nav-link:hover { color:var(--brand-800); background:var(--brand-50); }
.nav-link.is-active { color:var(--brand-800); font-weight:600; }
.nav-link.is-active::after {
  content:''; position:absolute; left:13px; right:13px; bottom:1px; height:2px;
  background:var(--gold-500); border-radius:2px;
}
.nav-actions { margin-left:auto; display:flex; align-items:center; gap:10px; }
.nav-toggle { display:none; background:none; border:1px solid var(--line); border-radius:var(--r-sm); padding:8px; color:var(--ink-700); cursor:pointer; }

.icon-btn {
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:var(--r-sm);
  border:1px solid var(--line); background:#fff; color:var(--ink-600); cursor:pointer;
  transition:all .18s var(--ease);
}
.icon-btn:hover { color:var(--brand-700); border-color:var(--brand-200); background:var(--brand-50); }
.icon-btn .dot {
  position:absolute; top:6px; right:6px; min-width:16px; height:16px; padding:0 4px;
  background:var(--gold-500); color:#fff; border-radius:var(--r-pill);
  font-size:.62rem; font-weight:700; display:grid; place-items:center; border:2px solid #fff;
  font-family:var(--font-display);
}

/* avatar + menu */
.avatar { border-radius:50%; object-fit:cover; background:var(--brand-100); flex:none; display:block; }
.avatar-ring { box-shadow:0 0 0 2px #fff, 0 0 0 3.5px var(--brand-200); }
.avatar-xs{width:28px;height:28px}.avatar-sm{width:38px;height:38px}
.avatar-md{width:52px;height:52px}.avatar-lg{width:76px;height:76px}
.avatar-xl{width:120px;height:120px}.avatar-2xl{width:156px;height:156px}
.avatar-stack { display:flex; }
.avatar-stack .avatar { margin-left:-10px; border:2.5px solid #fff; }
.avatar-stack .avatar:first-child { margin-left:0; }

.menu-wrap { position:relative; }
.menu-trigger { background:none; border:0; padding:2px; cursor:pointer; border-radius:50%; display:flex; }
.dropdown {
  position:absolute; right:0; top:calc(100% + 12px); min-width:262px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg); padding:8px; z-index:80;
  opacity:0; visibility:hidden; transform:translateY(-6px) scale(.98);
  transition:opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.dropdown.is-open { opacity:1; visibility:visible; transform:none; }
.dropdown-head { padding:12px 12px 12px; border-bottom:1px solid var(--line); margin-bottom:6px; }
.dropdown-item {
  display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:var(--r-sm);
  color:var(--ink-700); font-size:.9rem; font-weight:500; width:100%; background:none; border:0; cursor:pointer; text-align:left;
}
.dropdown-item:hover { background:var(--brand-50); color:var(--brand-800); }
.dropdown-item .ico { color:var(--ink-400); }
.dropdown-item:hover .ico { color:var(--brand-600); }
.dropdown-sep { height:1px; background:var(--line); margin:6px 0; }
.dropdown-wide { min-width:360px; max-height:440px; overflow:auto; }

/* ---------------------------------------------------------- hero home */
.hero {
  position:relative; color:#fff;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(27,145,135,.30), transparent 58%),
    radial-gradient(900px 600px at 8% 110%, rgba(42,114,168,.42), transparent 60%),
    linear-gradient(158deg, var(--brand-950) 0%, var(--brand-800) 52%, var(--brand-700) 100%);
}
.hero::after {
  content:''; position:absolute; inset:0; pointer-events:none; overflow:hidden;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:78px 78px;
  mask-image:radial-gradient(900px 520px at 70% 20%, #000, transparent 78%);
}
.hero-inner { position:relative; z-index:2; padding:92px 0 0; }
@media (max-width:880px){ .hero-inner { padding-top:56px; } .search-console.is-floating { margin-top:40px; } }
.hero-grid { display:grid; grid-template-columns:1.06fr .94fr; gap:60px; align-items:center; }
.hero h1 { color:#fff; margin:20px 0 20px; }
.hero h1 em { font-style:normal; color:var(--gold-300); }
.hero p.lead { color:rgba(232,240,247,.85); max-width:520px; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; margin-top:32px; }
.hero-trust { display:flex; align-items:center; gap:18px; margin-top:40px; flex-wrap:wrap; }
.hero-trust .divider { width:1px; height:34px; background:rgba(255,255,255,.18); }
.hero-trust .stat b { display:block; font-family:var(--font-display); font-size:1.5rem; color:#fff; line-height:1.1; }
.hero-trust .stat span { font-size:.8rem; color:rgba(215,229,240,.72); letter-spacing:.02em; }

/* floating profile collage */
.hero-collage { position:relative; height:520px; }
.float-card {
  position:absolute; background:#fff; border-radius:var(--r-lg); padding:16px;
  box-shadow:var(--shadow-lg); display:flex; gap:13px; align-items:center; width:290px;
  border:1px solid rgba(255,255,255,.6);
  animation:floaty 7s ease-in-out infinite;
}
.float-card h4 { font-size:.95rem; margin-bottom:2px; }
.float-card p { font-size:.79rem; color:var(--ink-500); line-height:1.4; }
.float-card .meta { display:flex; align-items:center; gap:6px; margin-top:6px; font-size:.72rem; color:var(--ink-400); }
.fc-1 { top:14px; left:0; animation-delay:0s; }
.fc-2 { top:150px; right:0; animation-delay:1.1s; }
.fc-3 { top:296px; left:26px; animation-delay:2.2s; }
.fc-4 {
  top:432px; right:34px; width:auto; padding:12px 18px; animation-delay:1.6s;
  background:linear-gradient(180deg,#fff,#FAFCFE);
}
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-11px)} }
@media (prefers-reduced-motion:reduce){ .float-card{animation:none} }

.hero-photo-frame {
  position:absolute; inset:52px 84px 52px 84px; border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--shadow-lg); border:6px solid rgba(255,255,255,.14);
}
.hero-photo-frame img { width:100%; height:100%; object-fit:cover; }

/* ----------------------------------------------------- search console */
.search-console {
  position:relative; z-index:5; background:#fff; border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg); border:1px solid var(--line);
  padding:10px; display:grid; grid-template-columns:1.35fr 1fr auto; gap:8px;
  margin-top:64px;
}
.search-console.is-floating { margin-bottom:-46px; }
.sc-field { display:flex; align-items:center; gap:11px; padding:12px 16px; border-radius:var(--r-sm); transition:background .18s var(--ease); }
.sc-field:focus-within { background:var(--brand-50); }
.sc-field + .sc-field { border-left:1px solid var(--line); }
.sc-field .ico { color:var(--brand-600); flex:none; }
.sc-field .field-body { flex:1; min-width:0; }
.sc-field label { display:block; font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-400); font-family:var(--font-display); }
.sc-field input { width:100%; border:0; background:none; padding:2px 0 0; font-size:.96rem; color:var(--ink-900); }
.sc-field input::placeholder { color:var(--ink-300); }
.sc-field input:focus { outline:none; }

.chips { display:flex; flex-wrap:wrap; gap:9px; }
.chip {
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 16px; border-radius:var(--r-pill); border:1px solid var(--line);
  background:#fff; color:var(--ink-600); font-size:.87rem; font-weight:500;
  transition:all .18s var(--ease);
}
.chip:hover { border-color:var(--brand-300); color:var(--brand-800); background:var(--brand-50); transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.chip .ico { color:var(--brand-500); }
.chip.is-active { background:var(--brand-800); border-color:var(--brand-800); color:#fff; }
.chip.is-active .ico { color:var(--gold-300); }

/* --------------------------------------------------------------- tags */
.tag {
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 11px; border-radius:var(--r-xs); font-size:.775rem; font-weight:500;
  background:var(--brand-50); color:var(--brand-700); border:1px solid var(--brand-100);
  white-space:nowrap;
}
.tag-plain { background:var(--surface); color:var(--ink-600); border-color:var(--line); }
.tag-teal { background:var(--teal-100); color:var(--teal-700); border-color:#C4E6E1; }
.tag-gold { background:var(--gold-100); color:var(--gold-700); border-color:#EEDFBE; }
.tag-lg { padding:7px 14px; font-size:.85rem; border-radius:var(--r-sm); }

.badge {
  display:inline-flex; align-items:center; gap:6px; font-size:.74rem; font-weight:600;
  padding:4px 10px; border-radius:var(--r-pill); letter-spacing:.01em;
  font-family:var(--font-display);
}
.badge-ok{background:var(--ok-100);color:var(--ok-600)}
.badge-info{background:var(--brand-100);color:var(--brand-700)}
.badge-warn{background:var(--warn-100);color:var(--warn-600)}
.badge-mute{background:var(--surface-2);color:var(--ink-500)}
.badge-danger{background:var(--danger-100);color:var(--danger-600)}
.badge-gold{background:var(--gold-100);color:var(--gold-700)}
.badge-dot::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }

.verified-badge { display:inline-flex; color:var(--brand-500); vertical-align:middle; }
.verified-badge .ico { fill:none; stroke:currentColor; }
.verified-badge .ico path:first-of-type { fill:currentColor; }
.verified-badge .ico path:last-of-type { stroke:#fff; stroke-width:2.2; }

/* -------------------------------------------------------------- stars */
.stars { display:inline-flex; gap:2px; align-items:center; }
.star { width:13px; height:13px; display:inline-block;
  -webkit-mask:var(--star-mask) center/contain no-repeat; mask:var(--star-mask) center/contain no-repeat;
  --star-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6 1-4.8 4.6 1.1 6.6L12 17.6 6.2 20.7l1.1-6.6L2.5 9.5l6.6-1Z'/%3E%3C/svg%3E");
  background:var(--line-strong);
}
.star.is-full { background:var(--gold-500); }
.star.is-half { background:linear-gradient(90deg,var(--gold-500) 50%, var(--line-strong) 50%); }
.rating-line { display:inline-flex; align-items:center; gap:7px; font-size:.83rem; color:var(--ink-500); }
.rating-line b { color:var(--ink-900); font-family:var(--font-display); }

/* -------------------------------------------------------------- cards */
.card {
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-xs);
  transition:transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.card-pad { padding:26px; }
.card-hover:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--brand-200); }
.card-flat { box-shadow:none; }
.card-head { padding:20px 24px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:14px; }
.card-head h3 { font-size:1.04rem; }
.card-body { padding:24px; }
.card-foot { padding:16px 24px; border-top:1px solid var(--line); background:var(--surface); border-radius:0 0 var(--r-lg) var(--r-lg); }

/* professional card */
.pro-card { display:flex; flex-direction:column; overflow:hidden; position:relative; background:#fff; }
.pro-card .pro-top { padding:24px 24px 0; display:flex; gap:15px; }
.pro-card .pro-photo { position:relative; flex:none; }
.pro-card .pro-photo .avatar { transition:transform .3s var(--ease); }
.pro-card:hover .pro-photo .avatar { transform:scale(1.04); }
.pro-card .pro-photo .avail-dot {
  position:absolute; right:1px; bottom:1px; width:15px; height:15px; border-radius:50%;
  border:2.5px solid #fff; background:var(--ink-300);
}
.avail-dot.tone-ok{background:#25A162}.avail-dot.tone-info{background:var(--brand-500)}
.avail-dot.tone-warn{background:var(--gold-500)}.avail-dot.tone-mute{background:var(--ink-300)}
.pro-card h3 { font-size:1.06rem; display:flex; align-items:center; gap:6px; }
.pro-card h3 a { color:inherit; }
.pro-card h3 a:hover { color:var(--brand-600); }
.pro-title { font-size:.875rem; color:var(--brand-700); font-weight:600; margin-top:1px; }
.pro-meta { display:flex; align-items:center; gap:5px; font-size:.8rem; color:var(--ink-400); margin-top:6px; }
.pro-bio { font-size:.875rem; color:var(--ink-500); line-height:1.6; padding:14px 24px 0; }
.pro-skills { display:flex; flex-wrap:wrap; gap:6px; padding:14px 24px 0; }
.pro-stats {
  display:flex; align-items:center; gap:18px; padding:16px 24px; margin-top:16px;
  border-top:1px solid var(--line); font-size:.8rem; color:var(--ink-500);
}
.pro-stats .k { display:flex; align-items:center; gap:6px; }
.pro-stats .k .ico { color:var(--ink-300); }
.pro-actions { display:flex; gap:10px; padding:0 24px 24px; margin-top:auto; }
.pro-actions .btn { flex:1; }
.pro-ribbon {
  position:absolute; top:16px; right:16px; z-index:2;
}

/* list view variant */
.pro-card.is-list { flex-direction:row; align-items:stretch; }
.pro-card.is-list .pro-top { padding:24px; width:340px; flex:none; }
.pro-card.is-list .list-mid { flex:1; padding:24px 0; border-left:1px solid var(--line); padding-left:24px; }
.pro-card.is-list .pro-bio,.pro-card.is-list .pro-skills { padding-left:0; padding-right:24px; }
.pro-card.is-list .list-side {
  width:214px; flex:none; border-left:1px solid var(--line); padding:24px;
  display:flex; flex-direction:column; gap:10px; justify-content:center; background:var(--surface);
}
.pro-card.is-list .pro-stats { border-top:0; padding-left:0; margin-top:12px; }

/* portfolio preview strip */
.folio-strip { display:flex; gap:8px; padding:14px 24px 0; }
.folio-strip img { width:76px; height:56px; object-fit:cover; border-radius:var(--r-xs); border:1px solid var(--line); transition:transform .25s var(--ease); }
.folio-strip img:hover { transform:scale(1.06); }

/* --------------------------------------------------------- how it works */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.step { position:relative; padding:0 22px; }
.step:first-child { padding-left:0; }
.step:last-child { padding-right:0; }
.step-num {
  font-family:var(--font-display); font-size:.8rem; font-weight:800; letter-spacing:.14em;
  color:var(--gold-600); margin-bottom:16px; display:block;
}
.step-icon {
  width:60px; height:60px; border-radius:var(--r); display:grid; place-items:center;
  background:#fff; border:1px solid var(--line); color:var(--brand-700);
  box-shadow:var(--shadow-sm); margin-bottom:20px; position:relative; z-index:2;
  transition:all .26s var(--ease);
}
.step:hover .step-icon { background:var(--brand-800); color:#fff; border-color:var(--brand-800); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.step h3 { font-size:1.14rem; margin-bottom:9px; }
.step p { font-size:.9rem; line-height:1.62; }
.step-line {
  position:absolute; top:30px; left:60px; right:-22px; height:1px;
  background:linear-gradient(90deg,var(--line-strong) 0 6px, transparent 6px 12px) repeat-x;
  background-size:12px 1px; z-index:1;
}
.step:last-child .step-line { display:none; }

/* ---------------------------------------------------------- value grid */
.value-card { padding:32px; border-radius:var(--r-lg); background:#fff; border:1px solid var(--line); height:100%; transition:all .26s var(--ease); }
.value-card:hover { border-color:var(--brand-200); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.value-icon {
  width:52px; height:52px; border-radius:var(--r); display:grid; place-items:center;
  background:var(--brand-50); color:var(--brand-700); margin-bottom:20px;
}
.value-card.is-gold .value-icon { background:var(--gold-100); color:var(--gold-600); }
.value-card.is-teal .value-icon { background:var(--teal-100); color:var(--teal-600); }

/* ------------------------------------------------------------ page top */
.page-top {
  background:linear-gradient(160deg,var(--brand-900),var(--brand-700));
  color:#fff; padding:62px 0 58px; position:relative; overflow:hidden;
}
.page-top::after {
  content:''; position:absolute; right:-90px; top:-120px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(27,145,135,.30), transparent 68%);
}
.page-top h1 { color:#fff; }
.page-top p { color:rgba(226,236,245,.82); max-width:620px; margin-top:14px; }
.crumbs { display:flex; align-items:center; gap:8px; font-size:.82rem; color:rgba(200,218,233,.75); margin-bottom:18px; }
.crumbs a { color:rgba(200,218,233,.9); }
.crumbs a:hover { color:#fff; }

/* --------------------------------------------------------------- forms */
.field { margin-bottom:18px; }
.field label, .form-label {
  display:block; font-size:.82rem; font-weight:600; color:var(--ink-700);
  margin-bottom:7px; font-family:var(--font-display);
}
.hint { font-size:.78rem; color:var(--ink-400); margin-top:6px; }
.input, .select, .textarea {
  width:100%; padding:11px 14px; border:1px solid var(--line-strong); border-radius:var(--r-sm);
  background:#fff; color:var(--ink-900); font-size:.94rem;
  transition:border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input::placeholder,.textarea::placeholder { color:var(--ink-300); }
.input:focus,.select:focus,.textarea:focus { outline:none; border-color:var(--brand-500); box-shadow:var(--shadow-ring); }
.textarea { min-height:120px; resize:vertical; line-height:1.6; }
.select {
  appearance:none; padding-right:38px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A7186' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center;
}
.input-group { position:relative; }
.input-group .ico { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--ink-400); pointer-events:none; }
.input-group .input { padding-left:40px; }
.check { display:flex; align-items:flex-start; gap:10px; cursor:pointer; font-size:.9rem; color:var(--ink-600); padding:5px 0; }
.check input { width:17px; height:17px; margin-top:2px; accent-color:var(--brand-700); flex:none; cursor:pointer; }
.field-error { color:var(--danger-600); font-size:.8rem; margin-top:6px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
.form-note { font-size:.82rem; color:var(--ink-400); }

/* --------------------------------------------------------------- alerts */
.alert { display:flex; gap:12px; padding:14px 18px; border-radius:var(--r-sm); font-size:.9rem; margin-bottom:18px; border:1px solid; }
.alert .ico { flex:none; margin-top:1px; }
.alert-success { background:var(--ok-100); border-color:#BFE6CF; color:#155F3B; }
.alert-error { background:var(--danger-100); border-color:#F0C6C6; color:#8B2626; }
.alert-info { background:var(--brand-50); border-color:var(--brand-100); color:var(--brand-800); }
.alert-warn { background:var(--warn-100); border-color:#EFD9AE; color:var(--warn-600); }

.toast-stack { position:fixed; right:22px; bottom:22px; z-index:200; display:flex; flex-direction:column; gap:10px; max-width:360px; }
.toast {
  background:var(--brand-900); color:#fff; padding:13px 18px; border-radius:var(--r-sm);
  box-shadow:var(--shadow-lg); font-size:.9rem; display:flex; gap:10px; align-items:center;
  animation:toastIn .28s var(--ease);
}
.toast.is-out { animation:toastOut .25s var(--ease) forwards; }
@keyframes toastIn { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }
@keyframes toastOut { to{opacity:0;transform:translateY(10px)} }

/* --------------------------------------------------------------- modal */
.modal-backdrop {
  position:fixed; inset:0; background:rgba(8,25,43,.55); backdrop-filter:blur(3px);
  z-index:120; display:grid; place-items:center; padding:22px;
  opacity:0; visibility:hidden; transition:opacity .2s var(--ease), visibility .2s;
}
.modal-backdrop.is-open { opacity:1; visibility:visible; }
.modal {
  background:#fff; border-radius:var(--r-lg); box-shadow:var(--shadow-lg);
  width:100%; max-width:540px; max-height:90vh; overflow:auto;
  transform:translateY(12px) scale(.98); transition:transform .24s var(--ease);
}
.modal-backdrop.is-open .modal { transform:none; }
.modal-head { padding:22px 26px; border-bottom:1px solid var(--line); display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.modal-body { padding:26px; }
.modal-foot { padding:18px 26px; border-top:1px solid var(--line); display:flex; gap:10px; justify-content:flex-end; background:var(--surface); border-radius:0 0 var(--r-lg) var(--r-lg); }

/* ------------------------------------------------------- discover page */
.discover-layout { display:grid; grid-template-columns:288px 1fr; gap:32px; align-items:start; }
.filter-panel { position:sticky; top:calc(var(--nav-h) + 22px); }
.filter-group { border-bottom:1px solid var(--line); padding:18px 0; }
.filter-group:last-child { border-bottom:0; }
.filter-group > h4 {
  font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--ink-500);
  margin-bottom:13px; font-family:var(--font-display); display:flex; justify-content:space-between; align-items:center;
}
.filter-list { display:flex; flex-direction:column; gap:2px; max-height:230px; overflow:auto; }
.results-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.view-toggle { display:inline-flex; border:1px solid var(--line); border-radius:var(--r-sm); overflow:hidden; background:#fff; }
.view-toggle a { padding:8px 12px; color:var(--ink-400); display:flex; }
.view-toggle a.is-active { background:var(--brand-800); color:#fff; }
.view-toggle a:not(.is-active):hover { background:var(--surface); color:var(--brand-700); }
.pagination { display:flex; gap:6px; justify-content:center; margin-top:44px; }
.pagination a,.pagination span {
  min-width:40px; height:40px; display:grid; place-items:center; padding:0 12px;
  border:1px solid var(--line); border-radius:var(--r-sm); background:#fff;
  font-size:.9rem; color:var(--ink-600); font-weight:500;
}
.pagination a:hover { border-color:var(--brand-300); color:var(--brand-700); background:var(--brand-50); }
.pagination .is-current { background:var(--brand-800); border-color:var(--brand-800); color:#fff; }
.pagination .is-gap { border:0; background:none; }

.empty-state { text-align:center; padding:72px 26px; background:#fff; border:1px dashed var(--line-strong); border-radius:var(--r-lg); }
.empty-state .ico { color:var(--ink-300); margin:0 auto 16px; }
.empty-state h3 { margin-bottom:8px; }

/* --------------------------------------------------------- profile page */
.profile-hero {
  background:linear-gradient(155deg,var(--brand-900) 0%, var(--brand-700) 100%);
  color:#fff; position:relative; overflow:hidden; padding-bottom:90px;
}
.profile-hero::before {
  content:''; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:64px 64px; mask-image:radial-gradient(700px 340px at 20% 0%, #000, transparent 75%);
}
.profile-hero-inner { position:relative; z-index:2; padding-top:44px; display:flex; gap:30px; align-items:flex-start; }
.profile-hero h1 { color:#fff; font-size:clamp(1.8rem,1.4rem+1.4vw,2.5rem); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.profile-hero .p-title { font-size:1.1rem; color:var(--gold-300); font-weight:600; margin-top:6px; font-family:var(--font-display); }
.profile-hero .p-meta { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:16px; font-size:.88rem; color:rgba(214,229,241,.82); }
.profile-hero .p-meta .k { display:flex; align-items:center; gap:7px; }
.profile-hero .p-intro { margin-top:18px; max-width:640px; color:rgba(226,236,245,.86); line-height:1.68; }
.profile-hero-actions { display:flex; gap:11px; margin-top:26px; flex-wrap:wrap; }
.profile-layout { display:grid; grid-template-columns:1fr 344px; gap:32px; align-items:start; margin-top:-66px; position:relative; z-index:3; }
.profile-sticky { position:sticky; top:calc(var(--nav-h) + 22px); display:flex; flex-direction:column; gap:20px; }
.profile-section { margin-bottom:22px; }
.profile-section h2 { font-size:1.28rem; margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.profile-section h2 .ico { color:var(--brand-500); }
.profile-nav { display:flex; gap:4px; overflow-x:auto; padding:6px; background:#fff; border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--shadow-xs); margin-bottom:24px; position:sticky; top:calc(var(--nav-h) + 10px); z-index:20; }
.profile-nav a { padding:8px 15px; border-radius:var(--r-xs); font-size:.875rem; font-weight:500; color:var(--ink-500); white-space:nowrap; }
.profile-nav a:hover,.profile-nav a.is-active { background:var(--brand-50); color:var(--brand-800); }

.timeline { position:relative; padding-left:34px; }
.timeline::before { content:''; position:absolute; left:9px; top:8px; bottom:8px; width:2px; background:var(--line); }
.tl-item { position:relative; padding-bottom:28px; }
.tl-item:last-child { padding-bottom:0; }
.tl-item::before {
  content:''; position:absolute; left:-30px; top:6px; width:12px; height:12px; border-radius:50%;
  background:#fff; border:2.5px solid var(--brand-500);
}
.tl-item.is-current::before { background:var(--brand-500); box-shadow:0 0 0 4px var(--brand-100); }
.tl-item h4 { font-size:1rem; }
.tl-item .org { color:var(--brand-700); font-weight:600; font-size:.9rem; margin-top:2px; }
.tl-item .when { font-size:.8rem; color:var(--ink-400); margin-top:3px; }
.tl-item p { font-size:.9rem; margin-top:9px; line-height:1.65; }

.folio-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.folio-card { border-radius:var(--r); overflow:hidden; border:1px solid var(--line); background:#fff; transition:all .26s var(--ease); }
.folio-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.folio-card .thumb { aspect-ratio:16/10; overflow:hidden; background:var(--surface-2); }
.folio-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.folio-card:hover .thumb img { transform:scale(1.06); }
.folio-card .body { padding:18px; }
.folio-card h4 { font-size:1rem; margin-bottom:6px; }
.folio-card p { font-size:.85rem; line-height:1.55; }

.review-card { padding:22px; border:1px solid var(--line); border-radius:var(--r); background:#fff; }
.review-card + .review-card { margin-top:14px; }
.review-card .quote { font-size:.94rem; line-height:1.7; color:var(--ink-600); margin:12px 0 0; }
.rating-summary { display:flex; align-items:center; gap:26px; padding:22px; background:var(--brand-50); border-radius:var(--r); border:1px solid var(--brand-100); margin-bottom:20px; }
.rating-big { font-family:var(--font-display); font-size:2.9rem; font-weight:800; color:var(--brand-900); line-height:1; }
.bar-row { display:flex; align-items:center; gap:10px; font-size:.78rem; color:var(--ink-500); }
.bar { flex:1; height:6px; background:var(--surface-2); border-radius:var(--r-pill); overflow:hidden; }
.bar span { display:block; height:100%; background:var(--gold-500); border-radius:var(--r-pill); }

.service-item { display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.service-item:last-child { border-bottom:0; }
.service-item .s-ico { width:42px; height:42px; border-radius:var(--r-sm); background:var(--teal-100); color:var(--teal-600); display:grid; place-items:center; flex:none; }
.service-item .price { font-family:var(--font-display); font-weight:700; color:var(--brand-800); white-space:nowrap; }

.stat-tile { padding:16px; border-radius:var(--r); background:var(--surface); border:1px solid var(--line); text-align:center; }
.stat-tile b { display:block; font-family:var(--font-display); font-size:1.35rem; color:var(--brand-900); }
.stat-tile span { font-size:.74rem; color:var(--ink-400); text-transform:uppercase; letter-spacing:.06em; }

/* -------------------------------------------------------- collaborate */
.match-card { display:flex; gap:16px; padding:20px; border:1px solid var(--line); border-radius:var(--r); background:#fff; transition:all .24s var(--ease); }
.match-card:hover { border-color:var(--brand-200); box-shadow:var(--shadow-sm); }
.match-score {
  flex:none; width:66px; height:66px; border-radius:50%; display:grid; place-items:center;
  background:conic-gradient(var(--teal-500) calc(var(--pct) * 1%), var(--surface-2) 0);
  position:relative; font-family:var(--font-display);
}
.match-score::after { content:''; position:absolute; inset:5px; background:#fff; border-radius:50%; }
.match-score b { position:relative; z-index:2; font-size:.92rem; color:var(--teal-700); }
.match-reasons { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.match-reason { display:inline-flex; align-items:center; gap:5px; font-size:.74rem; color:var(--teal-700); background:var(--teal-100); padding:3px 9px; border-radius:var(--r-xs); }

.brief-form { background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); overflow:hidden; }
.brief-form .form-section { padding:26px; border-bottom:1px solid var(--line); }
.brief-form .form-section:last-of-type { border-bottom:0; }
.form-section-title { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.form-section-title .n {
  width:26px; height:26px; border-radius:50%; background:var(--brand-800); color:#fff;
  display:grid; place-items:center; font-size:.75rem; font-weight:700; font-family:var(--font-display); flex:none;
}
.role-row { display:grid; grid-template-columns:1fr 1.3fr 90px 40px; gap:10px; align-items:center; margin-bottom:10px; }

/* --------------------------------------------------------- work board */
.job-card { padding:24px; border:1px solid var(--line); border-radius:var(--r-lg); background:#fff; transition:all .26s var(--ease); position:relative; }
.job-card:hover { border-color:var(--brand-200); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.job-card.is-featured { border-color:var(--gold-300); background:linear-gradient(180deg,#FFFDF8,#fff); }
.job-logo { width:52px; height:52px; border-radius:var(--r-sm); display:grid; place-items:center; background:var(--brand-50); color:var(--brand-700); font-family:var(--font-display); font-weight:800; font-size:1.1rem; flex:none; border:1px solid var(--brand-100); }
.job-meta { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:.82rem; color:var(--ink-500); margin-top:14px; }
.job-meta .k { display:flex; align-items:center; gap:6px; }
.job-meta .ico { color:var(--ink-300); }

/* ------------------------------------------------------------ messages */
.ws-shell { display:grid; grid-template-columns:264px 336px 1fr; height:calc(100vh - var(--nav-h)); background:#fff; }
.ws-rail { border-right:1px solid var(--line); background:var(--brand-950); color:#fff; padding:20px 14px; display:flex; flex-direction:column; gap:5px; }
.ws-rail .rail-title { font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(180,203,222,.6); padding:16px 12px 8px; font-family:var(--font-display); }
.rail-link { display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:var(--r-sm); color:rgba(214,229,241,.86); font-size:.9rem; font-weight:500; }
.rail-link:hover { background:rgba(255,255,255,.07); color:#fff; }
.rail-link.is-active { background:var(--brand-700); color:#fff; }
.rail-link .count { margin-left:auto; background:var(--gold-500); color:#fff; font-size:.68rem; font-weight:700; padding:1px 7px; border-radius:var(--r-pill); }
.ws-list { border-right:1px solid var(--line); display:flex; flex-direction:column; min-height:0; }
.ws-list-head { padding:18px 20px; border-bottom:1px solid var(--line); }
.ws-list-scroll { overflow-y:auto; flex:1; }
.conv-item { display:flex; gap:12px; padding:15px 20px; border-bottom:1px solid var(--line); cursor:pointer; transition:background .16s var(--ease); }
.conv-item:hover { background:var(--surface); }
.conv-item.is-active { background:var(--brand-50); box-shadow:inset 3px 0 0 var(--brand-700); }
.conv-item .conv-name { font-weight:600; font-size:.92rem; color:var(--ink-900); }
.conv-item .conv-snip { font-size:.82rem; color:var(--ink-400); }
.conv-item .conv-time { font-size:.7rem; color:var(--ink-300); white-space:nowrap; }
.conv-unread { width:8px; height:8px; border-radius:50%; background:var(--brand-500); flex:none; align-self:center; }

.ws-main { display:flex; flex-direction:column; min-width:0; min-height:0; background:var(--ivory); }
.ws-head { padding:14px 24px; border-bottom:1px solid var(--line); background:#fff; display:flex; align-items:center; gap:14px; }
.ws-tabs { display:flex; gap:2px; padding:0 24px; border-bottom:1px solid var(--line); background:#fff; }
.ws-tab { display:inline-flex; align-items:center; gap:7px; padding:12px 16px; font-size:.88rem; font-weight:600; color:var(--ink-400); border-bottom:2px solid transparent; cursor:pointer; background:none; border-top:0; border-left:0; border-right:0; font-family:var(--font-display); }
.ws-tab:hover { color:var(--brand-700); }
.ws-tab.is-active { color:var(--brand-800); border-bottom-color:var(--brand-700); }
.ws-panel { flex:1; overflow-y:auto; padding:24px; min-height:0; }
.ws-panel.no-pad { padding:0; }

.msg-scroll { flex:1; overflow-y:auto; padding:26px 24px; display:flex; flex-direction:column; gap:16px; min-height:0; }
.msg { display:flex; gap:11px; max-width:74%; }
.msg .bubble {
  background:#fff; border:1px solid var(--line); padding:12px 16px; border-radius:4px 14px 14px 14px;
  font-size:.92rem; line-height:1.6; color:var(--ink-700); box-shadow:var(--shadow-xs);
}
.msg .who { font-size:.76rem; font-weight:600; color:var(--brand-700); margin-bottom:4px; }
.msg .stamp { font-size:.68rem; color:var(--ink-300); margin-top:5px; }
.msg.is-me { margin-left:auto; flex-direction:row-reverse; }
.msg.is-me .bubble { background:var(--brand-800); border-color:var(--brand-800); color:#fff; border-radius:14px 4px 14px 14px; }
.msg.is-me .stamp { text-align:right; color:var(--ink-300); }
.msg-day { text-align:center; font-size:.74rem; color:var(--ink-400); position:relative; margin:6px 0; }
.msg-day span { background:var(--ivory); padding:0 12px; position:relative; z-index:2; }
.msg-day::before { content:''; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--line); }
.msg-attach { display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm); margin-top:8px; }
.msg.is-me .msg-attach { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.2); }
.composer { border-top:1px solid var(--line); background:#fff; padding:14px 20px; }
.composer-box { display:flex; align-items:flex-end; gap:10px; border:1px solid var(--line-strong); border-radius:var(--r); padding:8px 10px 8px 14px; background:#fff; transition:border-color .18s var(--ease), box-shadow .18s var(--ease); }
.composer-box:focus-within { border-color:var(--brand-400); box-shadow:var(--shadow-ring); }
.composer-box textarea { flex:1; border:0; resize:none; max-height:130px; min-height:24px; padding:6px 0; font-size:.94rem; background:none; }
.composer-box textarea:focus { outline:none; }
.locked-banner { padding:18px 22px; background:var(--warn-100); border-top:1px solid #EFD9AE; display:flex; gap:12px; align-items:center; color:var(--warn-600); font-size:.9rem; }

/* kanban / tasks */
.kanban { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.kan-col { background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:14px; min-height:220px; }
.kan-col h4 { font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-500); margin-bottom:12px; display:flex; justify-content:space-between; }
.kan-card { background:#fff; border:1px solid var(--line); border-radius:var(--r-sm); padding:13px; margin-bottom:9px; box-shadow:var(--shadow-xs); }
.kan-card p { font-size:.88rem; color:var(--ink-800); font-weight:500; }
.kan-card .kan-foot { display:flex; align-items:center; justify-content:space-between; margin-top:10px; }

.mstone { display:flex; gap:16px; padding:18px; border:1px solid var(--line); border-radius:var(--r); background:#fff; margin-bottom:12px; }
.mstone .m-dot { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; flex:none; background:var(--surface-2); color:var(--ink-400); }
.mstone.is-done .m-dot { background:var(--ok-100); color:var(--ok-600); }
.mstone.is-active .m-dot { background:var(--brand-100); color:var(--brand-700); }

.file-row { display:flex; align-items:center; gap:14px; padding:14px; border:1px solid var(--line); border-radius:var(--r-sm); background:#fff; margin-bottom:9px; }
.file-ico { width:40px; height:40px; border-radius:var(--r-xs); background:var(--brand-50); color:var(--brand-700); display:grid; place-items:center; flex:none; }

/* -------------------------------------------------------- dashboard */
.dash-grid { display:grid; grid-template-columns:1fr 340px; gap:26px; align-items:start; }
.metric-card { padding:22px; border-radius:var(--r-lg); background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-xs); }
.metric-card .m-top { display:flex; align-items:center; justify-content:space-between; }
.metric-card .m-ico { width:40px; height:40px; border-radius:var(--r-sm); display:grid; place-items:center; background:var(--brand-50); color:var(--brand-700); }
.metric-card b { display:block; font-family:var(--font-display); font-size:2rem; color:var(--ink-900); line-height:1.1; margin-top:14px; }
.metric-card span { font-size:.84rem; color:var(--ink-500); }
.progress-ring { --pct:0; width:78px; height:78px; border-radius:50%; position:relative; flex:none;
  background:conic-gradient(var(--brand-600) calc(var(--pct)*1%), var(--surface-2) 0); }
.progress-ring::after { content:''; position:absolute; inset:7px; background:#fff; border-radius:50%; }
.progress-ring b { position:relative; z-index:2; display:grid; place-items:center; height:100%; font-family:var(--font-display); font-size:1.02rem; color:var(--brand-800); }
.req-card { display:flex; gap:14px; padding:18px; border:1px solid var(--line); border-radius:var(--r); background:#fff; margin-bottom:12px; }
.req-card.is-new { border-color:var(--brand-200); background:linear-gradient(180deg,var(--brand-50),#fff); }
.mini-list-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.mini-list-item:last-child { border-bottom:0; }

/* ------------------------------------------------------------- footer */
.site-footer { background:var(--brand-950); color:rgba(206,222,236,.78); padding:72px 0 0; margin-top:0; }
.footer-grid { display:grid; grid-template-columns:1.6fr repeat(4,1fr); gap:40px; padding-bottom:52px; }
.site-footer h5 { color:#fff; font-family:var(--font-display); font-size:.78rem; letter-spacing:.13em; text-transform:uppercase; margin-bottom:18px; }
.site-footer a { color:rgba(206,222,236,.78); font-size:.9rem; display:block; padding:5px 0; }
.site-footer a:hover { color:#fff; }
.site-footer .brand-name { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding:22px 0; display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; font-size:.84rem; }
.social-row { display:flex; gap:10px; }
.social-row a { width:38px; height:38px; border-radius:var(--r-sm); border:1px solid rgba(255,255,255,.16); display:grid; place-items:center; padding:0; }
.social-row a:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.34); }
.newsletter { display:flex; gap:8px; margin-top:20px; max-width:340px; }
.newsletter input { flex:1; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); color:#fff; border-radius:var(--r-sm); padding:11px 14px; font-size:.88rem; }
.newsletter input::placeholder { color:rgba(206,222,236,.5); }
.newsletter input:focus { outline:none; border-color:var(--brand-400); }

/* ------------------------------------------------------------- extras */
.cta-band {
  background:linear-gradient(140deg,var(--brand-900),var(--brand-700) 60%, var(--teal-700));
  border-radius:var(--r-xl); padding:58px; color:#fff; position:relative; overflow:hidden;
}
.cta-band::after { content:''; position:absolute; right:-60px; bottom:-80px; width:320px; height:320px; border-radius:50%; background:rgba(255,255,255,.06); }
.cta-band h2 { color:#fff; }
.cta-band p { color:rgba(226,238,247,.84); }

.quote-card { padding:32px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); position:relative; }
.quote-card .ico-quote { color:var(--brand-100); position:absolute; top:22px; right:26px; }

.logo-strip { display:flex; gap:44px; align-items:center; justify-content:center; flex-wrap:wrap; opacity:.62; filter:grayscale(1); }
.logo-strip span { font-family:var(--font-display); font-weight:800; font-size:1.06rem; color:var(--ink-500); letter-spacing:-.02em; }

.split-media { position:relative; border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow-lg); }
.split-media img { width:100%; height:100%; object-fit:cover; }
/* Keep editorial photography inside the brand palette rather than fighting it. */
.split-media::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(150deg, rgba(11,42,69,.34), rgba(27,145,135,.16) 60%, rgba(18,59,99,.28));
  mix-blend-mode:multiply;
}
.split-media img, .editorial-img { filter:saturate(.86) contrast(1.03); }
.editorial-img { position:relative; }
.editorial-frame { position:relative; border-radius:12px; overflow:hidden; }
.editorial-frame::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(150deg, rgba(11,42,69,.30), rgba(27,145,135,.14));
  mix-blend-mode:multiply;
}

.reveal { opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{opacity:1;transform:none;transition:none} }

.skeleton { background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface) 37%,var(--surface-2) 63%); background-size:400% 100%; animation:shimmer 1.4s ease infinite; border-radius:var(--r-xs); }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }

/* --------------------------------------------------------- responsive */
@media (max-width:1180px){
  .hero-grid { grid-template-columns:1fr; gap:34px; }
  .hero-collage { height:400px; max-width:560px; }
  .discover-layout { grid-template-columns:250px 1fr; }
  .profile-layout { grid-template-columns:1fr 300px; }
  .ws-shell { grid-template-columns:84px 300px 1fr; }
  .ws-rail .rail-text,.ws-rail .rail-title { display:none; }
  .ws-rail { align-items:center; }
  .rail-link { justify-content:center; padding:12px; }
}
@media (max-width:1180px){
  .nav-links { display:none; }
  .nav-toggle { display:inline-flex; }
}
@media (max-width:1024px){
  .nav-toggle { display:inline-flex; }
  .g-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .g-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .steps { grid-template-columns:repeat(2,1fr); gap:34px 22px; }
  .step-line { display:none; }
  .step { padding:0; }
  .footer-grid { grid-template-columns:1fr 1fr 1fr; }
  .dash-grid { grid-template-columns:1fr; }
  .profile-layout { grid-template-columns:1fr; margin-top:-40px; }
  .profile-sticky { position:static; }
  .search-console { grid-template-columns:1fr; }
  .sc-field + .sc-field { border-left:0; border-top:1px solid var(--line); }
  .pro-card.is-list { flex-direction:column; }
  .pro-card.is-list .pro-top,.pro-card.is-list .list-mid,.pro-card.is-list .list-side { width:auto; border-left:0; padding-left:24px; }
  .pro-card.is-list .list-side { border-top:1px solid var(--line); }
  .pro-card.is-list .pro-bio,.pro-card.is-list .pro-skills { padding-left:24px; }
}
@media (max-width:880px){
  .section { padding:62px 0; }
  .container { padding-inline:18px; }
  .discover-layout { grid-template-columns:1fr; }
  .filter-panel { position:static; }
  .filter-drawer { display:none; }
  .filter-drawer.is-open { display:block; }
  .ws-shell { grid-template-columns:1fr; height:auto; }
  .ws-rail { flex-direction:row; overflow-x:auto; padding:10px; }
  .ws-list { border-right:0; border-bottom:1px solid var(--line); max-height:320px; }
  .ws-main { min-height:70vh; }
  .kanban { grid-template-columns:1fr; }
  .folio-grid { grid-template-columns:1fr; }
  .cta-band { padding:36px 26px; }
  .profile-hero-inner { flex-direction:column; }
}
@media (max-width:640px){
  .g-2,.g-3,.g-4 { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .hero-inner { padding-top:56px; }
  .hero-collage { display:none; }
  .rating-summary { flex-direction:column; align-items:flex-start; gap:14px; }
  .role-row { grid-template-columns:1fr; }
  .msg { max-width:90%; }
  .modal { max-width:100%; }
}

@media print { .site-header,.site-footer,.btn { display:none !important; } }

/* ------------------------------------------------------- mobile nav */
.mobile-nav { display:none; border-top:1px solid var(--line); background:#fff; box-shadow:var(--shadow-md); }
.mobile-nav.is-open { display:block; }
.mnav-link { display:block; padding:11px 4px; font-size:.95rem; font-weight:500; color:var(--ink-700); border-bottom:1px solid var(--line); }
.mnav-link:last-of-type { border-bottom:0; }
@media (min-width:1025px){ .mobile-nav { display:none !important; } }

/* compact add-row forms in the workspace panels */
.add-bar { display:grid; grid-template-columns:minmax(0,1fr) 170px 150px auto; gap:8px; align-items:center; }
.add-bar .input, .add-bar .select { padding:9px 12px; font-size:.88rem; }
@media (max-width:820px){ .add-bar { grid-template-columns:1fr 1fr; } .add-bar button { grid-column:1 / -1; } }
