/* Neugent Consulting · brand theme
   Everything here is derived from the logo: the navy #0c1a34 it sits on, one blue lifted
   from the same hue for links and numbers, a pale blue-grey for alternate sections.
   Type is the editorial pairing the firm chose: Source Serif 4 for headlines, Inter for
   everything else. The NC mark appears as a masked watermark on the navy bands that have
   no photograph, and as the small glyph before section kickers. */

:root {
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #ffffff;
  --ink: #0c1a34;           /* the navy of the logo */
  --text: #1e2a46;
  --muted: #5b6680;
  --rule: #dbe1ec;
  --paper: #f2f5fa;
  --accent: #2a62d9;        /* the same hue as the navy, lifted: links, numbers, kickers */
  --accent-soft: #9db8f5;   /* the same blue for use on navy */
  --accent-ink: #ffffff;
  --dark: #0c1a34;
  --dark-2: #142a52;        /* far end of the navy gradients */
  --dark-text: #ffffff;
  --radius: 2px;
  --container: 1280px;
  /* photography: variants override these two */
  --photo-filter: grayscale(1) contrast(1.04);
  --photo-cast: linear-gradient(135deg, rgba(42,98,217,.32), rgba(12,26,52,.28));
}

body { font-weight: 400; }
h1, h2, h3, h4 { font-weight: 500; font-variation-settings: "opsz" 40; }
.section-title { font-weight: 500; }
.lead { color: var(--text); }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 9px; }
.page-hero--dark .eyebrow, .hero .eyebrow, .research__body .eyebrow { color: var(--accent-soft); opacity: 1; }

/* the mark as the glyph before section kickers */
.section-head .eyebrow::before, .hero .eyebrow::before, .page-hero .eyebrow::before, .band__intro .eyebrow::before, .research__body .eyebrow::before {
  content: ""; width: 15px; height: 11px; flex: none; background: currentColor;
  -webkit-mask: url("logo-mark.svg") no-repeat center / contain; mask: url("logo-mark.svg") no-repeat center / contain;
}
/* the mark as a watermark on the bands without a photograph */
.cta-band::after, .research::after, .band::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0; background: #fff; opacity: .06;
  aspect-ratio: 138 / 104;
  -webkit-mask: url("logo-mark.svg") no-repeat center / contain; mask: url("logo-mark.svg") no-repeat center / contain;
}

/* header */
.site-header { border-bottom: 1px solid var(--rule); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule), 0 10px 30px rgba(12,26,52,.07); }
.site-header__inner { min-height: 76px; }
.logo svg { height: 40px; }
.nav { gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
.nav > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > li:hover > a::after, .nav > li > a:focus::after { transform: scaleX(1); }
.icon-btn { display: inline-flex; padding: 8px; color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.header-actions .btn--ghost { background: var(--ink); border-color: var(--ink); color: #fff; }
.header-actions .btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.menu-panel { min-width: 360px; padding: 20px 24px 12px; border-top: 2px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); }
.menu-panel__all { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--rule); }
.menu-panel__all a { color: var(--accent); font-weight: 600; }

/* hero: the ground the logo sits on, navy, with the photograph as a blue duotone */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding: 104px 0 112px; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .7; }
.hero__media::before { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: multiply; opacity: .55; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, rgba(12,26,52,.72) 28%, rgba(12,26,52,.18) 100%), linear-gradient(180deg, rgba(12,26,52,0) 55%, var(--dark) 100%); }
.hero__inner { position: relative; z-index: 1; }
.hero__text { max-width: 660px; }
.hero__title { color: #fff; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 24px; max-width: 12ch; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.hero .btn--primary { background: #fff; border-color: #fff; color: var(--dark); }
.hero .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .link-more { color: var(--accent-soft); }
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero__media { width: 100%; }
  .hero__media img { opacity: .45; }
  .hero__media::after { background: linear-gradient(180deg, rgba(12,26,52,.82) 0%, rgba(12,26,52,.7) 60%, var(--dark) 100%); }
}
/* split hero (theme.json "hero_style": "split"): light ground, photograph beside the text */
.hero--split { background: var(--bg); color: var(--ink); padding: 72px 0 48px; }
.hero--split .hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero--split .hero__text { max-width: none; }
.hero--split .hero__title { color: var(--ink); }
.hero--split .lead { color: var(--text); }
.hero--split .eyebrow { color: var(--accent); }
.hero--split .btn--primary { background: var(--ink); border-color: var(--ink); color: var(--accent-ink); }
.hero--split .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero--split .link-more { color: var(--accent); }
.hero--split .hero__art { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius); }
.hero--split .hero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero--split { padding: 40px 0; } .hero--split .hero__inner { grid-template-columns: 1fr; gap: 32px; } }

