:root {
  --bg: #f2f7f3;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --line: rgba(17, 24, 20, 0.08);
  --text: #102019;
  --muted: #5a675f;
  --primary: #00c853;
  --primary-dark: #00a846;
  --accent: #f97316;
  --shadow: 0 18px 48px rgba(34, 74, 44, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: #f8faf7;
  background-image: url('./site-background.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.site-shell { width: min(var(--shell), calc(100% - 24px)); margin: 0 auto; padding: 18px 0 56px; }
.page-shell { width: min(var(--shell), calc(100% - 24px)); margin: 0 auto; padding: 18px 0 56px; }
.site-shell, .page-shell { padding-top: 104px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: sticky;
  top: 14px;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.topbar--rich { padding-inline: 22px; }
.brand { font-size: clamp(1.35rem, 1.8vw, 1.55rem); font-weight: 800; color: var(--text); letter-spacing: -0.04em; }
.brand span { color: var(--primary); }
.nav { display: flex; gap: 18px; align-items: center; color: var(--muted); font-weight: 700; }
.nav a.is-active, .nav a:hover { color: var(--primary); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  min-width: 44px;
  min-height: 44px;
  transition-property: transform, background-color, box-shadow, color;
  transition-duration: 180ms;
  transition-timing-function: ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.96); }
.button--primary { background: linear-gradient(135deg, var(--primary), #0bd766); color: #fff; }
.button--primary:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.button--ghost { background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); }
.button--small { min-height: 44px; padding: 0 16px; font-size: 0.92rem; }
.button--block { width: 100%; }
.hero { display: grid; gap: 28px; padding: 38px; }
.hero--home { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr); }
.hero--compact { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); }
.hero__copy, .hero__stack, .search-panel { display: grid; gap: 18px; }
.pill, .tag, .chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pill { padding: 10px 14px; background: rgba(0, 200, 83, 0.12); color: #0e7a3b; }
.tag { padding: 8px 12px; background: rgba(0, 200, 83, 0.1); color: #0d8240; }
.tag--warm, .chip { background: rgba(249, 115, 22, 0.12); color: #bb5710; }
.chip { padding: 10px 14px; }
.hero h1, .job-main h1, .legal-page h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.hero--compact h1, .job-main h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.lead, .section-head p, .muted, .feature-card p, .quote p, .footer p, .job-main p, .job-side p, .price-card li, .bullet-list li, .filter-list li, .field span, .article-card p, .legal-page p {
  color: #354139;
  line-height: 1.7;
}
.actions, .job-card__meta, .chips, .facts, .partner-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-strip span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(16, 32, 25, 0.04);
  border: 1px solid rgba(16, 32, 25, 0.07);
  color: #2f3b34;
  font-size: 0.9rem;
  font-weight: 700;
}
.stat-card, .feature-card, .price-card, .quote, .job-card, .job-main, .job-side, .filter-card, .search-panel, .metric-card, .article-card, .legal-page, .cta-band {
  padding: 26px;
}
.stat-card strong, .salary, .metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
}
.salary, .metric-card strong { font-variant-numeric: tabular-nums; }
.section { padding: 44px 0 0; }
.section--contrast {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(232, 243, 235, 0.7) 100%);
  border-radius: 40px;
  padding: 44px 24px 0;
  margin-top: 24px;
}
.section-head { display: grid; gap: 10px; margin-bottom: 22px; }
.section-head h2, .job-main h2, .job-side h2, .search-panel h2, .cta-band h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.job-grid, .feature-grid, .quotes, .pricing-grid, .metrics-grid { display: grid; gap: 18px; }
.job-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.job-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.job-card { display: grid; gap: 14px; align-content: start; }
.job-card, .feature-card, .price-card, .article-card { animation: card-enter 420ms cubic-bezier(.2, 0, 0, 1) both; }
.job-card:nth-child(2), .feature-card:nth-child(2), .price-card:nth-child(2), .article-card:nth-child(2) { animation-delay: 80ms; }
.job-card:nth-child(3), .feature-card:nth-child(3), .price-card:nth-child(3), .article-card:nth-child(3) { animation-delay: 160ms; }
.job-card:nth-child(4), .article-card:nth-child(4) { animation-delay: 240ms; }
@keyframes card-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.job-card .bullet-list { margin: 0; padding-left: 18px; }
.job-card .bullet-list li { line-height: 1.55; }
.job-card__actions { display: grid; gap: 10px; margin-top: auto; }
.feature-grid, .quotes, .pricing-grid, .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-layout { display: block; }
.listing-layout > .filter-card { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(300px, 1.25fr) minmax(280px, 1.6fr); gap: 22px; align-items: start; margin-bottom: 18px; }
.listing-layout > .filter-card h2 { margin: 0; }
.listing-layout > .filter-card .filter-list { margin: 0; }
.listing-layout > .filter-card .job-note { margin: 0; }
.filter-list, .bullet-list { margin: 14px 0 0; padding-left: 20px; }
.bullet-list--compact { margin-top: 8px; }
.field { display: grid; gap: 10px; }
.job-page { display: grid; gap: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) 320px; gap: 18px; align-items: start; }
.job-main, .job-side { display: grid; gap: 20px; }
.job-main section { display: grid; gap: 10px; }
.facts { color: var(--muted); font-weight: 700; }
.job-side__actions { display: grid; gap: 10px; }
.job-note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 83, 0.08);
  color: #264434;
  font-size: 0.94rem;
  line-height: 1.6;
}
.price-card--featured { border: 2px solid rgba(0, 200, 83, 0.28); }
.price-card {
  display: grid;
  grid-template-rows: 30px auto auto 1fr;
  align-content: start;
}
.price-card:not(.price-card--featured)::before {
  content: "";
  visibility: hidden;
}
.price-card h3, .price-card .salary { margin-top: 0; }
.price-card > .button { margin-top: 18px; align-self: end; }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); }
.metric-card { text-align: center; }
.metric-card span { color: var(--muted); font-weight: 700; }
.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 6px 0;
  color: var(--muted);
  border-top: 1px solid rgba(20, 31, 24, 0.08);
}
.footer--full {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
}
.footer__brand, .footer__col { display: grid; gap: 10px; }
.footer__brand strong, .footer__title { font-size: 1rem; font-weight: 800; color: var(--text); }

.footer__legal {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 31, 24, 0.08);
}

.footer__legal .footer__title {
  margin-bottom: 4px;
}

.footer__legal p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .footer--full {
    grid-template-columns: 1fr;
  }
}
.footer__brand strong span { color: var(--primary); }
.footer__title { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--primary-dark); }
.footer__disclaimer { grid-column: 1 / -1; margin: 6px 0 0; font-size: 0.92rem; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}
.site-footer strong { color: var(--text); font-size: 1rem; }
.site-footer p { margin: 10px 0 0; }
.footer-links { display: grid; align-content: start; gap: 12px; font-weight: 700; color: var(--muted); }
.footer-links a { transition-property: color, transform; transition-duration: 180ms; }
.footer-links a:hover { color: var(--primary-dark); transform: translateX(2px); }
.article-card h3, .choice-card { margin: 0; }
.quiz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  font-weight: 800;
}
.choice-card:hover { border-color: rgba(0, 200, 83, 0.34); color: var(--primary-dark); }
.legal-page { display: grid; gap: 12px; max-width: 860px; }

