/* Lian Management — Recruiting pages
   Tokens per B-brain/clients/lian-management/DESIGN.md (canonical) */

:root {
  --navy: #202D3D;
  --navy-deep: #1D2E40;
  --cream: #FBFAF8;
  --off: #FDF7F7;
  --blush: #F1ADAA;
  --rose: #C98A86;
  --mauve: #A87F83;
  --gray: #9AA3B1;
  --border: #ECE8E2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.serif { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 32px; width: auto; display: block; }
.nav-brand span { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a.home-link {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  color: var(--mauve); transition: color .2s;
}
.nav-links a.home-link:hover { color: var(--navy); }
.nav-links a.apply {
  border: 1px solid var(--navy); padding: 10px 24px;
  letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; font-weight: 400;
  transition: all .2s;
}
.nav-links a.apply:hover { background: var(--navy); color: var(--off); }

/* dark nav variant — splash page */
.nav.nav-dark {
  background: rgba(32, 45, 61, .92);
  border-bottom: 1px solid rgba(253, 247, 247, .12);
  color: var(--off);
}
.nav.nav-dark .nav-links a.home {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  color: var(--blush); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .2s;
}
.nav.nav-dark .nav-links a.home:hover { border-color: var(--blush); }

/* ---------- sections ---------- */
section, main { position: relative; overflow: hidden; }
.dark { background: var(--navy); color: var(--off); }
.pad { padding: 90px 0; }
.pad-lg { padding: 130px 0; }

.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--mauve); margin-bottom: 28px;
}
.dark .eyebrow { color: var(--blush); }

h1 { font-size: clamp(42px, 6.6vw, 76px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h1 .serif { font-weight: 400; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; }
h2 .serif { font-weight: 400; }
.gap-top { margin-top: 84px; }

.lede { font-size: 18px; line-height: 1.6; opacity: .8; max-width: 620px; margin-top: 36px; }
.body-line { font-size: 16.5px; opacity: .84; max-width: 640px; margin-top: 26px; }
.fine { font-size: 14px; opacity: .62; max-width: 640px; margin-top: 30px; line-height: 1.7; }

.motif { position: absolute; top: -20px; right: -30px; width: 340px; opacity: .15; pointer-events: none; }

/* ---------- splash (home) ---------- */
.splash { background: var(--navy); }
.splash-main { background: var(--navy); color: var(--off); min-height: calc(100vh - 96px); display: flex; align-items: center; padding: 90px 0; }
.splash-logo { height: 52px; margin-bottom: 42px; display: block; }
.role-links { margin-top: 64px; display: flex; flex-direction: column; }
.role-links a {
  font-size: clamp(24px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.01em;
  padding: 26px 0; border-top: 1px solid rgba(253, 247, 247, .18);
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  transition: color .2s;
}
.role-links a:last-child { border-bottom: 1px solid rgba(253, 247, 247, .18); }
.role-links a span { color: var(--blush); font-weight: 300; transition: transform .2s; }
.role-links a:hover { color: var(--blush); }

/* ---------- hero (role pages) ---------- */
.hero { padding: 120px 0 100px; }

/* ---------- callout ---------- */
.callout {
  border-left: 3px solid var(--rose); background: #fff;
  padding: 22px 28px; margin: 44px 0 8px;
  font-size: 18.5px; line-height: 1.6;
}
.callout .serif { font-size: 1.18em; }

/* ---------- requirements list ---------- */
.req { list-style: none; margin-top: 40px; }
.req li {
  padding: 16px 0 16px 40px; border-top: 1px solid var(--border);
  font-size: 16px; position: relative;
}
.req li::before {
  content: ""; position: absolute; left: 0; top: 27px;
  width: 20px; height: 1px; background: var(--rose);
}

/* ---------- numbered flow ---------- */
.flow { counter-reset: f; list-style: none; margin-top: 40px; }
.flow li {
  counter-increment: f; position: relative;
  padding: 16px 0 16px 64px; border-top: 1px solid var(--border);
  font-size: 16.5px; font-weight: 400;
}
.flow li::before {
  content: counter(f, decimal-leading-zero);
  position: absolute; left: 0; top: 15px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 24px; color: var(--rose);
}
.flow li small { display: block; font-size: 14px; font-weight: 300; opacity: .62; margin-top: 4px; line-height: 1.6; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .email {
  display: inline-block; margin-top: 40px;
  font-size: clamp(19px, 3.2vw, 30px); font-weight: 700;
  border-bottom: 2px solid var(--blush); padding-bottom: 8px; transition: color .2s;
}
.cta .email:hover { color: var(--blush); }

/* ---------- footer ---------- */
footer { background: var(--navy-deep); color: var(--off); padding: 40px 0 30px; }
footer .foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .brand span { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
footer .mail { font-size: 14px; }
footer .mail a { color: var(--blush); }
footer .foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(253,247,247,.12); font-size: 12.5px;
}
footer .copy { opacity: .5; }
footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
footer .foot-links a { color: var(--off); opacity: .65; transition: opacity .2s; }
footer .foot-links a:hover { opacity: 1; }

/* ---------- resource kit page ---------- */
.kit-list { list-style: none; margin-top: 26px; }
.kit-list li { padding: 8px 0 8px 22px; position: relative; font-size: 16px; opacity: .88; }
.kit-list li::before { content: "—"; position: absolute; left: 0; color: var(--rose); }
.dark .kit-list li::before { color: var(--blush); }
h3.kit-h { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--mauve); margin-top: 44px; }

.q-panel { background: #06060E; color: #fff; padding: 52px 48px; margin-top: 44px; }
.q-panel .eyebrow { color: #6C5CE7; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.swatch .chip { height: 64px; border: 1px solid rgba(255,255,255,.1); }
.swatch .meta { padding: 10px 2px; font-size: 11px; letter-spacing: .06em; }
.swatch .meta b { display: block; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }

.formulas { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 15.5px; }
.formulas th {
  text-align: left; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500; color: var(--mauve); padding: 0 16px 12px 0;
}
.formulas td { border-top: 1px solid var(--border); padding: 15px 16px 15px 0; vertical-align: top; }
.f-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; }

.dl-links { list-style: none; margin-top: 32px; }
.dl-links li { border-top: 1px solid var(--border); }
.dl-links a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 16px; font-weight: 400; }
.dl-links a:hover { color: var(--rose); }
.dl-links .type { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve); align-self: center; white-space: nowrap; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .18s; } .reveal.d3 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 90px 0 70px; }
  .pad-lg { padding: 90px 0; }
  .motif { width: 220px; }
  .q-panel { padding: 36px 24px; }
  .formulas { font-size: 14px; }
}