/* featured */
.featured__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; }
.featured__lead { display: grid; gap: 20px; }
.featured__art { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.featured__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.featured__lead:hover .featured__art img { transform: scale(1.02); }
.featured__title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.featured__text { font-size: 17px; margin-bottom: 8px; }
.featured__list { display: grid; align-content: start; }
.featured__item { padding: 22px 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; }
.featured__item:last-child { border-bottom: 1px solid var(--rule); }
.featured__item h3 { font-size: 21px; line-height: 1.25; transition: color .2s; }
.featured__item:hover h3 { color: var(--accent); }
.featured__item .eyebrow { margin: 0; font-size: 11px; }
@media (max-width: 900px) { .featured__grid { grid-template-columns: 1fr; gap: 32px; } }

/* "how we work" band: pale, with the mark in navy at the edge */
.band { position: relative; background: var(--paper); color: var(--ink); padding: 96px 0; overflow: hidden; }
.band::after { background: var(--ink); opacity: .045; left: -9%; bottom: -36%; width: 36vw; max-width: 560px; }
.band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.band__intro h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.band__intro p { font-size: 18px; color: var(--text); max-width: 44ch; }
.band__points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.band__points li { border-top: 1px solid rgba(12,26,52,.18); padding-top: 16px; }
.band__n { font-family: var(--font-display); color: var(--accent); font-size: 14px; letter-spacing: .1em; }
.band__points h3 { font-size: 21px; margin: 8px 0; }
.band__points p { font-size: 15px; color: var(--text); margin: 0; }
@media (max-width: 900px) { .band__inner { grid-template-columns: 1fr; } .band__points { grid-template-columns: 1fr; } }

/* capabilities list */
.cap-list li { border-top: 1px solid var(--rule); }
.cap-list li:last-child { border-bottom: 1px solid var(--rule); }
.cap-list a { display: grid; grid-template-columns: 56px 1.1fr 1.6fr 40px; gap: 24px; align-items: center; padding: 26px 0; transition: background .2s; border-radius: var(--radius); }
.cap-list a:hover { background: var(--paper); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.cap-list__n { font-family: var(--font-display); color: var(--accent); font-size: 15px; letter-spacing: .08em; }
.cap-list__name { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.cap-list__short { color: var(--muted); font-size: 16px; }
.cap-list .arrow { color: var(--accent); font-size: 20px; }
@media (max-width: 800px) { .cap-list a { grid-template-columns: 40px 1fr 24px; } .cap-list__short { display: none; } }

/* impact */
.impact__card { display: grid; gap: 12px; }
.impact__art { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 8px; border-radius: var(--radius); }
.impact__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.impact__card:hover .impact__art img { transform: scale(1.03); }
.impact__card h3 { font-size: 22px; line-height: 1.25; }
.impact__card .eyebrow { margin: 0; }
.impact__stat { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.impact__stat .stat__n { font-size: 36px; }

/* research */
.research { position: relative; background: linear-gradient(120deg, var(--dark), var(--dark-2)); color: #fff; padding: 0; overflow: hidden; }
.research::after { right: -4%; bottom: -30%; width: 34vw; max-width: 520px; }
.research__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; padding: 0; max-width: none; }
.research__art { aspect-ratio: 4 / 3; }
.research__art img { width: 100%; height: 100%; object-fit: cover; }
.research__body { padding: 72px 8vw 72px 64px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.research__body .eyebrow { margin: 0; }
.research__body h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.research__body p { opacity: .9; font-size: 17px; max-width: 48ch; }
.research__body .btn { align-self: flex-start; border-color: #fff; color: #fff; }
.research__body .btn:hover { background: #fff; color: var(--dark); }
@media (max-width: 900px) { .research__inner { grid-template-columns: 1fr; } .research__body { padding: 40px 24px; } }

/* industries grid */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.ind-grid li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ind-grid a { display: grid; gap: 8px; padding: 28px 24px 28px; min-height: 180px; position: relative; transition: background .2s; }
.ind-grid a:hover { background: var(--paper); }
.ind-grid h3 { font-size: 22px; }
.ind-grid p { color: var(--muted); font-size: 15px; margin: 0; }
.ind-grid .arrow { position: absolute; right: 24px; bottom: 22px; color: var(--accent); }
@media (max-width: 900px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }

/* shared component skins */
.card__title { font-size: 22px; }
.card__art { border-radius: var(--radius); }
.card__cta { color: var(--accent); }
.btn { border-radius: var(--radius); letter-spacing: .01em; }
.btn--primary { background: var(--ink); border-color: var(--ink); }
.cta-band { background: linear-gradient(120deg, var(--dark), var(--dark-2)); }
.cta-band::after { right: -3%; top: -28%; width: 30vw; max-width: 480px; }
.cta-band__art { opacity: .32; }
.cta-band__art img { filter: grayscale(1); }
.cta-band .btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-band .btn--primary:hover { background: #fff; border-color: #fff; color: var(--dark); }
.page-hero--dark { background: linear-gradient(120deg, var(--dark), var(--dark-2)); }
.page-hero__title { font-size: clamp(38px, 5.2vw, 68px); }
.stat__n { color: var(--accent); }
.approach__n, .problem-list li::before { color: var(--accent); }
.offerings dt { font-size: 24px; }
.site-footer { background: var(--dark); }
.footer-col h4 { color: var(--accent-soft); opacity: 1; }
.site-footer a:hover { color: var(--accent-soft); text-decoration: none; }
.pull-quote p { font-size: 28px; }
.feature__title { font-weight: 500; }
.prose h2 { font-weight: 500; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tag:hover { border-color: var(--accent); color: var(--accent); }
.form input, .form select, .form textarea, .filter__input { border-radius: var(--radius); }
.person__avatar { border-radius: var(--radius); overflow: hidden; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* cards on a tinted section sit in white boxes, so they need an inner margin and a hairline */
.section--alt .card { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.section--alt .card__art { border-radius: 0; }
.section--alt .card__body { padding: 24px 26px 26px; }
.case-row__stat .stat__n { font-size: clamp(30px, 3.2vw, 46px); }

/* photography: black and white with the brand blue laid over it */
img[src*="photos/"] { filter: var(--photo-filter); }
.featured__art, .impact__art, .card__art, .feature__art, .case-row__art, .research__art, .article__banner, .hero--split .hero__art { position: relative; }
.featured__art::after, .impact__art::after, .card__art::after, .feature__art::after, .case-row__art::after, .research__art::after, .article__banner::after, .hero--split .hero__art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--photo-cast); mix-blend-mode: multiply; }
.article__banner::after { inset: 0 var(--gutter); }
.page-hero--dark .page-hero__art img { opacity: .9; }

/* cards and menus: hover tints */
.card:hover .card__title, .impact__card:hover h3, .featured__lead:hover .featured__title { color: var(--accent); transition: color .2s; }
.card__title, .impact__card h3, .featured__title { transition: color .2s; }
.ind-grid a:hover h3 { color: var(--accent); }
.link-list a .arrow { color: var(--accent); }
@media (max-width: 960px) {
  .nav { padding-bottom: var(--space-4); }
  .nav > li > a { font-size: 17px; }
  .nav > li > a::after { display: none; }
}
