/* ======================================================
   DevPsh — ENTERPRISE STABLE LAYOUT SYSTEM
   Deloitte-grade | 60–30–10 | Device-safe
   ====================================================== */

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont;
  font-size: 16px;
  color: #1f2937;
  background: #ffffff;
}

/* ================= COLOR SYSTEM ================= */
:root {
  --blue: #1f3f75;
  --orange: #ff7a00;

  /* STRONGER NEUTRAL STEPS (CLEAR SEPARATION) */
  --gray-0: #ffffff;
  --gray-1: #f2f5fa;   /* light section */
  --gray-2: #e4eaf4;   /* clear section break */
  --gray-3: #d1d9e6;   /* borders / dividers */

  --text-muted: #556173;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 38px;
  color: var(--blue);
  margin-bottom: 28px;
}

p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Editorial-only sizing */
.vision p,
.what-we-do p,
.insights p,
.people p {
  font-size: 18px;
  line-height: 1.85;
}

/* ================= LAYOUT ================= */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

main {
  margin-top: 72px;
}

section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--gray-3);
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  background: var(--blue);
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand-name {
  color: #fff;
  font-weight: 700;
}

/* ================= EXPLORE BUTTON ================= */
.nav-trigger {
  all: unset;
  cursor: pointer;
  padding: 12px 30px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  color: #fff;
  font-weight: 600;
  transition: all .25s ease;
}

.nav-trigger:hover {
  background: var(--orange);
}

/* ================= EXPLORE PANEL ================= */
.nav-panel {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--blue);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: all .35s ease;
  z-index: 900;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.explore-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 56px;
  padding: 88px 48px 96px;
}

.explore-column h3 {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--orange);
}

.explore-intro {
  font-size: 14px;
  color: #dbe4f3;
  margin: 16px 0 22px;
}

.explore-column a {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
}

.explore-column a:hover {
  color: var(--orange);
}

.explore-cta {
  margin-top: 20px;
  font-weight: 600;
  color: var(--orange) !important;
}

/* ================= HERO ================= */
.video-section {
  position: relative;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(31,63,117,.9),
    rgba(31,63,117,.97)
  );
}

.video-section .container {
  position: relative;
  z-index: 2;
}

.hero {
  padding: 180px 0 160px;
  color: #fff;
  border-top: none;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
}

.hero-description {
  max-width: 760px;
  color: #dbe4f3;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

/* ================= SECTION BACKGROUNDS ================= */
.vision {
  background: var(--gray-1);
}

.what-we-do {
  background: var(--gray-0);
}

.insights {
  background: var(--gray-2);
}

.people {
  background: var(--gray-0);
}

/* ================= GRIDS ================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

/* ================= CARDS ================= */
.card {
  background: #fff;
  padding: 40px;
  border-left: 4px solid transparent;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  transition: all .3s ease;
}

.card:hover {
  border-left-color: var(--orange);
  transform: translateY(-6px);
}

/* ================= PEOPLE ================= */
.person {
  background: var(--gray-1);
  padding: 38px;
  border-left: 4px solid var(--gray-3);
  transition: all .3s ease;
}

.person:hover {
  background: #fff;
  border-left-color: var(--orange);
  transform: translateY(-6px);
}

/* ================= CTA ================= */
.cta {
  padding: 160px 0;
  text-align: center;
  border-top: none;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #dbe4f3;
}

.cta-button {
  display: inline-block;
  padding: 18px 64px;
  background: var(--orange);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #0f2c57;
  padding: 36px 0;
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: #dbe4f3;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .explore-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  /* Make explore menu shorter on mobile */
  .nav-panel {
    max-height: 65vh;
  }

  /* Keep content compact */
  .explore-wrapper {
    grid-template-columns: 1fr 1fr; /* 2 columns = less height */
    gap: 20px;
    padding: 28px 18px 32px;        /* reduced padding */
  }

  .explore-column h3 {
    margin-bottom: 8px;
  }

  .explore-intro {
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 24px;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 36px;
  }
}
