/* Halvencor Consulting — shared stylesheet */
:root {
  --ink: #0f1a2e; --ink-soft: #1a2b47; --ink-deep: #0a1020;
  --bone: #ece6d8; --bone-light: #f5f1e6;
  --brass: #9a7d3a; --brass-light: #c09e56;
  --rule: rgba(15, 26, 46, 0.18); --rule-light: rgba(236, 230, 216, 0.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bone); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.serif { font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif; font-weight: 400; }

/* NAV */
nav { position: sticky; top: 0; z-index: 50; background: rgba(236, 230, 216, 0.92);
  backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; display: block; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; letter-spacing: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; transition: color 0.2s ease; padding: 6px 0; position: relative; }
.nav-links a:hover { color: var(--brass); }
.nav-links a.active { color: var(--brass); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--brass); }
.nav-cta { background: var(--ink) !important; color: var(--bone) !important; padding: 10px 20px !important; border-radius: 2px; border: 1px solid var(--ink); transition: all 0.2s ease; }
.nav-cta:hover { background: var(--brass) !important; border-color: var(--brass); color: var(--bone) !important; }
.nav-cta.active::after { display: none; }
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; color: var(--ink); font-size: 1.5rem; padding: 4px 8px; }

/* HERO */
.hero { background: var(--ink); color: var(--bone); padding: 120px 32px 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 60px; background: var(--brass); }
.hero-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--brass-light); font-weight: 500; margin-bottom: 28px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 24px; height: 1px; background: var(--brass); }
h1.hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 28px; }
h1.hero-title em { color: var(--brass-light); font-style: italic; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; max-width: 720px; margin: 0 auto 44px; color: rgba(236, 230, 216, 0.82); line-height: 1.6; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* PAGE HEADER */
.page-header { background: var(--ink); color: var(--bone); padding: 80px 32px 60px; position: relative; }
.page-header::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 40px; background: var(--brass); }
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header .eyebrow { margin-bottom: 20px; }
.page-header h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.15; max-width: 820px; margin-bottom: 18px; }
.page-header p { color: rgba(236, 230, 216, 0.78); font-size: 1.05rem; font-weight: 300; max-width: 720px; line-height: 1.65; }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 30px; font-size: 0.82rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; text-decoration: none; border-radius: 2px; transition: all 0.25s ease; border: 1px solid var(--brass); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(236, 230, 216, 0.35); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-light); }
.btn-dark { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-dark:hover { background: var(--brass); border-color: var(--brass); }

/* SECTION BASE */
section { padding: 90px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--brass); font-weight: 500; margin-bottom: 20px; }
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--brass); }
h2.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; line-height: 1.2; max-width: 720px; margin-bottom: 20px; }
.section-lede { font-size: 1.05rem; max-width: 720px; color: rgba(15, 26, 46, 0.75); font-weight: 300; line-height: 1.65; margin-bottom: 50px; }

/* SURVEY (home cards) */
.survey { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.survey-card { background: var(--bone-light); padding: 40px 36px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background 0.25s ease; min-height: 220px; }
.survey-card:hover { background: var(--bone); }
.survey-card .roman { font-family: 'Playfair Display', Georgia, serif; font-size: 0.85rem; color: var(--brass); letter-spacing: 3px; margin-bottom: 14px; }
.survey-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.survey-card p { font-size: 0.95rem; color: rgba(15, 26, 46, 0.72); line-height: 1.6; flex: 1; }
.survey-card .arrow { margin-top: 20px; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); font-weight: 500; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.service { background: var(--bone-light); padding: 44px 40px; transition: background 0.25s ease; }
.service:hover { background: var(--bone); }
.service-number { font-family: 'Playfair Display', Georgia, serif; font-size: 0.85rem; color: var(--brass); letter-spacing: 3px; margin-bottom: 18px; }
.service h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 14px; }
.service p { font-size: 0.95rem; color: rgba(15, 26, 46, 0.75); line-height: 1.65; margin-bottom: 16px; }
.service ul { list-style: none; font-size: 0.88rem; color: rgba(15, 26, 46, 0.7); }
.service ul li { padding: 5px 0 5px 16px; position: relative; }
.service ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--brass); }
.service.feature { grid-column: 1 / -1; background: var(--ink); color: var(--bone); }
.service.feature:hover { background: var(--ink-soft); }
.service.feature h3 { color: var(--bone); }
.service.feature .service-number { color: var(--brass-light); }
.service.feature p { color: rgba(236, 230, 216, 0.8); }
.service.feature ul { color: rgba(236, 230, 216, 0.7); }
.service.feature ul li { color: rgba(236, 230, 216, 0.75); }
.service.feature ul li::before { background: var(--brass-light); }

