/* DPPM Project Management — contemporary minimalist redesign */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #14213d;
  --navy-light: #223a63;
  --ink: #1c2027;
  --muted: #626a78;
  --bg: #eef3f9;
  --card: #ffffff;
  --brass: #8a6440;
  --brass-dark: #6e5033;
  --border: #e6e4de;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(20, 33, 61, 0.08);
  --max-width: 2400px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

a { color: inherit; text-decoration: none; }

ul { padding: 0; margin: 0; list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 16px; color: var(--muted); }

.section {
  padding: 88px 0;
}

.section--tight { padding: 64px 0; }

.section--navy {
  background: var(--navy);
  color: #fff;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.72); }
.section--navy .eyebrow { color: var(--brass-light, #c9a06c); }

.section--card {
  background: var(--card);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--brass {
  background: var(--brass);
  color: #fff;
}
.btn--brass:hover { background: var(--brass-dark); }
.btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--navy-outline {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--navy-outline:hover { background: var(--navy); color: #fff; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { width: auto; height: 40px; }
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover, .nav__links a.active {
  border-bottom-color: var(--brass);
}
.nav__links a.nav__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  border-bottom: none !important;
  transition: background 0.2s ease;
}
.nav__links a.nav__cta:hover {
  background: var(--navy-light);
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height, 77px));
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20,33,61,0.78), rgba(20,33,61,0.88)), var(--hero-img-mobile) center/cover no-repeat;
  color: #fff;
}
@media (min-width: 768px) {
  .hero { background: linear-gradient(180deg, rgba(20,33,61,0.78), rgba(20,33,61,0.88)), var(--hero-img-desktop) center/cover no-repeat; }
}
.hero .wrap { padding-top: 60px; padding-bottom: 140px; }
.hero h1 { color: #fff; max-width: 1100px; }
.hero p.lede {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 900px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-header {
  background: var(--navy);
  color: #fff;
  padding: 100px 0 56px;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.72); max-width: 620px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.stat-card .label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Services */
.service-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--ink);
}
.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Milestone cards */
.milestone {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.milestone .date {
  font-weight: 700;
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}
.milestone p { margin: 0; color: var(--ink); font-size: 0.95rem; }

/* Testimonials */
.testimonial {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.testimonial p.quote {
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
}
.testimonial .who {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}
.testimonial .role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Client logos */
.client-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.client-strip img {
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.2s ease;
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
}
.lightbox-backdrop { display:none; position:fixed; inset:0; background:rgba(15,20,25,0.95); z-index:999; align-items:center; justify-content:center; }
.lightbox-backdrop.open { display:flex; }
.lightbox { position:relative; max-width:90vw; max-height:88vh; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.lightbox img { max-width:90vw; max-height:80vh; object-fit:contain; }
.lightbox-caption { color:#fff; text-align:center; margin-top:16px; font-size:0.95rem; max-width:70vw; }
.lightbox-caption a { color: var(--dppm-accent, #b1893e); text-decoration: underline; }
.lightbox-close { position:absolute; top:-44px; right:0; background:none; border:none; color:#fff; font-size:32px; line-height:1; cursor:pointer; }
.lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.12); border:none; color:#fff; font-size:36px; line-height:1; width:48px; height:48px; border-radius:50%; cursor:pointer; align-items:center; justify-content:center; display:flex; }
.lightbox-nav:hover { background:rgba(255,255,255,0.25); }
.lightbox-prev { left:-64px; }
.lightbox-next { right:-64px; }
@media (max-width: 768px) {
  .lightbox-prev { left:8px; }
  .lightbox-next { right:8px; }
}

/* Team */
.team-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.team-card img[src*="dennis-potts"] { object-position: center 15%; }
.team-card img[src*="richard-brakewood"] { object-position: center 10%; }
.team-card img[src*="john-johnson"] { object-position: center 10%; }
.team-card img[src*="steve-mandic"] { object-position: center 10%; }
.team-card img[src*="russ-mcdaniel"] { object-position: center 10%; }
.team-card img[src*="rocco-orlando"] { object-position: center 5%; }
.team-card img[src*="harry-topping"] { object-position: center 10%; }
.team-card img[src*="glenn-selvin"] { object-position: center 8%; }
.team-card .body { padding: 18px 20px 22px; }
.team-card h3 { margin-bottom: 4px; font-size: 1.02rem; }
.team-card p { font-size: 0.88rem; margin-bottom: 0; }

/* Project filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
  justify-content: space-between;
  gap: 24px;
}
.portfolio-item {
  width: 100%;
  max-width: 365px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}
.portfolio-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.portfolio-item img[src*="optum-health"] { object-position: center 70%; }
.portfolio-item .body { padding: 16px 18px; }
.portfolio-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.portfolio-item .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
}
.portfolio-item p { font-size: 0.88rem; margin: 6px 0 0; }
.portfolio-item[hidden] { display: none; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.location-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.85rem;
  font-weight: 600;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.contact-card h2 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-card p { color: rgba(255,255,255,0.78); margin-bottom: 6px; }
.contact-card a { color: #fff; font-weight: 600; border-bottom: 1px solid var(--brass); }

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 20px;
  background: var(--bg);
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.3em;
}
.form-status--success { color: #1b7a3d; }
.form-status--error { color: #b3261e; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-top img { height: auto; }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 28px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .stats, .client-strip, .contact-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .stats, .client-strip, .contact-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 36px 22px; }
}
