/* ============================================================
   NY GEM STAFF — Warm Heritage Concierge
   Design system + components + page styles
   Palette: pine green · warm ivory · brass/gold · terracotta
   Type: Fraunces (display serif) + Mulish (humanist sans)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand greens */
  --pine-900: #0d2a20;
  --pine-800: #143a2d;   /* primary */
  --pine-700: #1b4b3a;
  --pine-600: #266b53;
  --pine-500: #3a8568;

  /* Warm neutrals (paper) */
  --ivory:     #f4ecdc;  /* page background */
  --ivory-2:   #efe6d2;
  --cream:     #fdf8ee;  /* card surface */
  --paper:     #fbf4e7;

  /* Accents */
  --brass-700: #9c7327;
  --brass-600: #b8893a;
  --brass:     #cda14b;  /* gold */
  --brass-200: #e7d3a1;
  --clay-700:  #a4502f;
  --clay:      #c4663f;  /* terracotta */
  --clay-200:  #ecc6b4;

  /* Ink / text */
  --ink:    #221c14;
  --ink-2:  #3a3023;
  --muted:  #7b6f5b;
  --muted-2:#9a8f7b;

  /* Lines / surfaces */
  --line:   #e1d5bd;
  --line-2: #d3c4a7;
  --line-pine: rgba(255,255,255,.14);

  /* Radii */
  --r-sm: 9px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows (warm tinted) */
  --sh-sm: 0 1px 2px rgba(40,30,12,.06), 0 2px 6px rgba(40,30,12,.05);
  --sh:    0 14px 34px -16px rgba(25,45,30,.30), 0 4px 10px -6px rgba(25,45,30,.18);
  --sh-lg: 0 40px 80px -30px rgba(15,40,28,.45), 0 12px 28px -16px rgba(15,40,28,.30);
  --sh-brass: 0 14px 30px -14px rgba(150,110,30,.55);

  /* Type */
  --serif: "Fraunces", "Hoefler Text", Georgia, serif;
  --sans:  "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--ivory);
  line-height: 1.6;
  font-weight: 400;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
/* keep real content above grain */
header, main, footer { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--brass-200); color: var(--pine-900); }

:focus-visible {
  outline: 2.5px solid var(--pine-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.08;
  color: var(--pine-900);
  letter-spacing: -0.01em;
}
.display {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
}
h2.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.07;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.65;
}
em, .italic { font-style: italic; }
.serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

/* Kicker label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-700);
}
.kicker::before {
  content: "";
  width: 1.6em; height: 1px;
  background: currentColor;
  opacity: .6;
}
.kicker.center::after {
  content: "";
  width: 1.6em; height: 1px;
  background: currentColor;
  opacity: .6;
}
.kicker.center { justify-content: center; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.eyebrow-group { margin-bottom: 1.4rem; }
.measure { max-width: 56ch; }
.measure-sm { max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--pine-800);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .92em 1.5em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  color: var(--fg);
  background: var(--bg);
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  box-shadow: var(--sh-sm);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, background .2s, color .2s;
  position: relative;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }

.btn--brass { --bg: var(--brass); --fg: #2a1f08; box-shadow: var(--sh-brass); }
.btn--brass:hover { --bg: #d8ad57; }
.btn--clay { --bg: var(--clay); --fg: #fff6f0; }
.btn--clay:hover { --bg: #cf7049; }
.btn--ghost {
  --bg: transparent; --fg: var(--pine-800);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--paper); border-color: var(--pine-700); }
.btn--light { --bg: var(--cream); --fg: var(--pine-900); }
.btn--light:hover { --bg: #fff; }
.btn--on-dark.btn--ghost { --fg: var(--cream); border-color: var(--line-pine); }
.btn--on-dark.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--sm { padding: .6em 1em; font-size: .85rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  color: var(--pine-700);
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 2px;
  transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: .7em; color: var(--clay-700); }

/* ---------- Gem mark ---------- */
.gem { display: inline-block; flex: none; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--pine-900);
  line-height: 1;
}
.brand__name .ny { color: var(--brass-700); }
.brand__tag {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav__links a {
  padding: .5rem .85rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-2);
  transition: background .2s, color .2s;
  position: relative;
}
.nav__links a:hover { background: var(--paper); color: var(--pine-800); }
.nav__links a.active { color: var(--pine-900); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .26rem;
  height: 2px; border-radius: 2px;
  background: var(--brass);
}
.nav__cta { margin-left: .5rem; display: flex; align-items: center; gap: .5rem; }
.nav__desk {
  font-weight: 600; font-size: .92rem; color: var(--muted);
  padding: .5rem .7rem; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: .4rem;
}
.nav__desk:hover { color: var(--pine-800); background: var(--paper); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  align-items: center; justify-content: center;
  background: var(--cream);
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--pine-900); border-radius: 2px; transition: transform .3s, opacity .2s;
  position: relative;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav__menu { display: flex; align-items: center; gap: 1.25rem; }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--sh);
    display: none;
    flex-wrap: nowrap;
  }
  .nav.open .nav__menu { display: flex; }
  .nav__menu { display: none; }
  .nav__links { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__links a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav__links a.active::after { display: none; }
  .nav__links a.active { background: var(--paper); }
  .nav__cta { margin: .6rem 0 0; flex-direction: column; align-items: stretch; }
  .nav__desk { justify-content: flex-start; padding: .8rem .6rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(205,161,75,.16), transparent 55%),
    radial-gradient(90% 80% at -5% 110%, rgba(196,102,63,.12), transparent 50%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(48px, 8vw, 104px);
}
.hero__copy { max-width: 38rem; }
.hero h1 { margin-top: 1rem; }
.hero h1 .accent { color: var(--clay); font-style: italic; font-weight: 400; }
.hero .lead { margin-top: 1.5rem; max-width: 34rem; }
.hero__actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
  align-items: center;
}
.hero__trust {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.hero__avatars { display: flex; }
.hero__avatars img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid var(--ivory);
  object-fit: cover; margin-left: -12px;
  box-shadow: var(--sh-sm);
}
.hero__avatars img:first-child { margin-left: 0; }
.hero__trust b { color: var(--pine-800); }

