/* NorthMark Talent Partners — site styles */
:root {
  --navy: #15263c;
  --navy-2: #1d3350;
  --navy-3: #243d5e;
  --gold: #c8a55a;
  --gold-dark: #b08f45;
  --ink: #1f2a3a;
  --text: #3c4654;
  --muted: #6b7482;
  --paper: #f4f2ee;
  --card: #efece6;
  --line: #ddd9d1;
  --white: #ffffff;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: #d7deea; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
h2.title { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 28px; }
h2.title--center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 4px;
  font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  font-family: var(--sans);
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 18px; height: 16px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: var(--navy); }
.logo__sub { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 15px; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav .btn { display: none; }
.nav a.is-active { border-bottom-color: var(--gold); }
.header__right { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 4px;
  width: 42px; height: 38px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero { background: var(--navy); color: #d7deea; padding: 72px 0 80px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 54px); margin-bottom: 22px; }
.hero p { font-size: 18px; max-width: 540px; margin-bottom: 30px; color: #cfd7e4; }
.photo-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: var(--radius);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  min-height: 300px;
  background:
    radial-gradient(ellipse at 70% 60%, rgba(200,165,90,.35), transparent 55%),
    linear-gradient(135deg, #2b4466, #1a2d47 60%, #122238);
}
.hero__photo {
  display: block; width: 100%; height: 100%; min-height: 300px;
  object-fit: cover; object-position: center 35%;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
@media (max-width: 960px) { .hero__photo { min-height: 220px; max-height: 360px; } }
.photo-ph--light {
  color: #6c6256;
  background: linear-gradient(135deg, #e3ddd3, #c9bfae);
  min-height: 360px;
}

/* Trust strip */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip__inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding: 16px 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text); font-size: 15px; }
.card .btn { margin-top: 18px; }
.card--beige { background: var(--card); border-color: transparent; }
.card--navy { background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); }
.card--navy h3 { color: var(--white); }
.card--navy p { color: #c2cbd9; }
.num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold); margin-bottom: 14px; line-height: 1; }
.card--sm { padding: 20px 22px; }
.card--sm h3 { font-size: 17px; }
.card--sm p { font-size: 14.5px; }

/* Compare table */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.compare thead th {
  background: var(--navy); color: var(--white); text-align: left;
  padding: 14px 18px; font-weight: 600; font-size: 15px;
}
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); padding: 16px 18px; vertical-align: middle; width: 16%; }
.compare tbody td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text); }
.compare tbody th { border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.fineprint { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  font-size: 14.5px; color: var(--ink); background: var(--white);
}

/* Testimonials */
.quote {
  margin: 0;
  background: var(--card); border-left: 4px solid var(--gold);
  padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-style: italic; font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.quote cite { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Badges */
.badges {
  border: 1px dashed var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  padding: 22px 28px; font-size: 14px; font-weight: 600; color: var(--muted);
}
.note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* CTA */
.cta { text-align: center; padding: 80px 0; }
.cta h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.cta p { font-size: 18px; color: var(--text); margin-bottom: 30px; }
.cta .btn-row { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 13.5px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { text-align: right; }
.footer a:hover { color: var(--navy); }

/* Page hero (About / Contact) */
.page-hero { background: var(--paper); padding: 80px 0; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); max-width: 760px; margin-bottom: 18px; }
.page-hero p { font-size: 18px; max-width: 700px; }

/* About */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.story p { font-size: 16.5px; margin-bottom: 1.1em; }
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.founder h3 { font-size: 28px; margin-bottom: 8px; }
.founder__role { font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 20px; font-size: 14px; color: var(--ink); }

/* Contact */
.forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card .lead { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: #faf9f7; border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { padding: 9px 12px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { margin-top: 14px; font-size: 14.5px; padding: 12px 14px; border-radius: 4px; display: none; }
.form-msg.is-ok { display: block; background: #eef6ee; color: #1f5a2a; border: 1px solid #cfe5cf; }
.form-msg.is-err { display: block; background: #fbeeee; color: #7a1f1f; border: 1px solid #efc9c9; }
.honey { position: absolute; left: -9999px; }

.info-bar { background: var(--navy); color: var(--white); padding: 56px 0; }
.info-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-bar .eyebrow { margin-bottom: 10px; }
.info-bar p { font-size: 17px; color: var(--white); }


/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .info-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .story { grid-template-columns: 1fr; }
  .photo-ph { min-height: 220px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-bottom-color: var(--gold); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-4, .forms, .field-row, .badges { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder .photo-ph--light { max-width: 240px; }
  .footer__inner { flex-direction: column; }
  .footer__links { text-align: left; }
  .strip__inner { justify-content: flex-start; }
  .header__right .btn { display: none; }
  .nav .btn { display: inline-flex; margin-top: 12px; }
  .form-card { padding: 24px 20px; }
}

/* About: Our story */
.story__title { margin-bottom: 10px; }
.story__lead { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); margin-bottom: 1.2em; }
.story__close { font-weight: 600; color: var(--navy); }
.story .photo-ph--light { position: sticky; top: 96px; }

/* Contact: form toggle */
.form-toggle {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 32px;
  padding: 4px; gap: 4px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
}
.form-toggle button {
  font: inherit; font-size: 15px; font-weight: 600;
  padding: 11px 24px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .15s, color .15s;
}
.form-toggle button:hover { color: var(--navy); }
.form-toggle button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.form-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.has-toggle .forms { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.form-card[hidden] { display: none; }
.form-card { scroll-margin-top: 170px; }
@media (max-width: 640px) {
  .form-toggle { width: 100%; }
  .form-toggle button { flex: 1; padding: 11px 10px; font-size: 14px; }
}