@media (max-width: 1040px) {
  .hero--home, .hero--compact, .listing-layout, .job-layout, .job-grid, .feature-grid, .quotes, .pricing-grid, .metrics-grid, .footer--full, .site-footer {
    grid-template-columns: 1fr;
  }
  .job-grid--wide, .quiz-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: start; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 14px, var(--shell)); padding-top: 10px; }
  .listing-layout > .filter-card { grid-template-columns: 1fr; gap: 12px; }
  .topbar { grid-template-columns: auto max-content auto; flex-wrap: nowrap; border-radius: 26px; padding: 14px; overflow-x: auto; }
  .nav { order: 3; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .hero, .panel, .section--contrast, .footer--full { border-radius: 24px; }
  .hero, .stat-card, .feature-card, .price-card, .quote, .job-card, .job-main, .job-side, .filter-card, .search-panel, .metric-card, .article-card, .legal-page, .cta-band { padding: 22px; }
  .actions .button, .facts { width: 100%; }
}
:root { --site-header-height: 86px; }
.topbar {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  justify-content: initial;
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--shell), calc(100% - 24px));
  margin-left: 0;
  margin-right: 0;
  z-index: 1000;
  min-height: var(--site-header-height);
  box-sizing: border-box;
  flex-wrap: nowrap;
}
.brand { white-space: nowrap; }
.application-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(16, 32, 25, .42); }
.application-modal.open { display: flex; }
.application-card { position: relative; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border-radius: 28px; background: #fff; box-shadow: 0 24px 80px rgba(16, 32, 25, .24); }
.application-card h2 { margin: 0 0 8px; }
.application-note { margin: 0 0 20px; color: var(--muted); }
.application-close { position: absolute; top: 14px; right: 18px; border: 0; background: transparent; font-size: 30px; color: var(--muted); cursor: pointer; }
.application-form { display: grid; gap: 14px; }
.application-form label { display: grid; gap: 7px; color: var(--text); font-weight: 700; }
.application-form input, .application-form select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--text); }
.application-form .application-consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .88rem; font-weight: 500; line-height: 1.45; }
.application-form .application-consent input { width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--primary); }
.application-form > .button { min-height: 58px; margin-top: 55px; font-size: 1.1rem; }
.application-result { min-height: 1.4em; margin: 0; color: var(--primary-dark); font-weight: 700; }
.topbar > .brand { justify-self: start; }
.topbar > .nav { justify-self: center; }
.topbar > .button { justify-self: end; }
body > .topbar {
  width: min(var(--shell), calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
}

/* One visual contract for every page, including legacy templates. */
.site-shell, .page-shell { padding-top: calc(var(--site-header-height) + 28px); }
.site-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-top: 40px; padding: 28px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.site-footer .footer-links { display: grid; align-content: start; gap: 10px; }
.topbar .nav { min-width: 0; }
.topbar .nav a { white-space: nowrap; }
.job-grid { align-items: stretch; }
.job-card { min-height: 430px; display: grid; grid-template-rows: auto minmax(3.2em, auto) auto 1fr auto; gap: 16px; }
.job-card h3, .job-card .salary, .job-card p, .job-card ul { margin-top: 0; margin-bottom: 0; }
.job-card__actions, .job-side__actions { align-self: end; }
.job-status { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 12px; background: rgba(20,31,24,.07); color: var(--muted); font-weight: 800; text-align: center; }
.application-modal { overscroll-behavior: contain; }
.application-card { scrollbar-width: thin; }
body.application-open { overflow: hidden; }

@media (max-width: 1040px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > :first-child, .site-footer > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-shell, .page-shell { width: min(100% - 14px, var(--shell)); padding-top: 164px; }
  .topbar { top: 8px; grid-template-columns: 1fr auto; gap: 12px; min-height: auto; padding: 14px 16px; }
  .topbar > .brand { align-self: center; }
  .topbar > .button { grid-column: 2; grid-row: 1; }
  .topbar .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 8px 14px; overflow-x: auto; padding-top: 4px; }
  .topbar .nav a { font-size: .9rem; }
  .site-footer { grid-template-columns: 1fr; padding: 22px; }
  .site-footer > :first-child, .site-footer > :last-child { grid-column: auto; }
  .job-card { min-height: 0; grid-template-rows: none; }
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-consent--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 31, 24, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08),
              0 2px 8px rgba(0, 0, 0, 0.04);
}

.cookie-consent__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.12), rgba(0, 150, 60, 0.08));
  border-radius: 12px;
  color: var(--primary, #00c853);
}

.cookie-consent__content {
  flex: 1;
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #141f18);
  line-height: 1.3;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted, #5a6b5f);
}