/* Hero visual — overlapping match cards */
.hero__visual {
  position: relative;
  min-height: 460px;
  isolation: isolate;
}
.hero__gem-bg {
  position: absolute;
  width: 78%;
  top: 50%; left: 52%;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: .9;
  z-index: -1;
  filter: drop-shadow(0 30px 50px rgba(20,58,45,.25));
}
.float-card {
  position: absolute;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: .8rem;
  width: 230px;
}
.float-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 12px;
}
.float-card__body { padding: .65rem .35rem .25rem; }
.float-card__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--pine-900); }
.float-card__role { font-size: .85rem; color: var(--muted); font-weight: 600; }
.float-card .pill { margin-top: .5rem; }
.fc-1 { top: 6%; left: 0; transform: rotate(-5deg); z-index: 3; animation: floaty 7s ease-in-out infinite; }
.fc-2 { bottom: 4%; right: 0; transform: rotate(4deg); z-index: 2; animation: floaty 8s ease-in-out infinite reverse; }
.hero__match {
  position: absolute;
  top: 47%; left: 50%;
  transform: translate(-50%,-50%) rotate(-3deg);
  background: var(--pine-800);
  color: var(--cream);
  border-radius: var(--r-pill);
  padding: .6rem 1.05rem;
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: var(--sh-lg);
  z-index: 5;
  white-space: nowrap;
}
.hero__match .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(205,161,75,.25); }

@keyframes floaty {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* Pills / tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .02em;
  padding: .35em .7em;
  border-radius: var(--r-pill);
  background: var(--pine-800);
  color: var(--cream);
}
.pill--soft { background: rgba(38,107,83,.12); color: var(--pine-700); }
.pill--brass { background: rgba(205,161,75,.2); color: var(--brass-700); }
.pill--clay { background: rgba(196,102,63,.15); color: var(--clay-700); }
.pill--line { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.pill .gem { width: 11px; height: 11px; }

/* ---------- Marquee / logo strip ---------- */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.4rem;
}
.trustbar__item {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; color: var(--ink-2); font-size: .95rem;
}
.trustbar__item .gem { width: 18px; height: 18px; }

/* ---------- Section header ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  flex-wrap: wrap;
}
.sec-head .lead { margin-top: .8rem; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Worker cards ---------- */
.workers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.5rem;
}
.worker-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.worker-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.worker-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--ivory-2); }
.worker-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.worker-card:hover .worker-card__media img { transform: scale(1.05); }
.worker-card__badge {
  position: absolute; top: .8rem; left: .8rem;
}
.worker-card__fav {
  position: absolute; top: .7rem; right: .7rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(253,248,238,.9);
  display: grid; place-items: center;
  color: var(--clay); box-shadow: var(--sh-sm);
}
.worker-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.worker-card__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--pine-900); }
.worker-card__role { color: var(--clay-700); font-weight: 700; font-size: .9rem; margin-top: -4px; }
.worker-card__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--muted); font-size: .86rem; margin-top: auto; }
.worker-card__meta span { display: inline-flex; align-items: center; gap: .35em; }
.worker-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }

