/* ==========================================================================
   Omerta Life Group — recruiting site stylesheet
   Light, professional layout (inspired by lyons.life) built on the real
   Omerta brand: ink / aged gold / Cinzel + Cormorant Garamond + Inter.
   ========================================================================== */

:root {
  /* Brand tokens — pulled from the logo/seal artwork */
  --ink: #10161a;
  --ink-soft: #3c434a;
  --text-muted: #6b675c;
  --gold: #c6a25f;
  --gold-light: #e4c98b;
  --gold-dark: #9c7d3f;

  /* Layout surfaces — light, corporate-professional */
  --bg: #fbf9f5;
  --bg-alt: #f1e9d8;
  --surface: #ffffff;
  --line: rgba(16, 22, 26, 0.12);
  --line-soft: rgba(16, 22, 26, 0.07);
  --shadow: 0 16px 40px rgba(16, 22, 26, 0.08);
  --shadow-sm: 0 6px 18px rgba(16, 22, 26, 0.06);

  --radius: 12px;
  --maxw: 1160px;
  --serif: "Cinzel", "Georgia", serif;
  --script: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.25; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.14rem;
  color: var(--text-muted);
  max-width: 640px;
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #201705;
  box-shadow: 0 10px 24px rgba(198, 162, 95, 0.35);
}
.btn-gold:hover { box-shadow: 0 14px 30px rgba(198, 162, 95, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(16, 22, 26, 0.28);
}
.btn-outline:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

.btn-outline-invert {
  background: transparent;
  color: var(--bg);
  border-color: rgba(251, 249, 245, 0.35);
}
.btn-outline-invert:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    border-left: 2px solid transparent;
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] {
    border-color: transparent;
    border-left-color: var(--gold);
  }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero (centered, text-forward) ---------- */
.hero {
  position: relative;
  padding: 92px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(198,162,95,0.14), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero .lede,
.hero .tagline { margin-left: auto; margin-right: auto; }

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero.hero-left { text-align: left; }
.hero.hero-left .lede, .hero.hero-left .tagline { margin-left: 0; margin-right: 0; }
.hero.hero-left .hero-inner { max-width: 720px; margin: 0; }

/* ---------- Stat bar ---------- */
.stat-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 34px 0;
}
.stat-row > div {
  text-align: center;
  padding: 10px 18px;
  border-left: 1px solid var(--line);
}
.stat-row > div:first-child { border-left: none; }
.stat-row b {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.stat-row span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .stat-row > div { border-left: none; border-top: 1px solid var(--line); padding: 18px; }
  .stat-row > div:first-child { border-top: none; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(198,162,95,0.35); }

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 16px;
  background: rgba(198,162,95,0.08);
}
.card .icon svg { width: 20px; height: 20px; stroke: currentColor; }

.card .num {
  font-family: var(--serif);
  color: var(--gold-dark);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.card a.more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(198,162,95,0.4);
}
.card a.more:hover { color: var(--ink); border-color: var(--ink); }

.card p:last-child { margin-bottom: 0; }

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Values list ---------- */
.value-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.value-row:last-child { border-bottom: none; }
.value-row h3 { color: var(--gold-dark); margin: 0; }
@media (max-width: 700px) {
  .value-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Process steps (numbered, horizontal) ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  counter-reset: step;
  margin-top: 8px;
}
.process-step { position: relative; padding-top: 8px; }
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 16px;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { margin-bottom: 0; }

/* Legacy vertical ladder (kept for opportunity.html growth path) */
.ladder { counter-reset: step; }
.ladder-step {
  position: relative;
  padding: 8px 0 32px 46px;
  border-left: 1px solid var(--line);
  margin-left: 17px;
}
.ladder-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.ladder-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -18px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ladder-step h3 { margin-bottom: 6px; }
.ladder-step p { margin-bottom: 0; }

/* ---------- Quote / testimonial ---------- */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px;
  margin: 0;
}
.quote-block p {
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.4;
}
.quote-block cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-top: 10px;
}

.tagline {
  font-family: var(--script);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-dark);
  margin: 4px 0 18px;
}

.placeholder-note {
  font-size: 0.78rem;
  color: var(--gold-dark);
  border: 1px dashed rgba(198,162,95,0.55);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-block;
  margin-top: 10px;
}

/* ---------- CTA banner (dark bookend band) ---------- */
.cta-banner {
  text-align: center;
  padding: 84px 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(198,162,95,0.16), transparent 65%),
    var(--ink);
}
.cta-banner h2, .cta-banner .eyebrow { color: var(--bg); }
.cta-banner .eyebrow { color: var(--gold-light); }
.cta-banner p { max-width: 560px; margin-left: auto; margin-right: auto; color: rgba(251,249,245,0.72); }
.cta-banner .btn-row { justify-content: center; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 22px; }
.faq-item .faq-body p { margin-bottom: 0; }

/* ---------- Form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 18px 0 6px;
}
label:first-child { margin-top: 0; }

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
}
input::placeholder, textarea::placeholder { color: rgba(60,67,74,0.4); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 110px; }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.consent-row input { width: auto; margin-top: 3px; }

.form-card .btn { margin-top: 26px; width: 100%; }

.contact-side .card { margin-bottom: 18px; }
.contact-side .card h3 { color: var(--gold-dark); margin-bottom: 6px; }

.apply-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) {
  .apply-grid { grid-template-columns: 1fr; }
}

/* Compact inline CTA form (homepage) */
.mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  max-width: 720px;
  margin: 32px auto 0;
}
@media (max-width: 760px) { .mini-form { grid-template-columns: 1fr; } }
.mini-form input {
  background: var(--surface);
}
.mini-form .btn { width: 100%; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: var(--ink);
  color: rgba(251,249,245,0.7);
}
.site-footer p { color: rgba(251,249,245,0.6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.site-footer .brand { color: var(--bg); }
.site-footer .brand small { color: var(--gold-light); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(251,249,245,0.68); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(251,249,245,0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(251,249,245,0.5);
}

.disclosure {
  max-width: 780px;
  font-size: 0.76rem;
  color: rgba(251,249,245,0.45);
  margin-top: 18px;
  line-height: 1.6;
}