/* WHY (firm pillars) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 10px; }
.why-card .roman { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; color: var(--brass); letter-spacing: 2px; display: inline-block; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--brass); }
.why-card h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 500; margin-bottom: 12px; }
.why-card p { font-size: 0.95rem; color: rgba(15, 26, 46, 0.75); line-height: 1.65; }

/* VETERAN STATEMENT */
.vet-statement { background: var(--ink); color: var(--bone); padding: 70px 32px; }
.vet-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.vet-flag { width: 120px; height: auto; display: block; border: 1px solid rgba(236, 230, 216, 0.18); }
.vet-text .eyebrow { color: var(--brass-light); margin-bottom: 14px; }
.vet-text h3 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400; line-height: 1.3; margin-bottom: 14px; color: var(--bone); }
.vet-text p { color: rgba(236, 230, 216, 0.78); line-height: 1.65; font-size: 1rem; font-weight: 300; }

/* ENGAGEMENTS */
.engagements { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.engagement { padding: 32px 0; border-top: 1px solid var(--rule); }
.engagement-sector { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.engagement h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 400; margin-bottom: 12px; }
.engagement p { font-size: 0.92rem; color: rgba(15, 26, 46, 0.72); line-height: 1.6; }
.engagement-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.engagement-tag { font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(154, 125, 58, 0.5); color: var(--brass); border-radius: 2px; }

/* CAPABILITIES */
.cap-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cap-block h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; font-weight: 500; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.cap-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.cap-table td { padding: 12px 0; border-bottom: 1px dashed var(--rule); vertical-align: top; }
.cap-table td:first-child { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); font-weight: 500; width: 44%; padding-right: 16px; }
.cap-table td:last-child { color: rgba(15, 26, 46, 0.82); }
.cap-highlight { background: rgba(154, 125, 58, 0.08); }
.cap-note { margin-top: 20px; font-size: 0.82rem; color: rgba(15, 26, 46, 0.55); font-style: italic; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info p { color: rgba(15, 26, 46, 0.8); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.contact-detail .label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); min-width: 110px; padding-top: 3px; font-weight: 500; }
.contact-detail .value { color: var(--ink); font-size: 0.98rem; }
.contact-detail .value a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(154, 125, 58, 0.5); transition: border-color 0.2s ease; }
.contact-detail .value a:hover { border-bottom-color: var(--brass); }
form { background: var(--bone-light); border: 1px solid var(--rule); padding: 36px; border-radius: 2px; }
.form-row { margin-bottom: 20px; }
label { display: block; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; font-weight: 500; }
input, select, textarea { width: 100%; padding: 12px 14px; background: var(--bone); border: 1px solid var(--rule); color: var(--ink); font-family: inherit; font-size: 0.95rem; border-radius: 2px; transition: border-color 0.2s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); }
textarea { resize: vertical; min-height: 110px; }
button[type="submit"] { width: 100%; margin-top: 8px; }

/* BOTTOM CTA */
.bottom-cta { background: var(--bone-light); padding: 70px 32px; text-align: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.bottom-cta h3 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: 14px; }
.bottom-cta p { color: rgba(15, 26, 46, 0.7); max-width: 560px; margin: 0 auto 30px; }

/* FOOTER */
footer { background: var(--ink-deep); color: rgba(236, 230, 216, 0.6); padding: 60px 32px 30px; font-size: 0.85rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--rule-light); }
.footer-brand svg { width: 44px; height: 44px; margin-bottom: 14px; }
.footer-brand p { max-width: 360px; line-height: 1.6; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--brass-light); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; color: rgba(236, 230, 216, 0.7); text-decoration: none; padding: 4px 0; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--brass-light); }
.footer-legal { max-width: 1200px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 0.78rem; color: rgba(236, 230, 216, 0.5); align-items: center; }
.footer-veteran { display: flex; align-items: center; gap: 12px; }
.footer-flag { width: 38px; height: 20px; display: block; border: 1px solid rgba(236, 230, 216, 0.2); }
.footer-veteran span { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(236, 230, 216, 0.75); font-weight: 500; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid, .why-grid, .engagements, .cap-two-col, .contact-grid, .survey, .footer-inner { grid-template-columns: 1fr; }
  .why-grid { gap: 36px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bone); padding: 20px 32px; gap: 18px; border-bottom: 1px solid var(--rule); }
  .hero { padding: 80px 24px 70px; }
  .page-header { padding: 60px 24px 50px; }
  section { padding: 60px 24px; }
  .bottom-cta { padding: 55px 24px; }
  footer { padding: 50px 24px 24px; }
  .service { padding: 36px 28px; }
  .survey-card { padding: 32px 26px; min-height: auto; }
  form { padding: 28px 22px; }
  .vet-inner { grid-template-columns: 1fr; }
  .vet-flag { width: 90px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