.stars { color: var(--brass-600); letter-spacing: 1px; font-size: .8rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.7rem;
  position: relative;
  overflow: hidden;
}
.step::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: .4rem; right: 1rem;
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--brass);
  opacity: .16;
  line-height: 1;
}
.step__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--pine-800);
  color: var(--brass-200);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Roles / services strip ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1rem;
}
.role-chip {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-weight: 700; color: var(--ink-2);
  transition: transform .2s, border-color .2s, background .2s;
}
.role-chip:hover { transform: translateY(-3px); border-color: var(--brass); background: var(--paper); }
.role-chip .ic { width: 34px; height: 34px; flex: none; color: var(--pine-700); display: grid; place-items: center; }

/* ---------- Split feature (about teaser / value) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--narrow { grid-template-columns: 1.1fr .9fr; }
.feature-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ivory-2);
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-photo__tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--cream); border-radius: var(--r);
  padding: .7rem .9rem; box-shadow: var(--sh);
  font-size: .85rem; font-weight: 700; color: var(--pine-900);
  display: flex; align-items: center; gap: .55rem;
}
.checklist { display: grid; gap: .9rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; color: var(--ink-2); }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(38,107,83,.14); color: var(--pine-700);
  display: grid; place-items: center; margin-top: 1px;
}
.checklist b { color: var(--pine-900); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat { text-align: left; }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--pine-800); line-height: 1; }
.stat__num .accent { color: var(--brass-600); }
.stat__label { color: var(--muted); font-weight: 600; margin-top: .5rem; font-size: .92rem; }

/* ---------- Testimonial ---------- */
.quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3;
  color: var(--pine-900);
  letter-spacing: -0.01em;
}
.quote .mark { color: var(--brass); }
.quote-cite { margin-top: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.quote-cite img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-cite b { display: block; color: var(--pine-900); font-family: var(--sans); }
.quote-cite span { color: var(--muted); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(90% 130% at 85% 0%, rgba(205,161,75,.22), transparent 50%),
    radial-gradient(80% 120% at 0% 100%, rgba(196,102,63,.2), transparent 45%),
    var(--pine-800);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(253,248,238,.82); margin: 1rem auto 0; max-width: 48ch; }
.cta-band .hero__actions { justify-content: center; }
.cta-band .gem-watermark {
  position: absolute; right: -40px; bottom: -50px; width: 280px; opacity: .12; transform: rotate(12deg);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--pine-900);
  color: rgba(244,236,220,.78);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer a:hover { color: var(--brass-200); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem 2rem;
}
.footer__brand .brand__name { color: var(--cream); }
.footer__brand .brand__name .ny { color: var(--brass); }
.footer__blurb { margin-top: 1rem; max-width: 32ch; font-size: .95rem; line-height: 1.7; }
.footer h4 {
  color: var(--brass-200);
  font-family: var(--sans);
  font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col a, .footer__col p { display: block; padding: .3rem 0; font-size: .96rem; color: rgba(244,236,220,.78); }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: rgba(244,236,220,.55);
}
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.footer__social a:hover { background: rgba(255,255,255,.08); border-color: var(--brass); transform: translateY(-2px); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(100% 120% at 90% -20%, rgba(205,161,75,.16), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 88px);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-top: 1rem; }
.page-hero .lead { margin-top: 1.1rem; max-width: 52ch; }
.breadcrumb { font-size: .85rem; color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--pine-700); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.2rem; }
.field > label, .field-label {
  font-weight: 700; font-size: .9rem; color: var(--pine-900);
  display: flex; align-items: center; gap: .4rem;
}
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 500; }
.req { color: var(--clay); }
.input, .select, .textarea {
  width: 100%;
  padding: .85em 1em;
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-size: 1rem;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--pine-600);
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(38,107,83,.12);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237b6f5b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-section-title {
  font-family: var(--serif); font-size: 1.3rem; color: var(--pine-900);
  margin: 1.8rem 0 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: .55rem;
}
.form-section-title:first-child { margin-top: 0; }

/* checkbox / radio cards */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .7rem; }
.opt {
  position: relative;
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  font-weight: 600; font-size: .95rem;
}
.opt:hover { border-color: var(--brass); transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: var(--cream);
  display: grid; place-items: center; transition: all .2s;
}
.opt .box svg { opacity: 0; transform: scale(.5); transition: .2s; color: #fff; }
.opt input:checked ~ .box { background: var(--pine-700); border-color: var(--pine-700); }
.opt input:checked ~ .box svg { opacity: 1; transform: scale(1); }
.opt:has(input:checked) { border-color: var(--pine-700); background: rgba(38,107,83,.07); }
.opt input[type="radio"] ~ .box { border-radius: 50%; }
.field-err { color: var(--clay-700); font-size: .82rem; font-weight: 600; display: none; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--clay); }
.field.invalid .field-err { display: block; }