.cookie-consent__link {
  color: var(--primary, #00c853);
  text-decoration: underline;
  text-decoration-color: rgba(0, 200, 83, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.cookie-consent__link:hover {
  text-decoration-color: var(--primary, #00c853);
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-consent__btn--decline {
  background: transparent;
  color: var(--muted, #5a6b5f);
  border: 1px solid rgba(20, 31, 24, 0.12);
}

.cookie-consent__btn--decline:hover {
  background: rgba(20, 31, 24, 0.04);
  border-color: rgba(20, 31, 24, 0.2);
}

.cookie-consent__btn--accept {
  background: var(--primary, #00c853);
  color: #fff;
}

.cookie-consent__btn--accept:hover {
  background: var(--primary-dark, #00a843);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.cookie-consent__btn--accept:active {
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 12px;
  }
  
  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  
  .cookie-consent__icon {
    width: 40px;
    height: 40px;
  }
  
  .cookie-consent__icon svg {
    width: 20px;
    height: 20px;
  }
  
  .cookie-consent__title {
    font-size: 0.95rem;
  }
  
  .cookie-consent__text {
    font-size: 0.84rem;
  }
  
  .cookie-consent__actions {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-consent__btn {
    width: 100%;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .cookie-consent__inner {
    padding: 16px;
    border-radius: 16px;
  }
  
  .cookie-consent__btn {
    font-size: 0.92rem;
  }
}



/* Compact Search Panel */


/* Override search panel spacing */
.search-panel {
  gap: 10px !important;
  padding: 20px 24px !important;
}

.search-panel h2 {
  margin: 0 0 4px !important;
}

.search-panel .bullet-list--compact li {
  margin-bottom: 8px;
}

/* Legal Page Requisites */
.legal-page__requisites {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(20, 31, 24, 0.08);
}

.legal-page__requisites h2 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text, #141f18);
}

.requisites-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  margin: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 31, 24, 0.06);
  border-radius: 16px;
}

.requisites-list dt {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted, #5a6b5f);
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 31, 24, 0.04);
}

.requisites-list dd {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text, #141f18);
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 31, 24, 0.04);
}

.requisites-list dt:last-of-type,
.requisites-list dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 600px) {
  .requisites-list {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px;
  }
  
  .requisites-list dt {
    margin-top: 12px;
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .requisites-list dd {
    padding-top: 0;
  }
  
  .requisites-list dt:first-child {
    margin-top: 0;
  }
}


@media (prefers-reduced-motion: reduce) {
  .topbar, .application-card, .job-card { animation: none; transition: none; }
}

/* HRCADRY design DNA v2: obsidian editorial system */
:root {
  --bg: #0a0a09;
  --surface: rgba(16, 16, 15, .84);
  --surface-strong: rgba(22, 19, 15, .92);
  --line: rgba(216, 177, 100, .28);
  --text: #eeedea;
  --muted: #b9b3aa;
  --primary: #d8b164;
  --primary-dark: #bb934c;
  --accent: #eeedea;
  --shell: 1440px;
  --shadow: 0 24px 64px rgba(0, 0, 0, .38);
  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 8px;
}
html { color-scheme: dark; }
body {
  color: var(--text);
  background-color: var(--bg) !important;
  background-image: linear-gradient(rgba(10, 10, 9, .25), rgba(10, 10, 9, .54)), url("./black-gold-marble.webp") !important;
  background-position: center, center top !important;
  background-size: auto, 1180px auto !important;
  background-repeat: repeat, repeat !important;
}
.site-shell, .page-shell { width: min(var(--shell), calc(100% - 48px)); padding-top: 88px; }
.topbar {
  min-height: 82px;
  margin: 0 0 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(216, 177, 100, .19);
  border-radius: 0;
  background: rgba(10, 10, 9, .78);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.topbar::after { display: none; }
.topbar .brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 2.2vw, 2.45rem); font-weight: 700; letter-spacing: .025em; }
.topbar .brand::before { content: none; }
.topbar .brand__logo { width: 48px !important; height: 48px !important; flex-basis: 48px !important; transform: none !important; }
.topbar .nav { gap: clamp(20px, 2vw, 34px); font-size: .93rem; font-weight: 600; color: #eeedea; }
.topbar .nav a { min-height: 44px; display: inline-flex; align-items: center; }
.topbar .button--small { min-width: 190px; min-height: 48px; padding-inline: 22px; }
.panel, .footer--full {
  border-color: rgba(216, 177, 100, .24);
  background: linear-gradient(145deg, rgba(20, 18, 15, .9), rgba(10, 10, 9, .87));
  box-shadow: 0 20px 52px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.hero--home {
  min-height: 612px;
  margin-top: 0;
  padding: clamp(36px, 4vw, 60px);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border-top: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(292px, .7fr);
  background-image: linear-gradient(90deg, rgba(10,10,9,.97) 0%, rgba(10,10,9,.9) 44%, rgba(10,10,9,.32) 69%, rgba(10,10,9,.08) 100%), url("./hero-marble-statesman.webp") !important;
  background-position: center, center right;
  background-size: cover, cover;
}
.hero--home .hero__copy { max-width: 710px; }
.hero--home h1 { max-width: 13.5ch; font-size: clamp(3.4rem, 5.05vw, 5rem); line-height: .92; letter-spacing: -.015em; }
.hero--home h1:first-letter { color: inherit; }
.hero--home .lead { max-width: 57ch; color: #c4bdb3; }
.hero--home .hero__stack { align-self: end; justify-self: end; max-width: 340px; }
.hero--home .search-panel { padding: 28px; border-radius: 14px; background: linear-gradient(145deg, rgba(22,18,14,.9), rgba(10,10,9,.82)); }
.hero--home .search-panel h2 { font-size: 2rem; line-height: .98; }
.hero--home .search-panel .bullet-list { counter-reset: process; list-style: none; padding-left: 0; }
.hero--home .search-panel .bullet-list li { position: relative; min-height: 42px; padding: 0 0 12px 46px; }
.hero--home .search-panel .bullet-list li::before { counter-increment: process; content: counter(process); position: absolute; inset: 0 auto auto 0; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(216,177,100,.58); border-radius: 50%; color: var(--primary); font-weight: 800; font-size: .78rem; }
.search-bar { max-width: 650px !important; }
.search-bar input { min-height: 54px; border-radius: 8px !important; background: rgba(6,6,5,.68) !important; }
.button { border-radius: 7px; }
.button--primary { background: linear-gradient(135deg, #edcd76, #bb934c); color: #17120b; }
.button--primary:hover { background: linear-gradient(135deg, #f6dc97, #d1a44d); color: #17120b; }
.quick-tags .chip, .filter-chip { border-radius: 6px; }
.section { margin-top: 56px; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: clamp(2.45rem, 3.2vw, 3.5rem); line-height: .98; }
.section-head h2::after { content: none; }
.job-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job-card { min-height: 414px; padding: 28px; border-radius: 12px; }
.job-card h3 { font-size: 1.65rem; line-height: 1.04; }
.job-card:hover, .feature-card:hover, .article-card:hover { transform: translateY(-3px); border-color: rgba(216,177,100,.62); box-shadow: 0 28px 58px rgba(0,0,0,.42); }
.metrics-bar { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 20px; border: 1px solid rgba(216,177,100,.28); border-radius: 14px; background: rgba(15,13,11,.78); box-shadow: 0 20px 42px rgba(0,0,0,.28); }
.metric-card { padding: 10px 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
.metric-card + .metric-card { border-left: 1px solid rgba(216,177,100,.18); }
.metric-card strong { font-size: 2rem; }
.quotes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-card { min-height: 220px; padding: 28px; border: 1px solid rgba(216,177,100,.22); border-radius: 12px; background: linear-gradient(145deg, rgba(20,18,15,.9), rgba(10,10,9,.87)); }
.footer--full { border-radius: 14px; }
@media (max-width: 980px) {
  .site-shell, .page-shell { width: min(var(--shell), calc(100% - 28px)); }
  .hero--home { grid-template-columns: 1fr; min-height: 0; background-image: linear-gradient(180deg, rgba(10,10,9,.88), rgba(10,10,9,.74)), url("./hero-marble-statesman.webp") !important; background-position: center, 72% center; }
  .hero--home .hero__stack { justify-self: stretch; max-width: none; }
  .job-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .metric-card:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .site-shell, .page-shell { width: min(100% - 20px, var(--shell)); padding-top: 156px; }
  .topbar { padding: 10px 0; }
  .topbar .brand { font-size: 1.48rem; }
  .topbar .brand__logo { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  .topbar .button--small { min-width: 0; min-height: 44px; padding-inline: 14px; font-size: .78rem; }
  .topbar .nav { gap: 8px 16px; font-size: .84rem; }
  .hero--home { padding: 30px 22px; border-radius: 0 0 14px 14px; }
  .hero--home h1 { font-size: clamp(2.85rem, 13vw, 3.9rem); }
  .job-grid--wide, .quotes-grid, .metrics-bar { grid-template-columns: 1fr; }
  .metric-card, .metric-card + .metric-card { border-left: 0; border-top: 1px solid rgba(216,177,100,.18); }
  .metric-card:first-child { border-top: 0; }
}


/* HRCADRY imperial editorial brand system */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Manrope:wght@400;500;600;700;800&display=swap");
:root{--bg:#090d0d;--surface:rgba(17,20,19,.92);--surface-strong:#131615;--line:rgba(212,175,55,.32);--text:#f2ede2;--muted:#c9c1b1;--primary:#d4af37;--primary-dark:#ad8420;--accent:#e8d28a;--shadow:0 24px 64px rgba(0,0,0,.38);--radius-xl:20px;--radius-lg:16px;--radius-md:12px}html{color-scheme:dark}body{color:var(--text);background-color:var(--bg);background-image:radial-gradient(circle at 16% 10%,rgba(212,175,55,.12),transparent 24rem),radial-gradient(circle at 84% 32%,rgba(111,79,20,.14),transparent 30rem),linear-gradient(135deg,rgba(255,255,255,.025) 25%,transparent 25%) 0 0/22px 22px,linear-gradient(45deg,rgba(255,255,255,.018) 25%,transparent 25%) 0 0/31px 31px,linear-gradient(135deg,#070a0a,#111411 48%,#070a0a);background-attachment:fixed}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.58;background-image:linear-gradient(105deg,transparent 0 48%,rgba(212,175,55,.055) 48.1% 48.35%,transparent 48.5%),radial-gradient(ellipse at 50% 0%,transparent 0 32%,rgba(0,0,0,.45) 100%)}h1,h2,h3,.brand,.salary,.section-head h2,.cta-band h3{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600}.brand{color:var(--text);font-size:clamp(1.65rem,2.2vw,2rem);letter-spacing:.06em;text-transform:uppercase}.brand:before{content:"*";color:var(--primary);font-size:.78em;margin-right:.42em;vertical-align:.08em}.brand span{color:var(--primary)}
.topbar{margin-bottom:28px;padding:13px 22px;border-color:rgba(212,175,55,.4);border-radius:12px;background:rgba(9,12,11,.88);box-shadow:0 12px 34px rgba(0,0,0,.26)}.topbar:after{content:"";position:absolute;right:22px;bottom:-9px;left:22px;height:1px;background:linear-gradient(90deg,transparent,var(--primary),transparent);opacity:.75}.nav{color:#d9d1c0;font-size:.9rem;letter-spacing:.015em}.nav a{transition-property:color,opacity;transition-duration:160ms}.nav a.is-active,.nav a:hover{color:var(--primary)}.panel,.footer--full{background:linear-gradient(145deg,rgba(23,27,25,.96),rgba(11,14,13,.94));border-color:rgba(212,175,55,.28);box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.035);backdrop-filter:blur(12px)}.hero{position:relative;overflow:hidden;border-radius:var(--radius-xl)}.hero:after{content:"";position:absolute;width:32rem;height:32rem;right:-15rem;bottom:-18rem;border:1px solid rgba(212,175,55,.4);border-radius:50%;box-shadow:0 0 0 18px rgba(212,175,55,.04),0 0 0 36px rgba(212,175,55,.025);pointer-events:none}.hero__copy,.hero__stack{position:relative;z-index:1}.hero h1,.job-main h1,.legal-page h1{letter-spacing:.005em;font-weight:600;line-height:.9}.hero h1:first-letter{color:var(--primary)}.section-head h2,.job-main h2,.job-side h2,.search-panel h2,.cta-band h3{font-family:"Cormorant Garamond",Georgia,serif;letter-spacing:.02em;color:var(--text)}.section-head h2:after{content:"*";color:var(--primary);font-size:.46em;margin-left:.45em;vertical-align:middle}
.lead,.section-head p,.muted,.feature-card p,.quote p,.footer p,.job-main p,.job-side p,.price-card li,.bullet-list li,.filter-list li,.field span,.article-card p,.legal-page p{color:var(--muted)}.pill,.tag,.chip{border:1px solid rgba(212,175,55,.4);border-radius:4px;background:rgba(212,175,55,.09);color:#e8cf7b;letter-spacing:.075em}.tag--warm,.chip{background:rgba(212,175,55,.15);color:#f1d679}.button{border-radius:7px;letter-spacing:.035em;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 18px rgba(0,0,0,.16)}.button--primary{background:linear-gradient(135deg,#e0be54,#aa7d19);color:#12100b}.button--primary:hover{background:linear-gradient(135deg,#f0d47d,#c28f21);color:#0b0a07}.button--ghost{background:rgba(242,237,226,.05);border-color:rgba(212,175,55,.38);color:var(--text)}.search-bar input,.filter-chip{border-color:rgba(212,175,55,.28);background:rgba(0,0,0,.26);color:var(--text)}.search-bar input::placeholder{color:#9f998c}.search-bar input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(212,175,55,.14)}.filter-chip{border-radius:5px;color:var(--muted)}.filter-chip:hover,.filter-chip.is-active{border-color:var(--primary);background:rgba(212,175,55,.13);color:#f2d77c}.partner-strip span{border-color:rgba(212,175,55,.22);background:rgba(212,175,55,.055);color:#d6cdbd}.salary,.stat-card strong,.metric-card strong{color:var(--primary);font-family:"Cormorant Garamond",Georgia,serif;font-size:1.8rem}.job-card,.feature-card,.price-card,.article-card{border-color:rgba(212,175,55,.22)}.job-card:hover,.feature-card:hover,.article-card:hover{border-color:rgba(212,175,55,.62);transform:translateY(-3px);box-shadow:0 24px 50px rgba(0,0,0,.34)}.job-card,.feature-card,.article-card{transition-property:transform,border-color,box-shadow;transition-duration:180ms;transition-timing-function:ease}.job-note{background:rgba(212,175,55,.09);color:#e5dccb;border-left:2px solid var(--primary)}.section--contrast{background:linear-gradient(180deg,transparent,rgba(212,175,55,.055));border:1px solid rgba(212,175,55,.16)}.eyebrow{color:var(--primary);letter-spacing:.14em}.footer{color:var(--muted);border-top-color:rgba(212,175,55,.25)}.footer__brand strong,.footer__title{color:var(--text)}.footer__brand strong span{color:var(--primary)}.footer__legal{border-top-color:rgba(212,175,55,.18)}@media(max-width:760px){.topbar{border-radius:10px}.hero{padding:26px}.nav{gap:11px;font-size:.8rem}}

/* Brand refinement: compact editorial hero and black marble backdrop */
body {
  background-color: #080a09 !important;
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(212,175,55,.13), transparent 24rem),
    radial-gradient(ellipse at 86% 24%, rgba(107,75,19,.14), transparent 30rem),
    repeating-linear-gradient(118deg, transparent 0 48px, rgba(212,175,55,.035) 49px 50px, transparent 51px 108px),
    linear-gradient(135deg, #050706 0%, #141614 46%, #080a09 100%) !important;
}
.hero--home { grid-template-columns: minmax(0, 1.46fr) minmax(310px, .72fr); }
.hero--home h1 {
  max-width: 11.5ch;
  font-size: clamp(3.05rem, 4.15vw, 4.45rem);
  line-height: .94;
  letter-spacing: .01em;
}
.hero--home .lead { max-width: 58ch; }
.hero--home .hero__stack { align-self: stretch; }
.hero--home .search-panel { min-height: 100%; align-content: start; }
@media (max-width: 980px) {
  .hero--home { grid-template-columns: 1fr; }
  .hero--home h1 { max-width: 13ch; }
}

/* Keep the how-to card compact. */
.hero--home .hero__stack { align-self: start; }
.hero--home .search-panel { min-height: auto; }

/* Signature Greek-marble hero artwork */
.hero--home {
  min-height: 650px;
  background-image:
    linear-gradient(90deg, rgba(8,10,9,.96) 0%, rgba(8,10,9,.88) 42%, rgba(8,10,9,.28) 68%, rgba(8,10,9,.08) 100%),
    url("./hero-marble-statesman.webp") !important;
  background-repeat: no-repeat;
  background-position: center, center right;
  background-size: cover, cover;
  border-color: rgba(212,175,55,.48);
}
.hero--home::after {
  right: 4.5rem;
  bottom: 3.5rem;
  opacity: .75;
}
.hero--home .hero__copy {
  max-width: 630px;
}
.hero--home .hero__stack {
  align-self: end;
  justify-self: end;
  max-width: 355px;
}
.hero--home .search-panel {
  min-height: 0;
  background: linear-gradient(145deg, rgba(8,10,9,.84), rgba(8,10,9,.68));
  border-color: rgba(212,175,55,.4);
  box-shadow: 0 22px 48px rgba(0,0,0,.3);
}
@media (max-width: 980px) {
  .hero--home {
    min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(8,10,9,.88), rgba(8,10,9,.68)),
      url("./hero-marble-statesman.webp") !important;
    background-position: center, 70% center;
  }
  .hero--home .hero__stack { justify-self: stretch; max-width: none; }
}

/* Full-page black marble artwork */
body {
  background-color: #080a09 !important;
  background-image:
    linear-gradient(rgba(5,7,6,.28), rgba(5,7,6,.5)),
    url("./black-gold-marble.webp") !important;
  background-repeat: repeat, repeat !important;
  background-position: center, center top !important;
  background-size: auto, 1180px auto !important;
}

/* Override legacy inline filter colours on the home page. */
.filter-chip {
  background: rgba(8,10,9,.82) !important;
  border-color: rgba(212,175,55,.5) !important;
  color: #eadbaf !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.filter-chip:hover,
.filter-chip.is-active {
  background: linear-gradient(135deg, #d9b345, #9d7419) !important;
  border-color: #e8ca68 !important;
  color: #100e09 !important;
}

/* Article card heading contrast for the dark marble theme. */
.article-card h1,
.article-card h2,
.article-card h3 {
  color: #f2ede2 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
}
.article-card h3::first-letter { color: #d4af37; }

/* Employer hero: keep the sculpture visible, move proof points into a footer rail. */
.hero--home:has(.stat-card) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 720px;
  padding-bottom: 190px;
  background-position: center, center right;
}
.hero--home:has(.stat-card) .hero__copy {
  max-width: 610px;
  align-self: start;
}
.hero--home:has(.stat-card) .hero__stack {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  align-items: stretch;
}
.hero--home:has(.stat-card) .stat-card {
  min-height: 122px;
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(8,10,9,.88), rgba(8,10,9,.7));
  border-color: rgba(212,175,55,.46);
}
.hero--home:has(.stat-card) .stat-card strong {
  margin-bottom: 8px;
  font-size: 1.7rem;
}
.hero--home:has(.stat-card) .stat-card span {
  display: block;
  color: #d8cfbf;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .hero--home:has(.stat-card) {
    min-height: 0;
    padding-bottom: 38px;
  }
  .hero--home:has(.stat-card) .hero__stack {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}

/* Editorial gold for article journal metrics. */
.journal-strip .panel strong {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: tabular-nums;
}
.journal-strip .panel span { color: #d8cfbf !important; }

/* Dark marble application modal. */
.application-modal { background: rgba(3,5,4,.82) !important; }
.application-card {
  background: linear-gradient(145deg, #171b19 0%, #0b0e0d 100%) !important;
  border: 1px solid rgba(212,175,55,.55) !important;
  color: #f2ede2 !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.application-card h1,
.application-card h2,
.application-card h3 { color: #f2ede2 !important; }
.application-card h1::first-letter,
.application-card h2::first-letter,
.application-card h3::first-letter { color: #d4af37; }
.application-card label,
.application-card .field span,
.application-card .application-note,
.application-card .application-consent { color: #d8cfbf !important; }
.application-card input,
.application-card select,
.application-card textarea {
  background: rgba(5,7,6,.78) !important;
  border-color: rgba(212,175,55,.42) !important;
  color: #f2ede2 !important;
}
.application-card input::placeholder,
.application-card textarea::placeholder { color: #9f998c !important; }
.application-card input:focus,
.application-card select:focus,
.application-card textarea:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.14) !important;
}
.application-card option { background: #111411; color: #f2ede2; }
.application-card input[type="checkbox"] { accent-color: #d4af37; }
.application-close { color: #e8d28a !important; }

/* Editorial reference thumbnails for article cards. */
.article-card { overflow: hidden; padding: 30px; }
.article-card__visual {
  position: relative;
  height: 172px;
  margin: -30px -30px 2px;
  border-bottom: 1px solid rgba(212,175,55,.42);
  background-color: #090d0d;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.article-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,8,7,.25), rgba(6,8,7,.02) 58%, rgba(212,175,55,.1));
}
.article-card__visual span {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  color: #f2ede2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
  opacity: .9;
}
.article-card__visual--career {
  background-image: url("./hero-marble-statesman.webp");
  background-position: 76% 42%;
}
.article-card__visual--reply {
  background-image: url("./black-gold-marble.webp");
  background-position: 50% 56%;
}
.article-card__visual--start {
  background-image: url("./hero-marble-statesman.webp");
  background-position: 100% 52%;
}
@media (max-width: 760px) {
  .article-card__visual { height: 150px; }
}

/* Search field contrast for the dark marble theme. */
.search-bar input {
  background: rgba(8,10,9,.86) !important;
  border-color: rgba(212,175,55,.48) !important;
  color: #f2ede2 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.search-bar input::placeholder { color: #c9c1b1 !important; opacity: .82; }
.search-bar input:focus {
  background: rgba(8,10,9,.96) !important;
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.16), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* HRCADRY laurel logo. */
.brand::before { display: none !important; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .42em;
}
.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  outline: 1px solid rgba(212,175,55,.18);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .brand__logo { width: 34px; height: 34px; }
}



/* Header identity: the laurel is an emblem, not a framed thumbnail. */
.brand { gap: .56rem; line-height: 1; text-decoration: none; }
.brand__logo { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; outline: 0; outline-offset: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; mix-blend-mode: screen; filter: saturate(.9) contrast(1.04); transform: translateY(1px); }
.brand:hover .brand__logo { opacity: .92; }
@media (max-width: 760px) { .brand { gap: .42rem; } .brand__logo { width: 32px; height: 32px; flex-basis: 32px; } }


/* FAQ: five cards should form a balanced final row, not leave a dead grid cell. */
@media (min-width: 1041px) {
  #faq .feature-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #faq .feature-card { grid-column: span 2; }
  #faq .feature-card:nth-child(4),
  #faq .feature-card:nth-child(5) { grid-column: span 3; }
}


/* Article cards: editorial poster covers derived from the brand content references. */
.article-card__visual {
  height: 224px;
  margin-bottom: 8px;
  border-bottom-color: rgba(212,175,55,.54);
  background-size: cover;
}
.article-card__visual::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212,175,55,.18);
  pointer-events: none;
}
.article-card__visual::after {
  background: linear-gradient(90deg, rgba(4,6,5,.78) 0%, rgba(4,6,5,.28) 52%, rgba(4,6,5,.04) 100%);
}
.article-card__visual span {
  left: 20px;
  bottom: 18px;
  font-size: 2.9rem;
  letter-spacing: .04em;
  text-shadow: 0 2px 16px rgba(0,0,0,.7);
}
.article-card__visual--career {
  background-image: url("./hero-marble-statesman.webp");
  background-position: 84% 37%;
}
.article-card__visual--start {
  background-image: url("./hero-marble-statesman.webp");
  background-position: 95% 34%;
}
.article-card__visual--reply {
  background-color: #e9dfcd;
  background-image: linear-gradient(rgba(242,237,226,.88), rgba(222,207,179,.82)), url("./black-gold-marble.webp");
  background-blend-mode: screen, multiply;
  background-position: 50% 50%;
}
.article-card__visual--reply::after { background: linear-gradient(90deg, rgba(246,241,229,.08), rgba(173,135,56,.12)); }
.article-card__visual--reply::before { border-color: rgba(117,82,16,.28); }
.article-card__visual--reply span { color: #181916; text-shadow: none; }
@media (max-width: 760px) { .article-card__visual { height: 184px; } }


/* Pricing hierarchy: leave deliberate breathing room after the featured badge. */
.price-card--featured > .tag:first-child {
  align-self: flex-start;
  margin-bottom: 10px;
}


/* The badge is 44px high: reserve a real grid row so the heading cannot overlap it. */
.price-card { grid-template-rows: 54px auto auto 1fr; }
.price-card--featured > .tag:first-child { margin-bottom: 0; }


/* Slightly larger brand mark while preserving the existing header height. */
.brand__logo { width: 44px; height: 44px; flex-basis: 44px; }
@media (max-width: 760px) { .brand__logo { width: 36px; height: 36px; flex-basis: 36px; } }

/* Prominent header emblem. */
.brand__logo { width: 52px; height: 52px; flex-basis: 52px; }
@media (max-width: 760px) { .brand__logo { width: 42px; height: 42px; flex-basis: 42px; } }


/* Stacked masthead: a centred laurel above the refined wordmark. */
:root { --site-header-height: 112px; }
.topbar { min-height: var(--site-header-height); }
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: max-content;
  color: #f2ede2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.15vw, 2.05rem);
  font-weight: 700;
  line-height: .82;
  letter-spacing: .075em;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 5px 18px rgba(0,0,0,.52);
}
.brand__logo {
  width: 33px;
  height: 33px;
  flex-basis: 33px;
  margin: 0;
  transform: none;
  filter: saturate(1.05) contrast(1.08) drop-shadow(0 3px 7px rgba(0,0,0,.48));
}
.brand span {
  display: inline-block;
  margin-left: .18em;
  color: #d4af37;
  letter-spacing: .095em;
}
@media (max-width: 760px) {
  :root { --site-header-height: 94px; }
  .brand { font-size: 1.38rem; letter-spacing: .06em; gap: 2px; }
  .brand__logo { width: 27px; height: 27px; flex-basis: 27px; }
}


/* Full editorial-card treatment: classical content references, not generic thumbnails. */
.article-card {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  gap: 16px;
}
.article-card::before {
  content: "";
  position: absolute;
  inset: 11px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(212,175,55,.14);
}
.article-card:nth-child(1)::after,
.article-card:nth-child(3)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 48%;
  z-index: -1;
  opacity: .18;
  background: url("./hero-marble-statesman.webp") right bottom / auto 115% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 46%);
}
.article-card__visual { height: 246px; }
.article-card__visual::before { inset: 13px; border-color: rgba(212,175,55,.28); }
.article-card__visual--career {
  background-image: linear-gradient(90deg, rgba(5,7,6,.15), rgba(5,7,6,.04)), url("./black-gold-marble.webp");
  background-position: center;
}
.article-card__visual--career::after {
  background:
    linear-gradient(90deg, rgba(4,6,5,.84), rgba(4,6,5,.18) 68%),
    url("./hero-marble-statesman.webp") 100% 45% / auto 128% no-repeat;
}
.article-card__visual--start {
  background-image: linear-gradient(90deg, rgba(5,7,6,.2), rgba(5,7,6,.04)), url("./black-gold-marble.webp");
  background-position: center;
}
.article-card__visual--start::after {
  background:
    linear-gradient(90deg, rgba(4,6,5,.84), rgba(4,6,5,.2) 65%),
    url("./hero-marble-statesman.webp") 100% 36% / auto 130% no-repeat;
}
.article-card__visual--reply {
  background:
    linear-gradient(rgba(246,241,229,.76), rgba(230,216,185,.7)),
    url("./site-background.webp") center / cover;
}
.article-card__visual--reply::after {
  background:
    linear-gradient(90deg, rgba(246,241,229,.04), rgba(246,241,229,.04)),
    linear-gradient(90deg, transparent 0 60%, rgba(105,77,29,.2) 60% 64%, transparent 64% 70%, rgba(105,77,29,.18) 70% 74%, transparent 74%),
    linear-gradient(0deg, rgba(94,66,18,.2) 0 20%, transparent 20%);
}
.article-card__visual--reply::before { border-color: rgba(113,80,23,.25); }
.article-card__visual--reply span { color: #171714; text-shadow: none; }
.article-card h3 { text-wrap: balance; }
.article-card:nth-child(2) { background: rgba(239,232,216,.96); border-color: rgba(183,139,44,.5); }
.article-card:nth-child(2)::before { border-color: rgba(121,88,24,.2); }
.article-card:nth-child(2) h3,
.article-card:nth-child(2) .article-card__footer { color: #181714; }
.article-card:nth-child(2) p,
.article-card:nth-child(2) li { color: #403b32; }
.article-card:nth-child(2) .tag { color: #806018; border-color: rgba(128,96,24,.42); background: rgba(186,144,40,.1); }
@media (max-width: 980px) { .article-card { min-height: auto; } }
@media (max-width: 760px) { .article-card__visual { height: 205px; } }


/* Inline masthead: emblem left of the wordmark, optically centred on the lettering. */
:root { --site-header-height: 86px; }
.topbar { min-height: var(--site-header-height); }
.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: .58rem;
  color: #f2ede2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.62rem, 2.1vw, 2.08rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: .065em;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 5px 18px rgba(0,0,0,.52);
}
.brand__logo {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  margin: 0;
  transform: translateY(1px);
  filter: saturate(1.05) contrast(1.08) drop-shadow(0 3px 7px rgba(0,0,0,.48));
}
.brand span { margin-left: .16em; color: #d4af37; letter-spacing: .085em; }
@media (max-width: 760px) {
  :root { --site-header-height: 76px; }
  .brand { gap: .4rem; font-size: 1.42rem; letter-spacing: .045em; }
  .brand__logo { width: 38px; height: 38px; flex-basis: 38px; }
}


/* Reference-led article covers: clean architecture, readable type, no statue overlays. */
.article-card { min-height: 0; }
.article-card::after { display: none; }
.article-card__visual { height: 214px; margin-bottom: 4px; }
.article-card__visual span { z-index: 3; color: #f2ede2; font-size: 2.75rem; }
.article-card__visual--career,
.article-card__visual--start {
  background: #090b0a url("./black-gold-marble.webp") center / cover;
}
.article-card__visual--career::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,6,.55), rgba(5,7,6,.08)),
    linear-gradient(90deg, transparent 0 66%, rgba(194,157,82,.78) 66% 70%, rgba(35,27,14,.92) 70% 74%, rgba(200,171,110,.76) 74% 79%, transparent 79%),
    linear-gradient(0deg, rgba(178,139,62,.64) 0 7%, transparent 7% 87%, rgba(189,151,73,.78) 87% 96%, transparent 96%);
}
.article-card__visual--start::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,6,.62), rgba(5,7,6,.08)),
    url("./hrcadry-laurel-logo.png") right 18px bottom 10px / 118px auto no-repeat;
  mix-blend-mode: normal;
}
.article-card__visual--reply {
  background: #eee4d0 url("./site-background.webp") center / cover;
}
.article-card__visual--reply::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245,239,224,.16), rgba(245,239,224,.04)),
    linear-gradient(90deg, transparent 0 58%, rgba(111,83,37,.32) 58% 63%, transparent 63% 67%, rgba(111,83,37,.26) 67% 72%, transparent 72%),
    linear-gradient(0deg, rgba(114,84,35,.27) 0 17%, transparent 17% 20%, rgba(114,84,35,.18) 20% 24%, transparent 24%);
}
.article-card__visual--reply span { color: #171512; text-shadow: none; }
.article-card:nth-child(2) {
  background: #eee4d0 !important;
  border-color: rgba(182,137,39,.54) !important;
}
.article-card:nth-child(2)::before { border-color: rgba(112,80,23,.22); }
.article-card:nth-child(2) h3,
.article-card:nth-child(2) .article-card__footer { color: #1c1913 !important; text-shadow: none !important; }
.article-card:nth-child(2) p,
.article-card:nth-child(2) li { color: #4a4135 !important; }
.article-card:nth-child(2) .tag { color: #755514 !important; background: rgba(187,142,44,.1) !important; border-color: rgba(123,88,20,.42) !important; }
/* Ensure the brand is horizontal despite older cached rule blocks. */
.topbar .brand { flex-direction: row !important; align-items: center !important; gap: .58rem !important; }
.topbar .brand__logo { width: 48px !important; height: 48px !important; flex-basis: 48px !important; transform: translateY(1px) !important; }
@media (max-width: 760px) { .topbar .brand__logo { width: 38px !important; height: 38px !important; flex-basis: 38px !important; } }


/* Final wordmark: one line, precise spacing, a large centred emblem. */
:root { --site-header-height: 92px; }
.topbar { min-height: var(--site-header-height); }
.topbar .brand {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-width: 0;
  white-space: nowrap !important;
  color: #f4efe5;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.55vw, 2.42rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1 !important;
  letter-spacing: .015em !important;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 5px 18px rgba(0,0,0,.52);
}
.topbar .brand__logo {
  display: block;
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px !important;
  max-width: none;
  margin: 0 !important;
  transform: translateY(0) scale(1.12) !important;
  transform-origin: center;
  mix-blend-mode: screen;
  filter: saturate(1.12) contrast(1.12) drop-shadow(0 3px 8px rgba(0,0,0,.55));
}
.topbar .brand span {
  display: inline !important;
  margin: 0 0 0 .12em !important;
  color: #d4af37;
  letter-spacing: .015em !important;
}
@media (max-width: 1060px) {
  .topbar .brand { font-size: 1.82rem; gap: 9px !important; }
  .topbar .brand__logo { width: 54px !important; height: 54px !important; flex-basis: 54px !important; }
}
@media (max-width: 760px) {
  :root { --site-header-height: 78px; }
  .topbar .brand { font-size: 1.48rem; gap: 7px !important; letter-spacing: .005em !important; }
  .topbar .brand__logo { width: 43px !important; height: 43px !important; flex-basis: 43px !important; transform: scale(1.08) !important; }
  .topbar .brand span { margin-left: .08em !important; }
}


/* Header zones need a deliberate gutter: brand never touches navigation. */
.topbar { column-gap: clamp(24px, 3vw, 42px); }
@media (max-width: 760px) { .topbar { column-gap: 22px; } }


/* The source PNG has generous inner padding; enlarge its visible laurel, not the header column. */
.topbar .brand__logo { transform: scale(1.48) !important; }
@media (max-width: 760px) { .topbar .brand__logo { transform: scale(1.38) !important; } }


/* Keep desktop navigation visually independent from the wordmark. */
@media (min-width: 761px) {
  .topbar .nav { margin-left: clamp(28px, 4vw, 56px) !important; }
}
@media (max-width: 760px) {
  .topbar .nav { margin-left: 0 !important; }
}

/* One continuous brand name: КАДРЫПРО. */
.topbar .brand span { margin-left: 0 !important; }

/* Optical kerning: the brand is one word, with the gold ending retained. */
.topbar .brand span { margin-left: -0.08em !important; letter-spacing: 0 !important; }

/* Keep КАДРЫПРО as one flex item: no artificial gap inside the wordmark. */
.topbar .brand .brand__name {
  display: inline-block !important;
  margin: 0 !important;
  color: #f4efe5 !important;
  letter-spacing: .015em !important;
  white-space: nowrap !important;
}
.topbar .brand .brand__name > span {
  display: inline !important;
  margin-left: 0 !important;
  color: #d4af37 !important;
  letter-spacing: 0 !important;
}


/* Clean article covers: real marble and sculpture imagery, never synthetic stripes. */
.article-card__visual {
  height: 214px;
  overflow: hidden;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.article-card__visual::before {
  inset: 12px;
  border-color: rgba(212,175,55,.22) !important;
}
.article-card__visual--career {
  background: #090b0a url("./hero-marble-statesman.webp") 78% 42% / cover no-repeat !important;
}
.article-card__visual--start {
  background: #090b0a url("./hero-marble-statesman.webp") 96% 39% / cover no-repeat !important;
}
.article-card__visual--career::after,
.article-card__visual--start::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,6,5,.58) 0%, rgba(4,6,5,.18) 58%, rgba(4,6,5,.04) 100%) !important;
}
.article-card__visual--reply {
  background: linear-gradient(rgba(247,242,231,.84), rgba(229,217,191,.78)), url("./black-gold-marble.webp") center / cover no-repeat !important;
  background-blend-mode: screen, multiply !important;
}
.article-card__visual--reply::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,247,238,.08), rgba(250,247,238,.03)) !important;
}
.article-card__visual--reply span { color: #181713 !important; text-shadow: none !important; }
@media (max-width: 760px) { .article-card__visual { height: 184px; } }


/* Final article covers: purpose-made editorial assets matching the approved references. */
.article-card__visual--career {
  background: #080a09 url("./article-cover-statue.webp") right center / cover no-repeat !important;
}
.article-card__visual--start {
  background: #080a09 url("./article-cover-statue.webp") 84% center / cover no-repeat !important;
}
.article-card__visual--reply {
  background: #eee5d4 url("./article-cover-marble.webp") right center / cover no-repeat !important;
  background-blend-mode: normal !important;
}
.article-card__visual--career::after,
.article-card__visual--start::after {
  background: linear-gradient(90deg, rgba(4,6,5,.24) 0%, rgba(4,6,5,.03) 62%, transparent 100%) !important;
}
.article-card__visual--reply::after { background: rgba(248,243,232,.03) !important; }

/* The card-level legacy image layer must not cover the approved cover artwork. */
.article-card::after { content: none !important; display: none !important; }

/* Same clear statue framing for the third editorial card. */
.article-card__visual--start { background-position: right center !important; }


/* Mobile interface: touch-first navigation, no cropped wordmark, stable controls. */
@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: clip; }

  .topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "brand" "nav" "cta" !important;
    align-items: stretch !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding: 14px !important;
  }
  .topbar .brand {
    grid-area: brand !important;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(1.34rem, 7vw, 1.62rem) !important;
  }
  .topbar .brand__logo {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
    transform: none !important;
  }
  .topbar .nav {
    grid-area: nav !important;
    width: 100%;
    margin: 0 !important;
    justify-content: center;
    align-items: center;
    gap: 4px 8px !important;
  }
  .topbar .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 6px;
    line-height: 1.1;
  }
  .topbar > .button,
  .topbar > .button--primary {
    grid-area: cta !important;
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .button,
  button,
  input[type="submit"],
  input[type="button"],
  select {
    min-height: 44px;
  }
  .footer a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .hero { border-radius: 22px; }
  .hero h1, .hero h2 { text-wrap: balance; }
  .hero p, .feature-card p, .article-card p { text-wrap: pretty; }
  .search-bar { flex-wrap: wrap; gap: 10px !important; }
  .search-bar input { min-width: 0; flex: 1 1 190px; }
  .search-bar .button, .search-bar button { flex: 0 0 auto; min-height: 52px; }
  .filter-chip { min-height: 44px; }

  .application-card {
    width: min(100% - 24px, 560px) !important;
    max-height: min(86vh, 760px) !important;
    margin: 12px auto !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }
  .application-card input,
  .application-card select,
  .application-card textarea { font-size: 16px !important; }
}
@media (max-width: 359px) {
  .topbar { padding: 12px !important; }
  .topbar .brand { font-size: 1.24rem !important; }
  .topbar .nav { gap: 3px 5px !important; }
  .topbar .nav a { padding-inline: 4px; font-size: .84rem; }
  .hero, .panel, .feature-card, .article-card { border-radius: 18px; }
}

@media (max-width: 760px) { .topbar .nav a, .footer a { min-height: 44px; } .topbar .brand__logo { transform: scale(1.28) !important; } }

@media (max-width: 760px) { .application-consent { width: 100% !important; min-width: 0 !important; align-items: flex-start; } .application-consent > span { min-width: 0 !important; flex: 1 1 auto !important; overflow-wrap: anywhere; } }

@media (max-width: 760px) {
  .application-card form { max-width: 100% !important; min-width: 0 !important; }
  .application-card .application-consent {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .application-card .application-consent > span {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .application-card .application-form {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .application-card .application-form > * { min-width: 0 !important; max-width: 100% !important; }
}

@media (max-width: 760px) {
  .application-card .application-form label > input:not([type="checkbox"]),
  .application-card .application-form label > select,
  .application-card .application-form label > textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 760px) {
  .legal-page { grid-template-columns: minmax(0, 1fr) !important; }
  .legal-page > *, .legal-page__requisites, .requisites-list { min-width: 0 !important; max-width: 100% !important; }
  .legal-page p, .legal-page dd { overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  .site-shell { padding-top: 244px !important; }
  .legal-page h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 10vw, 2.4rem) !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}


/* Privacy requisites: dark marble theme alignment. */
.legal-page__requisites { border-top-color: rgba(212, 175, 55, .24); }
.legal-page__requisites h2 { color: var(--text); }
.requisites-list { background: linear-gradient(135deg, rgba(242, 237, 226, .09), rgba(212, 175, 55, .045)); border-color: rgba(212, 175, 55, .3); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 32px rgba(0, 0, 0, .2); }
.requisites-list dt { color: #ddc77f; border-bottom-color: rgba(212, 175, 55, .16); }
.requisites-list dd { color: var(--text); border-bottom-color: rgba(212, 175, 55, .16); }

/* Legal pages: contain grid contents at every viewport width. */
.legal-page { grid-template-columns: minmax(0, 1fr); }
.legal-page > *, .legal-page__requisites, .requisites-list { min-width: 0; max-width: 100%; }
.legal-page h1, .legal-page p, .requisites-list dt, .requisites-list dd { overflow-wrap: anywhere; }
.requisites-list > * { min-width: 0; }
@media (min-width: 601px) { .requisites-list { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); } }

/* Design DNA final cascade: black marble and gilded editorial. */
:root { --bg:#0a0a09; --surface:rgba(16,16,15,.84); --surface-strong:rgba(22,19,15,.92); --line:rgba(216,177,100,.28); --text:#eeedea; --muted:#b9b3aa; --primary:#d8b164; --primary-dark:#bb934c; --accent:#eeedea; --shell:1440px; --shadow:0 24px 64px rgba(0,0,0,.38); --radius-xl:18px; --radius-lg:12px; --radius-md:8px; }
html { color-scheme:dark; }
body { color:var(--text); background-color:var(--bg)!important; background-image:linear-gradient(rgba(10,10,9,.25),rgba(10,10,9,.54)),url("./black-gold-marble.webp")!important; background-position:center,center top!important; background-size:auto,1180px auto!important; background-repeat:repeat,repeat!important; }
.site-shell,.page-shell { width:min(var(--shell),calc(100% - 48px)); padding-top:88px; }
.topbar { min-height:82px; margin:0; padding:14px 0; border:0; border-bottom:1px solid rgba(216,177,100,.19); border-radius:0; background:rgba(10,10,9,.78); box-shadow:none; backdrop-filter:blur(14px); }
.topbar::after { display:none; }
.topbar .brand { font-family:"Cormorant Garamond",Georgia,serif; font-size:clamp(1.8rem,2.2vw,2.45rem); font-weight:700; letter-spacing:.025em; }
.topbar .brand::before { content:none; }
.topbar .brand__logo { width:48px!important; height:48px!important; flex-basis:48px!important; transform:none!important; }
.topbar .nav { gap:clamp(20px,2vw,34px); font-size:.93rem; font-weight:600; color:#eeedea; }
.topbar .nav a { min-height:44px; display:inline-flex; align-items:center; }
.topbar .button--small { min-width:190px; min-height:48px; padding-inline:22px; }
.panel,.footer--full { border-color:rgba(216,177,100,.24); background:linear-gradient(145deg,rgba(20,18,15,.9),rgba(10,10,9,.87)); box-shadow:0 20px 52px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.035); }
.hero--home { min-height:612px; margin-top:0; padding:clamp(36px,4vw,60px); border-radius:0 0 var(--radius-xl) var(--radius-xl); border-top:0; grid-template-columns:minmax(0,1.1fr) minmax(292px,.7fr); background-image:linear-gradient(90deg,rgba(10,10,9,.97) 0%,rgba(10,10,9,.9) 44%,rgba(10,10,9,.32) 69%,rgba(10,10,9,.08) 100%),url("./hero-marble-statesman.webp")!important; background-position:center,center right; background-size:cover,cover; }
.hero--home .hero__copy { max-width:710px; }
.hero--home h1 { max-width:13.5ch; font-size:clamp(3.4rem,5.05vw,5rem); line-height:.92; letter-spacing:-.015em; }
.hero--home h1:first-letter { color:inherit; }
.hero--home .lead { max-width:57ch; color:#c4bdb3; }
.hero--home .hero__stack { align-self:end; justify-self:end; max-width:340px; }
.hero--home .search-panel { padding:28px; border-radius:14px; background:linear-gradient(145deg,rgba(22,18,14,.9),rgba(10,10,9,.82)); }
.hero--home .search-panel h2 { font-size:2rem; line-height:.98; }
.hero--home .search-panel .bullet-list { counter-reset:process; list-style:none; padding-left:0; }
.hero--home .search-panel .bullet-list li { position:relative; min-height:42px; padding:0 0 12px 46px; }
.hero--home .search-panel .bullet-list li::before { counter-increment:process; content:counter(process); position:absolute; inset:0 auto auto 0; display:grid; width:28px; height:28px; place-items:center; border:1px solid rgba(216,177,100,.58); border-radius:50%; color:var(--primary); font-weight:800; font-size:.78rem; }
.search-bar { max-width:650px!important; }.search-bar input { min-height:54px; border-radius:8px!important; background:rgba(6,6,5,.68)!important; }
.button { border-radius:7px; }.button--primary { background:linear-gradient(135deg,#edcd76,#bb934c); color:#17120b; }.button--primary:hover { background:linear-gradient(135deg,#f6dc97,#d1a44d); color:#17120b; }
.quick-tags .chip,.filter-chip { border-radius:6px; }.section { margin-top:56px; }.section-head { margin-bottom:22px; }.section-head h2 { font-size:clamp(2.45rem,3.2vw,3.5rem); line-height:.98; }.section-head h2::after { content:none; }
.job-grid--wide { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }.job-card { min-height:414px; padding:28px; border-radius:12px; }.job-card h3 { font-size:1.65rem; line-height:1.04; }
.job-card:hover,.feature-card:hover,.article-card:hover { transform:translateY(-3px); border-color:rgba(216,177,100,.62); box-shadow:0 28px 58px rgba(0,0,0,.42); }
.metrics-bar { grid-template-columns:repeat(4,1fr); gap:0; padding:20px; border:1px solid rgba(216,177,100,.28); border-radius:14px; background:rgba(15,13,11,.78); box-shadow:0 20px 42px rgba(0,0,0,.28); }.metric-card { padding:10px 28px; border:0; border-radius:0; background:transparent; box-shadow:none; text-align:left; }.metric-card+.metric-card { border-left:1px solid rgba(216,177,100,.18); }.metric-card strong { font-size:2rem; }
.quotes-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.quote-card { min-height:220px; padding:28px; border:1px solid rgba(216,177,100,.22); border-radius:12px; background:linear-gradient(145deg,rgba(20,18,15,.9),rgba(10,10,9,.87)); }.footer--full { border-radius:14px; }
@media(max-width:980px){.site-shell,.page-shell{width:min(var(--shell),calc(100% - 28px))}.hero--home{grid-template-columns:1fr;min-height:0;background-image:linear-gradient(180deg,rgba(10,10,9,.88),rgba(10,10,9,.74)),url("./hero-marble-statesman.webp")!important;background-position:center,72% center}.hero--home .hero__stack{justify-self:stretch;max-width:none}.job-grid--wide{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-bar{grid-template-columns:repeat(2,1fr);gap:16px}.metric-card:nth-child(3){border-left:0}}
@media(max-width:760px){.site-shell,.page-shell{width:min(100% - 20px,var(--shell));padding-top:156px!important}.topbar{padding:10px 0}.topbar .brand{font-size:1.48rem}.topbar .brand__logo{width:36px!important;height:36px!important;flex-basis:36px!important}.topbar .button--small{min-width:0;min-height:44px;padding-inline:14px;font-size:.78rem}.topbar .nav{gap:8px 16px;font-size:.84rem}.hero--home{padding:30px 22px;border-radius:0 0 14px 14px}.hero--home h1{font-size:clamp(2.85rem,13vw,3.9rem)}.job-grid--wide,.quotes-grid,.metrics-bar{grid-template-columns:1fr}.metric-card,.metric-card+.metric-card{border-left:0;border-top:1px solid rgba(216,177,100,.18)}.metric-card:first-child{border-top:0}}

/* Homepage composition matched to editorial reference. */
.hero--home {
  min-height: 510px;
  padding: 26px 0 22px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-image: linear-gradient(90deg, rgba(10,10,9,.97) 0%, rgba(10,10,9,.9) 43%, rgba(10,10,9,.25) 69%, rgba(10,10,9,.03) 100%), url("./hero-marble-statesman.webp") !important;
  background-position: center, right top;
}
.hero--home .hero__copy { max-width: 790px; padding-left: 0; }
.hero--home h1 { max-width: none; margin-top: 2px; font-size: clamp(3.15rem, 4.35vw, 4.45rem); line-height: .94; letter-spacing: -.018em; }
.hero__gold { color: var(--primary); }
.hero--home .lead { max-width: 54ch; margin-top: 16px; }
.hero--home .hero__stack { align-self: center; margin-top: 42px; max-width: 334px; }
.hero--home .search-panel { padding: 24px; border-radius: 12px; }
.hero--home .search-panel h2 { margin-bottom: 12px !important; font-size: 1.8rem; }
.hero--home .search-panel .bullet-list li { min-height: 40px; padding-bottom: 8px; font-size: .88rem; line-height: 1.45; }
.hero--home .search-panel .bullet-list li::before { width: 27px; height: 27px; }
.hero--home .pill { margin-top: 0; padding: 8px 13px; }
.hero--home .search-bar { margin-top: 14px; }
.hero--home .quick-tags { margin-top: 12px; }
.hero--home .quick-tags .chip { min-height: 44px; padding: 0 16px; text-transform: none; letter-spacing: 0; }
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 18px 28px; border: 1px solid rgba(216,177,100,.32); border-radius: 14px; background: linear-gradient(145deg,rgba(19,17,14,.92),rgba(10,10,9,.9)); box-shadow: 0 20px 48px rgba(0,0,0,.35); }
.hero-metric { display: flex; justify-content: center; gap: 14px; min-height: 58px; padding: 0 26px; align-items: center; }.hero-metric + .hero-metric { border-left: 1px solid rgba(216,177,100,.2); }.hero-metric__icon { color: var(--primary); font-size: 2.2rem; line-height: 1; }.hero-metric strong { display: block; color: var(--primary); font-family: "Cormorant Garamond",Georgia,serif; font-size: 1.85rem; line-height: .95; font-variant-numeric: tabular-nums; }.hero-metric small { display: block; margin-top: 6px; color: #d4cec3; font-size: .78rem; }
.home-benefits { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 18px; margin-top: 18px; padding: 22px; border: 1px solid rgba(216,177,100,.22); border-radius: 14px; background: linear-gradient(145deg,rgba(20,18,15,.9),rgba(10,10,9,.86)); }.home-benefits__intro { padding: 4px 6px; }.home-benefits h2 { margin: 14px 0 0; font-size: clamp(2.15rem,2.9vw,3.2rem); line-height: .9; }.home-benefits article { min-height: 166px; padding: 18px; border: 1px solid rgba(216,177,100,.22); border-radius: 10px; background: rgba(15,14,12,.64); }.home-benefits article > span { color: var(--primary); font-size: 1.85rem; line-height: 1; }.home-benefits h3 { margin: 12px 0 8px; font-family: Manrope,sans-serif; font-size: .95rem; }.home-benefits p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
@media(max-width:980px){.hero--home{min-height:0;padding:34px 0;background-position:center,right top}.hero--home .hero__copy{max-width:680px}.hero--home .hero__stack{margin-top:0}.hero-metrics{grid-template-columns:repeat(2,1fr);gap:14px}.hero-metric:nth-child(3){border-left:0}.home-benefits{grid-template-columns:repeat(2,1fr)}.home-benefits__intro{grid-column:1/-1}}
@media(max-width:760px){.hero--home{padding:24px 0 20px;background-image:linear-gradient(180deg,rgba(10,10,9,.9),rgba(10,10,9,.72)),url("./hero-marble-statesman.webp")!important;background-position:center,70% top}.hero--home .hero__copy{padding:0 20px}.hero--home h1{font-size:clamp(2.6rem,12vw,3.45rem)}.hero--home .hero__stack{margin:0 20px;max-width:none}.hero-metrics{grid-template-columns:1fr;padding:14px 18px}.hero-metric{justify-content:flex-start;padding:12px 6px}.hero-metric+.hero-metric{border-left:0;border-top:1px solid rgba(216,177,100,.2)}.home-benefits{grid-template-columns:1fr;margin-top:14px;padding:16px}.home-benefits__intro{grid-column:auto}.home-benefits article{min-height:0}}

/* The process panel must not shrink editorial headline measure. */
@media (min-width: 981px) {
  .site-shell, .page-shell { padding-top: 96px !important; }
  .hero--home { display:block; position:relative; min-height:486px; }
  .hero--home .hero__copy { max-width: 900px; }
  .hero--home h1 { max-width: 900px; font-size: clamp(3.1rem, 4.1vw, 4.25rem); }
  .hero--home .hero__stack { position:absolute; z-index:2; top:138px; right:0; width:334px; margin:0; }
}
