:root {
  --ink: #1c2433;
  --ink-soft: #4a5468;
  --bg: #ffffff;
  --bg-alt: #fff9e6;
  --bg-cta: #023e8a;
  --gold: #023e8a;
  --gold-deep: #012c66;
  --line: #efe7cf;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(28, 36, 51, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand-mark { font-size: 1.3rem; }
.brand-name { font-family: 'Fraunces', serif; }
.brand-logo { height: 26px; width: auto; max-width: 60vw; display: block; }
@media (max-width: 480px) { .brand-logo { height: 20px; } }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* BUTTONS */
.btn {
  display: inline-block; background: var(--gold); color: #ffffff;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 6px 18px rgba(2, 62, 138, 0.32);
}
.btn:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--gold); transform: translateY(-2px); }

/* White CTA button in the nav bar */
.nav-links .btn {
  background: #ffffff; color: var(--gold);
  border: 1.5px solid var(--gold); box-shadow: none;
}
.nav-links .btn:hover { background: var(--gold); color: #ffffff; }

/* HERO */
.hero {
  background: radial-gradient(900px 500px at 70% -10%, #fff9e6 0%, rgba(255,255,255,0) 60%), var(--bg);
  padding: 96px 0 88px;
}
.hero-inner { max-width: 760px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 600; color: var(--gold-deep); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); font-weight: 600; margin-bottom: 22px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--ink-soft); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 26px; }
.hero-tag { font-size: 1rem; color: var(--ink-soft); font-style: italic; }

/* SECTIONS */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.1rem; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 18px; }

.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.grid-2 p { color: var(--ink-soft); margin-bottom: 16px; max-width: 52ch; }

.stats { list-style: none; display: grid; gap: 16px; }
.stats li {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.stats strong {
  display: block; font-family: 'Fraunces', serif; font-size: 1.35rem;
  color: var(--gold-deep); margin-bottom: 4px;
}
.stats span { color: var(--ink-soft); font-size: 0.95rem; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .18s;
}
.card:hover { transform: translateY(-4px); }
.card-step {
  font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700;
  color: #fff; background: var(--gold); width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 12px; margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card {
  border: 1px solid #edf0f5; border-radius: var(--radius); padding: 0; overflow: hidden;
  background: #ffffff; box-shadow: 0 8px 24px rgba(28, 36, 51, 0.08);
}
.split-body { padding: 38px 34px; }
.split-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.split-card p { color: var(--ink-soft); margin-bottom: 22px; }
.split-img { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; margin: 0; }

/* CTA / CONTACT */
.section-cta { background: var(--bg-cta); color: #fff; }
.section-cta .eyebrow { color: #fff9e6; }
.section-cta h2 { color: #fff; }
.section-cta .section-sub { color: #cfe0f7; }
.contact-inner { text-align: center; }
.contact-inner .section-head { margin: 0 auto 40px; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin: 0 auto;
}
.contact-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 24px; transition: border-color .15s, background .15s;
}
.contact-item:hover { border-color: #fff9e6; background: rgba(255,255,255,0.08); }
.contact-label {
  display: block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.74rem; color: #fff9e6; margin-bottom: 8px; font-weight: 600;
}
.contact-value { font-size: 1.02rem; font-weight: 500; }
.contact-note { color: #8b95a8; margin-top: 26px; font-size: 0.92rem; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-contact { display: inline-flex; align-items: center; gap: 9px; background: #ffffff; color: var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.btn-contact:hover { background: #fff9e6; color: var(--gold-deep); }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; color: var(--ink-soft); font-size: 0.9rem;
}
.footer-brand { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); }
.footer-inner a:hover { color: var(--gold-deep); }

/* CAREERS PAGE */
.nav-links a.active { color: var(--ink); font-weight: 600; }
.page-hero {
  background: radial-gradient(900px 460px at 70% -20%, #fff9e6 0%, rgba(255,255,255,0) 60%), var(--bg);
  padding: 72px 0 56px;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 600; margin-bottom: 16px; }
.page-hero .lead { max-width: 600px; }
.callout-lead { margin-top: 28px; margin-bottom: 12px; color: var(--ink-soft); font-size: 1.05rem; }
.jobs-section { padding-top: 36px; }
.jobs-embed {
  background: #ffffff; border: 1px solid #edf0f5; border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(28, 36, 51, 0.08); overflow: hidden;
}
.jobs-embed iframe { display: block; width: 100%; height: 1200px; border: 0; }
.job-list { display: grid; gap: 14px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #ffffff; border: 1px solid #edf0f5; border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(28, 36, 51, 0.08); padding: 24px 28px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.job-card:hover { transform: translateY(-3px); border-color: #c9d9ef; box-shadow: 0 14px 32px rgba(2, 62, 138, 0.12); }
.job-main h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-soft); font-size: 0.92rem; }
.job-cta { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.jobs-loading, .jobs-empty { color: var(--ink-soft); }
.jobs-empty a { color: var(--gold-deep); font-weight: 600; }
.jobs-fallback { text-align: center; color: var(--ink-soft); margin-top: 26px; font-size: 0.95rem; }
.jobs-fallback a { color: var(--gold-deep); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .job-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .jobs-embed iframe { height: 1500px; }
  .grid-2, .cards, .split, .contact-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 4px; background: #fff; padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; width: 100%; }
  .nav-toggle { display: block; }
  .btn-small { margin-top: 6px; }
}