/* ---------- Get Started wizard ---------- */
.wizard { max-width: 760px; margin-inline: auto; }
.wizard__progress {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 2rem; justify-content: center;
}
.wizard__progress .dot {
  height: 6px; flex: 1; max-width: 90px; border-radius: 3px; background: var(--line-2);
  transition: background .4s;
}
.wizard__progress .dot.active { background: var(--brass); }
.wizard__progress .dot.done { background: var(--pine-600); }
.wizard__step { display: none; animation: fadeUp .5s both; }
.wizard__step.active { display: block; }
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.wizard__nav .spacer { flex: 1; }
.step-label { color: var(--muted); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; display:block; }

/* path / choice cards */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.choice {
  text-align: left;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--cream);
  padding: 1.8rem;
  cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: .7rem;
}
.choice:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--brass); }
.choice.selected { border-color: var(--pine-700); box-shadow: var(--sh); }
.choice.selected::after {
  content: "✓"; position: absolute; top: 1rem; right: 1.1rem;
  width: 30px; height: 30px; border-radius: 50%; background: var(--pine-700); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.choice__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; color: var(--cream);
}
.choice--client .choice__icon { background: var(--pine-800); }
.choice--candidate .choice__icon { background: var(--clay); }
.choice h3 { font-size: 1.6rem; }
.choice p { color: var(--muted); font-size: .96rem; }
.choice__hint { margin-top: auto; font-weight: 700; color: var(--pine-700); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }

/* service select tiles */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: .9rem; }
.svc {
  position: relative; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: var(--r);
  background: var(--paper); padding: 1.2rem 1rem; text-align: center;
  transition: transform .2s, border-color .2s, background .2s;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.svc:hover { transform: translateY(-3px); border-color: var(--brass); }
.svc input { position: absolute; opacity: 0; }
.svc .ic { width: 40px; height: 40px; color: var(--pine-700); display: grid; place-items: center; transition: color .2s; }
.svc__name { font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.svc:has(input:checked) { border-color: var(--pine-700); background: rgba(38,107,83,.08); box-shadow: var(--sh-sm); }
.svc:has(input:checked) .ic { color: var(--clay); }
.svc__check {
  position: absolute; top: .5rem; right: .5rem; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pine-700); color: #fff; display: none; place-items: center; font-size: .7rem; font-weight: 800;
}
.svc:has(input:checked) .svc__check { display: grid; }

/* confirmation */
.confirm {
  text-align: center; max-width: 560px; margin-inline: auto;
  animation: fadeUp .6s both;
}
.confirm__badge {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--pine-600), var(--pine-800));
  display: grid; place-items: center; margin: 0 auto 1.6rem;
  color: var(--brass-200); box-shadow: var(--sh-lg);
  animation: pop .6s .1s both;
}
.confirm h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.confirm p { color: var(--muted); margin-top: 1rem; }
.confirm__summary {
  text-align: left; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.8rem 0;
}
.confirm__summary dt { font-weight: 700; color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-top: .8rem; }
.confirm__summary dt:first-child { margin-top: 0; }
.confirm__summary dd { color: var(--pine-900); font-weight: 600; }

@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Dashboard ---------- */
.dash {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(205,161,75,.1), transparent 50%),
    var(--ivory);
  min-height: 100vh;
}
.dash__head {
  padding-block: clamp(28px, 4vw, 44px) 0;
}
.dash__greeting { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dash__greeting h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.dash__date { color: var(--muted); font-weight: 600; }
.dash__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 1.8rem; }
.dstat {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: .9rem;
}
.dstat__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.dstat__ic--client { background: rgba(38,107,83,.14); color: var(--pine-700); }
.dstat__ic--cand { background: rgba(196,102,63,.14); color: var(--clay-700); }
.dstat__ic--app { background: rgba(205,161,75,.18); color: var(--brass-700); }
.dstat__ic--match { background: var(--pine-800); color: var(--brass-200); }
.dstat__num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--pine-900); line-height: 1; }
.dstat__label { color: var(--muted); font-size: .82rem; font-weight: 600; }

.dash__layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 1.8rem;
  align-items: start;
  padding-bottom: clamp(48px, 8vw, 90px);
}
.dash__toolbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin: 2rem 0 1.4rem;
}
.tabs { display: flex; gap: .35rem; background: var(--paper); padding: .35rem; border-radius: var(--r-pill); border: 1px solid var(--line); }
.tab {
  padding: .5rem 1rem; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem; color: var(--muted);
  transition: background .2s, color .2s;
}
.tab.active { background: var(--pine-800); color: var(--cream); box-shadow: var(--sh-sm); }
.tab .count { opacity: .7; margin-left: .3rem; }
.toolbar-search { margin-left: auto; }
.toolbar-search .input { min-width: 220px; padding-block: .6em; }

