/* JXH LLC. Design tokens follow the JXH Tech / JXH Staffing system. */
:root {
  --navy: #14233B;
  --navy-2: #1F3A5F;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --gold: #B5872E;
  --gold-2: #CF9F3D;
  --ink: #1B2536;
  --muted: #536072;
  --line: #D9DFE7;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.6; max-width: 40rem; color: var(--muted); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; height: 42px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-weight: 500; border-left: 2px solid var(--gold); padding-left: 10px; line-height: 1; }
.nav { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav a.nav-cta { background: var(--navy); color: #fff; padding: 9px 18px; border: 0; border-radius: 3px; }
.nav a.nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav-toggle { display: none; font: inherit; font-weight: 500; background: none; border: 1px solid var(--navy); color: var(--navy); padding: 8px 14px; border-radius: 3px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 13px 24px; border-radius: 3px; border: 2px solid transparent; line-height: 1.2; }
.btn-gold { background: var(--gold-2); color: var(--navy); }
.btn-gold:hover { background: #E0B155; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; margin-bottom: 0; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 84px 0 88px; border-bottom: 4px solid var(--gold); }
.hero h1 { color: #fff; }
.hero .lead { color: #D3DBE7; margin-top: 26px; margin-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.facts { margin: 0; border-left: 2px solid var(--gold-2); padding-left: 28px; }
.facts div + div { margin-top: 22px; }
.facts dt { color: var(--gold-2); font-size: 0.9rem; font-weight: 500; margin-bottom: 2px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 64px 0 80px; }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); margin: 10px 0 36px; }
.page-head { padding: 68px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.page-head .lead { margin: 18px 0 0; }

/* Company directory (home) */
.co-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.co-row { display: grid; grid-template-columns: 1fr 1.6fr 170px; gap: 40px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.co-name h3 { font-size: 1.5rem; }
.co-tag { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.co-desc { margin: 0; max-width: 34rem; }
.co-link { margin: 0; font-weight: 500; text-align: right; }

/* Company detail */
.co-detail { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; padding: 44px 0; border-top: 1px solid var(--line); }
.co-detail:first-child { border-top: 2px solid var(--navy); }
.co-detail-head .co-tag { margin-top: 8px; }
.co-detail-body { max-width: 38rem; }
.serves { color: var(--muted); font-size: 0.98rem; }
.serves strong { color: var(--ink); font-weight: 600; }
.co-detail-body .btn { margin-top: 6px; }

/* Columns and prose */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 36px; }
.col { border-top: 3px solid var(--gold); padding-top: 18px; }
.col h3 { margin-bottom: 10px; }
.col p { margin: 0; color: var(--ink); }
.prose-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.prose-grid > h2 { margin-top: 2px; }
.prose-grid .cols-3.nested { margin-top: 0; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prose { max-width: 40rem; }
.prose.narrow { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.person { font-size: 1.6rem; }
.role { color: var(--muted); margin: 4px 0 16px; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cta p { margin: 8px 0 0; color: var(--muted); }
.cta > p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info p { margin-bottom: 1.4em; }
.h3-like { font-size: 1.25rem; margin: 2em 0 .6em; }
.route { margin: 0; padding-left: 1.1em; }
.route li { margin-bottom: .4em; }
.form { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 32px; }
.field { margin-bottom: 20px; }
label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .98rem; }
input[type=text], input[type=email], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #A9B3C1; border-radius: 3px; padding: 11px 12px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold-2); outline-offset: 1px; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 12px 0 0; font-weight: 500; }
.form-status.ok { color: #1E6B3A; }
.form-status.err { color: #A32A22; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D3E1; padding: 60px 0 0; margin-top: 0; border-top: 4px solid var(--gold); }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: var(--gold-2); text-decoration-color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin: 0 0 6px; }
.footer-tag { margin: 0 0 14px; }
.footer-small { margin: 0; font-size: .95rem; }
.footer-h { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--gold-2); margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { margin: 0 0 1em; }
.footer-base { padding-bottom: 28px; font-size: .92rem; }
.footer-base p { margin: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 60px 0 64px; }
  .hero-grid, .co-detail, .prose-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .co-row { grid-template-columns: 1fr; gap: 10px; }
  .co-link { text-align: left; }
  .cols-3, .prose-grid .cols-3.nested { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .header-row { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  nav { width: 100%; }
  .nav { display: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0 16px; }
  .nav.open { display: flex; }
  .nav a { display: inline-block; padding: 10px 0; }
  .nav a.nav-cta { padding: 10px 18px; margin-top: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
