/* HCI core brand palette: original navy, rich gold, graphite and warm ivory. */
:root {
  /* Deeper graphite-navy foundation with high-visibility action green. */
  --ink: #101923;
  --ink-2: #30343B;
  --ivory: #F5F1E9;
  --paper: #FCFAF6;
  --warm: #E8E0D5;
  --bronze: #D09A2D;
  /* Exact SAM.gov-status green carried from the current capability statement. */
  --action-green: #16A968;
  --action-green-hover: #0D8C52;
}
html, body { overflow-x: clip; }
img, svg { max-width: 100%; }

/* Navy comparison pass: same layout, same content, only the opening background changes. */
.hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(18,131,85,.16) 0%, transparent 30%),
    radial-gradient(circle at 42% 100%, rgba(208,154,45,.10) 0%, transparent 28%),
    linear-gradient(125deg, #071326 0%, #0B1830 57%, #17263D 100%);
  color: #F5F1E9;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 86px 0 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(145deg, #0B1830 0%, #17263D 64%, #30343B 130%);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 50% 100%);
}

.hero-grid { opacity: .24; mix-blend-mode: screen; }
.hero-inner { grid-template-columns: 1.12fr .88fr; z-index: 1; }
.hero-copy { max-width: none; }
.hero-rolodex { align-self: center; width: 100%; max-width: 490px; justify-self: end; color: #F5F1E9; padding: 22px 0; }
.rolodex-head { display: flex; justify-content: space-between; align-items: center; margin: 0 10px 14px; color: rgba(245,241,233,.78); font: 700 10px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.rolodex-window { height: 152px; overflow: hidden; border-top: 1px solid rgba(208,154,45,.62); border-bottom: 1px solid rgba(245,241,233,.22); }
.rolodex-track { transition: transform .9s cubic-bezier(.75,0,.25,1); }
.rolodex-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; height: 152px; align-items: center; padding: 20px 10px; background: linear-gradient(90deg, rgba(245,241,233,.98), rgba(232,224,213,.96)); color: #101923; }
.rolodex-card > span { color: #128355; font: 700 12px var(--display); letter-spacing: .08em; align-self: start; }
.rolodex-card strong { display: block; margin-bottom: 7px; font: 650 clamp(20px,2.3vw,30px)/1.12 var(--display); letter-spacing: -.045em; }
.rolodex-card small { display: block; max-width: 340px; color: #52606F; font-size: 12px; line-height: 1.5; }
.rolodex-intro { background: linear-gradient(115deg, #F5F1E9 0%, #E8E0D5 100%); }
.rolodex-intro > span { color: #D09A2D; font-size: 9px; }
.hero-rolodex > p { margin: 13px 10px 0; color: rgba(245,241,233,.64); font-size: 11px; }
.hero .text-link.light { color: #F5F1E9; }
.hero-foot { border-top-color: rgba(245,241,233,.17); color: #B7C0CA; }

/* Purposeful “operations dashboard” depth—kept quiet enough for a B2B audience. */
.hero::before {
  content: '';
  position: absolute;
  inset: 86px 0 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 25, 35, .08) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(0deg, rgba(16, 25, 35, .055) 1px, transparent 1px) 0 0 / 100% 92px;
  mask-image: linear-gradient(90deg, black 0%, rgba(0,0,0,.86) 68%, transparent 100%);
}

.hero-copy { position: relative; }
.hero-copy::before {
  content: 'HCI // PROCUREMENT OPERATIONS // NJ';
  display: block;
  color: #AAB9CB;
  font: 700 9px/1.2 var(--font);
  letter-spacing: .22em;
  margin-bottom: 18px;
}

.hero h1 { text-shadow: none; letter-spacing: -.045em; word-spacing: .025em; }
/* Keep the display type open and readable at every breakpoint—tight, but never compressed. */
.rolodex-card strong,
.capability-panel h2,
.founder-copy h2,
.reviews-inner h2,
.engagement-principles h3,
.provider-categories h3,
.intro-content h2,
.section-heading h2,
.services-heading h2,
.network-heading h2,
.method h2,
.qual-header h2,
.faq h2,
.contact h2,
.audience-content h3,
.service-title {
  letter-spacing: -.035em;
  word-spacing: .025em;
}
.action-arrow { display: inline-block; width: 10px; height: 10px; flex: 0 0 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); vertical-align: middle; }
.text-link:hover .action-arrow, .button:hover .action-arrow, .underlined-link:hover .action-arrow { transform: rotate(45deg) translate(2px,-2px); }
.circled-arrow::before { content: ''; display: block; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.hero h1 em { margin-left: .09em; }
.hero-lede { color: #F1EEE6; }
.hero-support { color: #C2C9D1; }
.hero-promise { margin: -8px 0 23px; color: #F5F1E9; font: 650 13px/1.3 var(--display); letter-spacing: .11em; text-transform: uppercase; }
.hero-promise::before { content: ''; display: inline-block; width: 32px; height: 1px; margin: 0 12px 4px 0; background: #C9A56B; }
.hero-promise span { color: #D09A2D; }
.hero .eyebrow, .hero-promise span { color: #F0C46A; }
.hero-promise::before { background: #F0C46A; }
.hero-lede { text-wrap: balance; }
/* The primary "Explore" and Scope Review actions are intentionally impossible to miss. */
.button-copper { background: linear-gradient(135deg, #20C476 0%, var(--action-green) 48%, #0F9458 100%); color: #fff; border-color: #2BD282; box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 12px 34px rgba(12,145,80,.32); }
.button-copper:hover { background: linear-gradient(135deg, #35D98B 0%, #16A968 52%, var(--action-green-hover) 100%); color: #fff; border-color: #56E4A1; box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 16px 40px rgba(12,145,80,.44); }
.button-copper:focus-visible { outline-color: var(--action-green); }
.audience-content .underlined-link {
  width: fit-content;
  min-width: 242px;
  min-height: 52px;
  padding: 14px 21px;
  border: 1px solid var(--action-green);
  background: var(--action-green);
  color: #fff;
  justify-content: space-between;
  transition: background .24s, color .24s, transform .24s;
}
.audience-content .underlined-link:hover {
  background: var(--action-green-hover);
  border-color: var(--action-green-hover);
  color: #fff;
  transform: translateY(-3px);
}

.orbit-three { border-color: rgba(112,157,201,.30); }
.center-crest img { filter: drop-shadow(0 12px 30px rgba(208,154,45,.28)); }

.site-header { background: rgba(8,17,31,.82); border-bottom-color: rgba(201,165,107,.18); }
.site-header.scrolled { background: rgba(8,17,31,.96); }

/* A quieter graphite-to-ivory transition keeps the rest of the site executive, not generic. */
.editorial-intro { background: linear-gradient(135deg, #FCFAF6 0%, #F5F1E9 100%); }
.audiences, .qualifications { background: #F5F1E9; }
.services, .faq { background: #FCFAF6; }
.network-section { background: linear-gradient(135deg, #0B1830 0%, #17263D 62%, #30343B 150%); }
.contact { background: linear-gradient(135deg, #071326 0%, #0B1830 62%, #30343B 160%); }

/* Carry the palette through the site without repeating detached decorative tabs. */
.editorial-intro, .audiences, .services, .qualifications, .faq, .network-section, .contact { position: relative; overflow: hidden; }
.editorial-intro, .audiences, .services, .qualifications, .faq { box-shadow: inset 0 3px 0 #D09A2D; }
.network-section, .contact { box-shadow: inset 0 3px 0 rgba(245,241,233,.82); }
.editorial-intro::before, .audiences::before, .services::before, .qualifications::before, .faq::before, .network-section::before, .contact::before { display: none; }
.editorial-intro > .container, .audiences > .container, .services > .container, .qualifications > .container, .faq > .container, .network-section > .container, .contact > .container { position: relative; z-index: 1; }
.contractor-panel { background: linear-gradient(145deg, #0B1830 0%, #17263D 82%, #30343B 150%); }
.buyers-panel { background: linear-gradient(145deg, #FCFAF6 0%, #F5F1E9 100%); }
.small-label { color: #128355; }
.section-heading em, .services-heading em, .network-heading em, .method h2 em, .qual-header em, .faq h2 em { color: #4E6177; }

/* Trust content: concise leadership, verified reviews, and a single capabilities document. */
.capability-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 58px; padding: 52px 0; }
.capability-panel h2, .founder-copy h2, .reviews-inner h2 { font: 650 clamp(42px,4.2vw,74px)/1.14 var(--display); letter-spacing: -.064em; margin: 15px 0 22px; }
.capability-panel h2 em, .founder-copy h2 em, .reviews-inner h2 em { font-style: normal; font-weight: 400; color: #4E6177; }
.capability-panel p { max-width: 590px; color: #596472; font-size: 15px; line-height: 1.8; margin: 0; }
.capability-panel .insurance-note { margin-top: 20px; color: #128355; font: 700 10px/1.4 var(--font); letter-spacing: .14em; }
.capability-panel .button { min-width: 268px; }
.founder { background: linear-gradient(135deg, #FCFAF6 0%, #F5F1E9 100%); padding: 86px 0; }
.founder-grid { display: grid; grid-template-columns: 25% 1fr; gap: 42px; }
.founder-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px; background: #E8E0D5; border-top: 1px solid #D09A2D; border-bottom: 3px solid #D09A2D; }
.founder-portrait { display: block; width: 144px; height: 144px; object-fit: cover; object-position: center; box-shadow: 12px 12px 0 #101923; }
.founder-label { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; padding-top: 17px; }
.founder-label p { margin: 0; color: #128355; font: 700 10px var(--font); letter-spacing: .16em; }
.founder-copy { max-width: 800px; }
.founder-copy p { max-width: 720px; color: #38485B; font-size: 16px; line-height: 1.85; margin: 0 0 20px; }
.founder-copy .founder-note { color: #101923; font-weight: 650; }
.reviews { background: linear-gradient(135deg, #0B1830 0%, #17263D 74%, #30343B 150%); color: #F5F1E9; padding: 104px 0; }
.reviews-inner { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.reviews .section-index { color: #D09A2D; }
.reviews-inner h2 em { color: #D09A2D; }
.reviews-inner p { max-width: 560px; color: #C2C9D1; font-size: 15px; line-height: 1.8; margin: 0; }
.reviews .button { min-width: 230px; }

.engagement-principles { list-style: none; }
.engagement-principles article { display: grid; grid-template-columns: 75px 1fr; gap: 12px; border-bottom: 1px solid var(--line); min-height: 140px; padding: 24px 0; }
.engagement-principles article:first-child { border-top: 1px solid var(--line); }
.engagement-principles article > span { font: 700 11px var(--display); color: var(--bronze); padding-top: 10px; }
.engagement-principles h3 { font: 650 28px/1.2 var(--display); letter-spacing: -.045em; margin: 0 0 8px; }
.engagement-principles p { max-width: 460px; font-size: 13px; color: #6A717B; line-height: 1.7; margin: 0; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: #D09A2D; font-size: 13px; font-weight: 650; }
.service-area-note { margin: 14px 0 0; color: #C2C9D1; font-size: 11px; line-height: 1.65; }
.contact-process { display: grid; gap: 12px; margin-top: 32px; max-width: 500px; }
.contact-process article { display: grid; grid-template-columns: 31px 1fr; column-gap: 12px; padding: 12px 0; border-top: 1px solid rgba(232,235,238,.2); }
.contact-process article:last-child { border-bottom: 1px solid rgba(232,235,238,.2); }
.contact-process article > span { grid-row: span 2; color: #F0C46A; font: 700 10px var(--display); letter-spacing: .08em; padding-top: 2px; }
.contact-process strong { color: #F5F1E9; font-size: 12px; letter-spacing: .01em; }
.contact-process p { margin: 4px 0 0; color: #D0D7E1; font-size: 11px; line-height: 1.55; }
.contact-details a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-width: 172px;
  min-height: 48px;
  padding: 12px 16px 12px 49px;
  border: 1px solid #38D48A;
  background-color: var(--action-green);
  background-image: url('assets/hci-crest-original-gold.png'), linear-gradient(135deg, #21C576 0%, #16A968 54%, #0F9156 100%);
  background-size: 24px auto, 100% 100%;
  background-position: 16px center, center;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 0;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 10px 26px rgba(8,140,75,.28);
}
.contact-details a[href^="tel:"]::before { content: 'Give us a call'; position: relative; z-index: 1; font-size: 12px; }
.contact-details a[href^="tel:"]::after { content: '✦'; position: absolute; top: 4px; right: 9px; color: #E2FFD8; font-size: 11px; text-shadow: 0 0 9px rgba(255,255,255,.92); }
.contact-details a[href^="tel:"] span { color: #fff; font-size: 0; }
.contact-details a[href^="tel:"]:hover { border-color: #68EDAC; background-color: var(--action-green-hover); background-image: url('assets/hci-crest-original-gold.png'), linear-gradient(135deg, #3DDD92 0%, #16A968 48%, #0D8C52 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.53), 0 14px 30px rgba(8,140,75,.42); }
.calendar-booking { width: fit-content; min-width: 278px; margin-top: 22px; }

/* Dark-section secondary copy remains legible on smaller and dimmer screens. */
.network-heading .section-index, .reviews .section-index, .contact .section-index { color: #F0C46A; }
.network-heading em { color: #D7DFE8; }
.network-heading > p, .reviews-inner p, .service-area-note { color: #D0D7E1; }

/* Provider coordination is intentionally shown as three clear lanes—not a crowded trade directory. */
.provider-categories { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(230,234,239,.25); border-bottom: 1px solid rgba(230,234,239,.25); }
.provider-categories article { min-height: 244px; padding: 30px 30px 32px 0; margin-right: 30px; border-right: 1px solid rgba(230,234,239,.2); }
.provider-categories article:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.provider-categories span { color: #F0C46A; font: 700 10px var(--display); letter-spacing: .12em; }
.provider-categories h3 { margin: 22px 0 12px; color: #F5F1E9; font: 650 clamp(23px,2vw,32px)/1.16 var(--display); letter-spacing: -.045em; }
.provider-categories p { max-width: 330px; margin: 0; color: #D0D7E1; font-size: 13px; line-height: 1.75; }
.provider-note { max-width: 690px; margin: 25px 0 0; color: #ABB7C7; font-size: 11px; line-height: 1.65; }
/* Anchor links must land on usable content immediately, even before scroll observers run. */
.network-section .reveal, .contact .reveal { opacity: 1; transform: none; }

/* The audience label and headline share one clean left edge at every breakpoint. */
.section-heading { display: block; }
.section-heading .small-label { display: block; margin-bottom: 20px; }

/* A small set of emerald actions gives the ivory and navy panels a confident visual pulse. */
.audience-panel .underlined-link {
  min-width: min(100%, 258px);
  justify-content: space-between;
  padding: 15px 18px;
  border: 1px solid #32D384;
  border-bottom: 1px solid #32D384;
  background: linear-gradient(135deg, #20C476 0%, #16A968 54%, #0F9156 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 25px rgba(10,142,76,.19);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.audience-panel .underlined-link:hover { transform: translateY(-2px); background: linear-gradient(135deg, #38D98E 0%, #16A968 50%, #0D8C52 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 14px 30px rgba(10,142,76,.30); }

/* Desktop composition: the opening message leads immediately; the header already carries brand identity. */
@media (min-width: 921px) {
  .hero { min-height: 790px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr);
    gap: clamp(44px, 7vw, 126px);
    min-height: 704px;
    padding: 96px 0 74px;
    align-items: center;
  }
  .hero-copy { max-width: 660px; padding-top: 0; }
  .hero-copy::before { display: none; }
  .hero h1 {
    margin: 0 0 20px;
    font-size: clamp(66px, 5.45vw, 94px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }
  .hero-promise { margin: 0 0 20px; }
  .hero-lede { max-width: 590px; margin-bottom: 14px; }
  .hero-support { max-width: 550px; margin-bottom: 27px; }
  .hero-rolodex { max-width: 470px; padding: 0; align-self: center; transform: translateY(12px); }
}

/* Intake: all controls remain full-width and comfortably tappable on phones. */
@media (max-width: 580px) {
  .inquiry-form { width: 100%; max-width: none; }
  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    display: block;
    width: 100%;
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom */
  }
  .inquiry-form select {
    appearance: auto;
    -webkit-appearance: menulist;
    background-image: none;
    padding-right: 10px;
  }
}

/* Keep category labels visibly separate in every scan mode. */
.service-tags { gap: 10px; margin-top: 18px; }
.service-tags span { display: inline-flex; align-items: center; min-height: 34px; line-height: 1.3; }
.sector-items { column-gap: 34px; row-gap: 8px; }
.sector-items span { min-height: 52px; line-height: 1.42; }
.sector-items span::before { content: attr(data-source-code); min-width: 24px; color: #F0C46A; font: 700 10px var(--display); letter-spacing: .04em; }

@media (max-width: 580px) {
  .service-tags { gap: 9px; }
  .service-tags span { width: 100%; min-height: 38px; padding: 9px 11px; }
  .sector-items { row-gap: 4px; }
  .sector-items span { min-height: 44px; padding: 12px 0; }
  /* Adjacent ivory sections do not need two full padding blocks between them. */
  .audiences { padding-bottom: 32px; }
  .services { padding-top: 45px; }
}

@media (max-width: 920px) {
  .hero { background: linear-gradient(145deg, #071326 0%, #0B1830 62%, #17263D 100%); }
  .hero::after { inset: auto 0 0; height: 43%; clip-path: none; background: linear-gradient(145deg, #0B1830 0%, #17263D 68%, #30343B 135%); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-rolodex { width: 100%; max-width: 500px; justify-self: center; margin: 0; padding-top: 0; }
  .hero h1, .hero-lede, .hero-support, .rolodex-card strong, .rolodex-card small { overflow-wrap: anywhere; }
  .capability-panel, .reviews-inner { grid-template-columns: 1fr; align-items: start; }
  .capability-panel { display: grid; gap: 30px; }
  .reviews-inner { display: grid; gap: 30px; }
  .provider-categories { grid-template-columns: 1fr; }
  .provider-categories article, .provider-categories article:last-child { min-height: 0; margin: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(230,234,239,.2); }
  .provider-categories article:last-child { border-bottom: 0; }
  .founder-grid { grid-template-columns: 1fr; gap: 24px; }
  .founder-aside { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .founder-portrait { width: 128px; height: 128px; flex: 0 0 auto; }
}

@media (max-width: 580px) {
  .hero::before { top: 69px; mask-image: none; opacity: .48; }
  .hero-copy::before { display: none; }
  .hero-promise { font-size: 10px; margin: -5px 0 20px; letter-spacing: .08em; }
  .hero-rolodex { margin-top: 12px; }
  .hero-inner { padding-top: 48px; gap: 30px; }
  .intro-content h2 { font-size: 34px; line-height: 1.16; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { max-width: 100%; }
  .calendar-booking { width: 100%; min-width: 0; }
  .rolodex-card { grid-template-columns: 38px 1fr; gap: 11px; padding: 18px 8px; }
  .rolodex-card strong { font-size: 22px; }
  .capability-panel, .reviews { padding: 56px 0; }
  .qualifications { padding-bottom: 35px; }
  .founder { padding: 45px 0 68px; }
  .capability-panel h2, .founder-copy h2, .reviews-inner h2 { font-size: clamp(36px,8.8vw,54px); }
  .capability-panel .button, .reviews .button { width: 100%; min-width: 0; }
  .founder-copy p, .reviews-inner p, .capability-panel p { font-size: 14px; }
  .founder-aside { gap: 20px; padding: 18px; }
  .provider-categories h3 { margin: 13px 0 9px; font-size: 25px; }
  .provider-categories p { font-size: 13px; }
  .founder-portrait { width: 112px; height: 112px; }
  .engagement-principles article { min-height: 120px; grid-template-columns: 44px 1fr; padding: 20px 0; }
  .engagement-principles h3 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .rolodex-track { transition: none; }
}