.cards-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.1rem; align-content: start; }
.sub-card {
  background: var(--cream); border: 1px solid var(--line); border-left-width: 4px;
  border-radius: var(--r); padding: 1.2rem; box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: .7rem;
}
.sub-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.sub-card--client { border-left-color: var(--pine-600); }
.sub-card--candidate { border-left-color: var(--clay); }
.sub-card--application { border-left-color: var(--brass); }
.sub-card.selected-match { outline: 2.5px solid var(--brass); outline-offset: 2px; }
.sub-card__top { display: flex; align-items: center; gap: .8rem; }
.sub-card__avatar { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; background: var(--ivory-2); display:grid; place-items:center; font-weight:800; color: var(--pine-700); }
.sub-card__name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--pine-900); line-height: 1.1; }
.sub-card__sub { font-size: .85rem; color: var(--muted); font-weight: 600; }
.sub-card__type { margin-left: auto; }
.sub-card__rows { display: grid; gap: .35rem; font-size: .88rem; }
.sub-card__rows .row { display: flex; gap: .5rem; color: var(--ink-2); }
.sub-card__rows .row .k { color: var(--muted); min-width: 74px; font-weight: 600; }
.sub-card__rows .row .v { font-weight: 600; }
.sub-card__foot { display: flex; align-items: center; gap: .6rem; margin-top: .3rem; padding-top: .8rem; border-top: 1px dashed var(--line-2); }
.status-select { font-size: .82rem; padding: .4em .6em; padding-right: 2em; border-radius: var(--r-pill); border: 1px solid var(--line-2); background-color: var(--paper); font-weight: 700; }
.tagline-chips { display: flex; flex-wrap: wrap; gap: .35rem; }

.btn-match {
  margin-left: auto; font-size: .82rem; font-weight: 800;
  color: var(--pine-700); display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-2);
  transition: all .2s;
}
.btn-match:hover { border-color: var(--brass); background: var(--paper); }
.btn-match.is-picked { background: var(--pine-800); color: var(--cream); border-color: var(--pine-800); }

/* match maker aside */
.matchmaker {
  position: sticky; top: 92px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.4rem;
}
.matchmaker h3 { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; }
.matchmaker > p { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.slot {
  margin-top: 1rem; border: 1.5px dashed var(--line-2); border-radius: var(--r);
  padding: 1rem; min-height: 76px; display: flex; align-items: center; gap: .8rem;
  transition: border-color .2s, background .2s;
}
.slot.filled { border-style: solid; background: var(--paper); }
.slot--client.filled { border-color: var(--pine-600); }
.slot--worker.filled { border-color: var(--clay); }
.slot__placeholder { color: var(--muted-2); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .6rem; }
.slot__ph-ic { width: 38px; height: 38px; border-radius: 10px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; }
.slot__avatar { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--ivory-2); display:grid;place-items:center;font-weight:800;color:var(--pine-700); }
.slot__info b { display: block; font-family: var(--serif); color: var(--pine-900); font-size: 1.05rem; }
.slot__info span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.slot__clear { margin-left: auto; color: var(--muted); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.slot__clear:hover { background: var(--ivory-2); color: var(--clay); }
.match-connector { text-align: center; color: var(--brass); margin: .5rem 0; font-size: 1.2rem; }
.matchmaker__actions { margin-top: 1.2rem; }
.matches-list { margin-top: 1.4rem; }
.matches-list h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.match-item {
  display: flex; align-items: center; gap: .6rem; padding: .7rem;
  border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .6rem;
  background: var(--paper); animation: fadeUp .4s both; font-size: .85rem;
}
.match-item .mm-av { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: var(--ivory-2); display:grid;place-items:center;font-weight:800;font-size:.7rem;color:var(--pine-700); }
.match-item .link-ic { color: var(--brass-600); }
.match-item b { color: var(--pine-900); font-weight: 700; }
.match-item .when { margin-left: auto; color: var(--muted-2); font-size: .75rem; }

.empty {
  grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: var(--muted);
  border: 1.5px dashed var(--line-2); border-radius: var(--r-lg);
}
.empty .gem { width: 40px; height: 40px; opacity: .5; margin: 0 auto 1rem; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--pine-900); color: var(--cream);
  padding: .9rem 1.3rem; border-radius: var(--r-pill); box-shadow: var(--sh-lg);
  font-weight: 700; font-size: .92rem; z-index: 100; display: flex; align-items: center; gap: .6rem;
  transition: transform .4s cubic-bezier(.2,.8,.2,1); max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .gem { width: 16px; height: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--pine-800); color: var(--brass-200); display: grid; place-items: center; flex: none; }
