/* JNA Consulting Group, LLC - legacy site (Duda rebuild)
   Tokens sampled directly from the original site's screenshots. */

:root {
  --red-top:      #7B1A13;   /* nav gradient start  */
  --red-bottom:   #BB3026;   /* nav gradient end    */
  --red-mid:      #99251D;
  --ink:          #1A1A1A;
  --ink-soft:     #3D3D3D;
  --rule:         #E4E4E4;
  --page:         #FFFFFF;
  --bar:          #000000;
  --accent:       #91231C;   /* subheads, names, inline links */

  --container:    1240px;
  --nav-h:        60px;

  --shadow-tile:  0 1px 2px rgba(0, 0, 0, .05), 0 1px 6px rgba(0, 0, 0, .04);
  --shadow-lift:  0 2px 4px rgba(0, 0, 0, .07), 0 6px 16px rgba(0, 0, 0, .07);
  --ease:         cubic-bezier(.2, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- header */

.site-header {
  background: #fff;
  text-align: center;
  padding: 14px 24px 12px;
}

.site-header .logo {
  display: inline-block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------- nav */

.site-nav {
  background: linear-gradient(180deg, var(--red-top) 0%, var(--red-bottom) 100%);
}

.site-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 24px;
  max-width: var(--container);
  min-height: var(--nav-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 42px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 0;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .2px;
  text-decoration: none;
  text-underline-offset: 5px;
  transition: opacity .18s var(--ease);
}

.site-nav a:hover          { opacity: .78; text-decoration: underline; }
.site-nav a:active         { opacity: .62; }
.site-nav a[aria-current]  { text-decoration: underline; }

.site-nav a:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 16px 34px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red-bottom) 0%, #791A13 100%);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-tile);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.btn:hover        { opacity: .92; transform: translateY(-1px); }
.btn:active       { opacity: 1;   transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--red-mid); outline-offset: 3px; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slides { position: absolute; inset: 0; z-index: -2; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero-slide.is-active { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, .12) 100%);
}

.hero-inner { width: 100%; padding-top: 40px; padding-bottom: 40px; }

.hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.hero p {
  margin: 0 0 30px;
  max-width: 612px;
  color: #fff;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

/* ------------------------------------------------------------- sections */

.section { padding: 46px 0 54px; }

.section-title {
  margin: 0 0 22px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.2px;
}

.page-title {
  margin: 0 0 26px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.3px;
}

.page-head { padding-top: 150px; }

.prose p {
  margin: 0 0 20px;
  color: #000;
  font-size: 17px;
  line-height: 1.53;
}

.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  margin: 32px 0 24px;
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
}

.prose h2:first-of-type { margin-top: 30px; }

.prose .page-title { margin-bottom: 2px; }
.prose .page-intro { margin-top: 0; }

.prose a,
.prose .lnk {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .18s var(--ease);
}

.prose a:hover  { opacity: .72; }
.prose a:active { opacity: .55; }

.prose a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.text-center { text-align: center; }

.prose h2.contact-title {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: -.3px;
}

.contact-block p { margin: 0; color: #585858; line-height: 1.55; }

/* ------------------------------------------------------------ card grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.card-grid.is-teaser { grid-template-columns: repeat(5, 1fr); }

.card-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 5px;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: var(--shadow-tile);
  cursor: zoom-in;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.card-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card-tile:active { transform: translateY(0); }

.card-tile:focus-visible {
  outline: 2px solid var(--red-mid);
  outline-offset: 2px;
}

.grid-actions { margin-top: 30px; text-align: center; }

/* -------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 64px;
  background: rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 34px;
  line-height: 1;
  padding: 12px 18px;
  cursor: pointer;
  opacity: .8;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.lightbox-close { top: 8px; right: 14px; font-size: 40px; }
.lightbox-nav.prev { left: 6px;  top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 6px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover { opacity: 1; transform: scale(1.08); }
.lightbox-nav:hover   { opacity: 1; }
.lightbox-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-nav.next:hover { transform: translateY(-50%) translateX(2px); }

.lightbox-caption {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 15px;
  opacity: .85;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: #fff;
  text-align: center;
  padding: 40px 24px 34px;
}

.site-footer .logo {
  display: inline-block;
  width: 100%;
  max-width: 352px;
}

.disclosure-bar {
  background: var(--bar);
  color: #fff;
  padding: 18px 24px 20px;
}

.disclosure-bar p {
  max-width: 1130px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
  text-align: center;
}

.disclosure-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .18s var(--ease);
}

.disclosure-bar a:hover  { opacity: .75; }
.disclosure-bar a:active { opacity: .6; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .site-nav ul { gap: 0 26px; }
  .site-nav a  { font-size: 15px; }
  .hero { min-height: 560px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.is-teaser { grid-template-columns: repeat(3, 1fr); }
  .page-head { padding-top: 56px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header .logo { max-width: 300px; }
  .site-nav ul { gap: 0 18px; padding: 6px 16px; }
  .site-nav a { font-size: 14px; padding: 6px 0; }
  .hero { min-height: 480px; }
  .hero h1 { max-width: none; }
  .hero p { font-size: 16px; }
  .card-grid,
  .card-grid.is-teaser { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 24px 12px 56px; }
  .lightbox-nav { font-size: 28px; }
  .section-title { font-size: 23px; }
  .page-title { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