.contact-item b { display: block; color: var(--pine-900); font-family: var(--serif); font-size: 1.15rem; }
.contact-item span, .contact-item a { color: var(--muted); }
.contact-item a:hover { color: var(--pine-700); }
.map-faux {
  margin-top: 1.5rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  height: 220px; position: relative;
  background:
    linear-gradient(120deg, rgba(38,107,83,.1), rgba(205,161,75,.12)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px),
    var(--paper);
  display: grid; place-items: center;
}
.map-faux .pin { background: var(--clay); color: #fff; padding: .5rem .9rem; border-radius: var(--r-pill); font-weight: 700; font-size: .85rem; box-shadow: var(--sh); display: flex; gap: .4rem; align-items: center; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem;
}
.value-card .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(38,107,83,.12); color: var(--pine-700); display: grid; place-items: center; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .95rem; }
.timeline { display: grid; gap: 0; margin-top: 1rem; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding-bottom: 2rem; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 99px; top: 8px; bottom: -4px; width: 2px; background: var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-year { font-family: var(--serif); font-weight: 600; color: var(--brass-700); font-size: 1.1rem; text-align: right; position: relative; }
.tl-year::after { content: ""; position: absolute; right: -16px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--brass); border: 2px solid var(--ivory); }
.tl-body h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.tl-body p { color: var(--muted); font-size: .95rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .7s both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 380px; max-width: 460px; margin-inline: auto; width: 100%; }
  .split, .split--narrow, .contact-grid { grid-template-columns: 1fr; }
  .split .feature-photo { max-width: 460px; }
  .steps, .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dash__layout { grid-template-columns: 1fr; }
  .matchmaker { position: static; }
  .dash__stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .stats, .footer__grid, .dash__stats { grid-template-columns: 1fr; }
  .footer__grid { gap: 2rem; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .reveal { transition-delay: 0s !important; }
  .toolbar-search { margin-left: 0; width: 100%; }
  .toolbar-search .input { width: 100%; }
  .tabs { width: 100%; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Brand image logo ---------- */
.brand__logo { width: 44px; height: 44px; object-fit: contain; flex: none; display: block; }
.footer .brand__logo { width: 40px; height: 40px; }
@media (max-width: 620px) { .brand__logo { width: 38px; height: 38px; } }

/* ---------- Single prominent choice (client) ---------- */
.choice-grid--single { grid-template-columns: minmax(0, 540px); justify-content: center; }
.subtle-link { color: var(--muted); font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.subtle-link:hover { color: var(--pine-700); border-color: var(--pine-700); }

/* ---------- Resume upload ---------- */
.file-drop { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover { border-color: var(--brass); background: var(--cream); }
.file-drop.has-file { border-style: solid; border-color: var(--pine-600); background: rgba(38,107,83,.06); }
.file-drop__ic { width: 42px; height: 42px; border-radius: 10px; background: var(--pine-800); color: var(--brass-200); display: grid; place-items: center; flex: none; }
.file-drop__text { display: flex; flex-direction: column; line-height: 1.35; }
.file-drop__text b { color: var(--pine-900); font-size: .95rem; }
.file-drop__text small { color: var(--muted); font-size: .8rem; }

/* ---------- Auth-aware nav ---------- */
.nav__user { display: flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem .2rem; }
.nav__user__av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--pine-800); color: var(--brass-200); display: grid; place-items: center; font-weight: 800; font-size: .82rem; flex: none; }
.nav__user__name { font-weight: 700; font-size: .92rem; color: var(--pine-900); }
.nav__logout { font-weight: 600; color: var(--muted); font-size: .9rem; padding: .5rem .7rem; border-radius: var(--r-pill); }
.nav__logout:hover { color: var(--clay-700); background: var(--paper); }

/* ---------- Auth pages ---------- */
.auth-top { display: flex; justify-content: center; padding: 1.3rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ivory) 90%, transparent); position: relative; z-index: 2; }
.auth-wrap { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 2.5rem var(--gutter) 4rem; background: radial-gradient(100% 70% at 50% -5%, rgba(205,161,75,.16), transparent 60%); position: relative; z-index: 2; }
.auth-card { width: 100%; max-width: 470px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(1.7rem, 4vw, 2.7rem); }
.auth-card h1 { font-size: clamp(1.7rem, 3.5vw, 2.15rem); margin: .5rem 0; }
.auth-sub { color: var(--muted); margin-bottom: 1.7rem; }
.auth-error { background: rgba(196,102,63,.12); color: var(--clay-700); border-radius: var(--r-sm); padding: .7rem .9rem; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.auth-alt { text-align: center; color: var(--muted); margin-top: 1.3rem; }
.auth-alt a { color: var(--pine-700); font-weight: 700; border-bottom: 1px solid var(--brass); }
.auth-note { display: flex; gap: .6rem; align-items: flex-start; background: rgba(38,107,83,.08); color: var(--pine-800); border-radius: var(--r-sm); padding: .8rem .9rem; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.auth-note svg { flex: none; margin-top: 1px; color: var(--pine-600); }
.auth-demos { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed var(--line-2); text-align: center; }
.auth-demos__label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.auth-demos__row { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.chip-btn { border: 1.5px solid var(--line-2); background: var(--paper); border-radius: var(--r-pill); padding: .5rem .9rem; font-weight: 700; font-size: .85rem; color: var(--ink-2); transition: transform .2s, border-color .2s, background .2s; }
.chip-btn:hover { border-color: var(--brass); background: var(--cream); transform: translateY(-2px); }

/* role toggle (signup) */
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1.2rem; }
.role-opt { display: flex; flex-direction: column; gap: .1rem; align-items: flex-start; text-align: left; padding: 1rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink-2); transition: border-color .2s, background .2s; }
.role-opt svg { color: var(--pine-700); margin-bottom: .4rem; }
.role-opt b { color: var(--pine-900); font-size: 1rem; }
.role-opt small { color: var(--muted); font-size: .84rem; }
.role-opt:hover { border-color: var(--brass); }
.role-opt.selected { border-color: var(--pine-700); background: rgba(38,107,83,.07); box-shadow: var(--sh-sm); }

/* ---------- Portals (client / candidate) ---------- */
.portal { background: radial-gradient(70% 46% at 100% 0%, rgba(205,161,75,.1), transparent 55%), var(--ivory); min-height: 100vh; }
.portal-head { padding-block: clamp(28px, 4vw, 44px) 0; }
.portal-head h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.portal-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.8rem; align-items: start; padding-block: 1.8rem clamp(48px, 8vw, 90px); }
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; } }

.panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 1.5rem; }
.panel + .panel { margin-top: 1.4rem; }
.panel__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.panel__head h2 { font-size: 1.3rem; }
.panel__head .stage, .panel__head .pill { margin-left: auto; }
.panel__note { color: var(--muted); font-size: .9rem; }

/* stage badges */
.stage { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .35em .7em; border-radius: var(--r-pill); white-space: nowrap; }
.stage .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stage--proposed { background: rgba(205,161,75,.2); color: var(--brass-700); }
.stage--interview { background: rgba(196,102,63,.16); color: var(--clay-700); }
.stage--offer { background: rgba(196,102,63,.2); color: var(--clay-700); }
.stage--active { background: rgba(38,107,83,.15); color: var(--pine-700); }
.stage--ended { background: var(--ivory-2); color: var(--muted); }

/* active placement header */
.placement { display: flex; align-items: center; gap: 1rem; }
.placement__av { width: 62px; height: 62px; border-radius: 16px; object-fit: cover; flex: none; background: var(--ivory-2); display: grid; place-items: center; font-weight: 800; color: var(--pine-700); font-size: 1.2rem; }
.placement__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--pine-900); line-height: 1.1; }
.placement__role { color: var(--clay-700); font-weight: 700; font-size: .9rem; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.2rem; }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }
.tile__label { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.tile__value { font-family: var(--serif); font-size: 1.3rem; color: var(--pine-900); font-weight: 600; margin-top: .2rem; line-height: 1.1; }
.tile__value small { font-size: .8rem; font-family: var(--sans); color: var(--muted); }
.tile__sub { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.panel__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }

/* connection rows (proposed / offers) */
.conn { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.conn:first-child { border-top: none; padding-top: .2rem; }
.conn__av { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; background: var(--ivory-2); display: grid; place-items: center; font-weight: 800; color: var(--pine-700); }
.conn__name { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--pine-900); }
.conn__role { color: var(--muted); font-size: .85rem; font-weight: 600; }
.conn__actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* messaging */
.thread { display: flex; flex-direction: column; gap: .7rem; max-height: 320px; overflow-y: auto; padding: .3rem; margin-bottom: 1rem; }
.msg { max-width: 80%; padding: .55rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.msg__meta { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .7; margin-bottom: .2rem; }
.msg--them { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.msg--me { align-self: flex-end; background: var(--pine-800); color: var(--cream); border-bottom-right-radius: 4px; }
.msg--me .msg__meta { color: var(--brass-200); opacity: .9; }
.msg--owner { align-self: center; background: rgba(205,161,75,.15); color: var(--brass-700); border: 1px dashed var(--brass-200); font-size: .84rem; max-width: 94%; text-align: center; }
.composer { display: flex; gap: .5rem; }
.composer .input { flex: 1; }

/* availability switch */
.switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 700; color: var(--pine-900); }
.switch input { position: absolute; opacity: 0; }
.switch__track { width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform .2s; }
.switch input:checked ~ .switch__track { background: var(--pine-600); }
.switch input:checked ~ .switch__track::after { transform: translateX(20px); }

.profile-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.profile-row:first-child { border-top: none; }
.profile-row .k { color: var(--muted); font-weight: 600; }
.profile-row .v { color: var(--pine-900); font-weight: 700; text-align: right; }

/* ---------- Bookings ---------- */
.member__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.bookings { margin-top: 1.2rem; }
.bookings__title { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.booking { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; margin-top: .7rem; background: var(--paper); }
.booking__top { display: flex; align-items: center; gap: .6rem; }
.booking__title { font-weight: 800; color: var(--pine-900); }
.booking__meta { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.booking__notes { color: var(--ink-2); font-size: .88rem; margin-top: .5rem; font-style: italic; }
.bk-status { margin-left: auto; font-weight: 800; font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; padding: .32em .6em; border-radius: var(--r-pill); white-space: nowrap; }
.bk-status--requested { background: rgba(205,161,75,.2); color: var(--brass-700); }
.bk-status--confirmed { background: rgba(38,107,83,.15); color: var(--pine-700); }
.bk-status--completed { background: rgba(196,102,63,.16); color: var(--clay-700); }
.bk-status--paid { background: rgba(38,107,83,.2); color: var(--pine-700); }
.bk-status--declined, .bk-status--cancelled { background: var(--ivory-2); color: var(--muted); }
.booking__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; align-items: center; }
.booking__note { font-size: .84rem; color: var(--muted); }
.fee-note { color: var(--clay-700); font-weight: 700; font-size: .82rem; display: block; margin-top: .5rem; }
.split-line { font-size: .84rem; color: var(--muted); margin-top: .3rem; }
.split-line b { color: var(--pine-900); }
.stars-in { color: var(--brass-600); letter-spacing: 1px; }

.booking-form { margin-top: 1rem; padding: 1.2rem; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--paper); }
.booking-form h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--pine-900); margin-bottom: .9rem; }
.booking-form .field { margin-bottom: .9rem; }
.booking-form .pay-preview { font-size: .85rem; color: var(--muted); margin: .2rem 0 1rem; }
.booking-form .pay-preview b { color: var(--pine-900); }

/* ---------- Pam's Desk: approval queue + connections ---------- */
.approval { background: radial-gradient(120% 100% at 0% 0%, rgba(205,161,75,.18), transparent 60%), var(--cream); border: 1px solid var(--brass-200); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: clamp(1.1rem, 3vw, 1.5rem); margin-bottom: 1.5rem; }
.approval__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.approval__head h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .5rem; }
.approval__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.approval-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; display: flex; gap: .8rem; align-items: center; }
.approval-card__meta { min-width: 0; }
.approval-card__meta b { font-family: var(--serif); font-size: 1.1rem; color: var(--pine-900); display: block; line-height: 1.1; }
.approval-card__meta span { font-size: .84rem; color: var(--muted); }
.approval-card__actions { margin-left: auto; display: flex; gap: .4rem; flex: none; }

.sub-card--connection { border-left-color: var(--brass); }
.conn-pair { display: flex; align-items: center; gap: .55rem; }
.conn-pair__arrow { color: var(--brass-600); flex: none; }
.conn-side { min-width: 0; }
.conn-side b { font-family: var(--serif); font-weight: 600; color: var(--pine-900); font-size: 1rem; display: block; line-height: 1.15; }
.conn-side span { font-size: .78rem; color: var(--muted); }
.card-lead-note { font-size: .82rem; color: var(--muted); font-style: italic; }

/* ---------- Offer handshake ---------- */
.offer-box { border: 1px solid var(--brass-200); background: rgba(205,161,75,.08); border-radius: var(--r); padding: 1rem 1.1rem; margin-top: 1rem; }
.offer-box .member__actions { margin-top: .8rem; }
.offer-box__lead { font-weight: 700; color: var(--pine-900); margin-bottom: .5rem; }
.terms { margin: .3rem 0 .4rem; }
.terms .split-line { margin: .22rem 0; color: var(--ink-2); }
.terms .split-line b { color: var(--pine-900); }
[hidden] { display: none !important; }
