/* Shared chrome: Stratus-style fixed header — transparent on dark, white on light */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px max(32px, calc((100% - 1340px) / 2));
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

header .logo {
  margin-right: auto;
}

header .logo img {
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
  background: transparent;
  transition: color 160ms ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #fff;
  background: transparent;
}

.nav-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

/* Solid white header (over light page sections) */
header.is-light {
  color: #1a1a1a;
}

header.is-light .logo img {
  content: url('../assets/logo-praam-light.png');
  filter: none;
}

header.is-light nav a {
  color: #222;
}

header.is-light nav a:hover,
header.is-light nav a[aria-current="page"] {
  color: #000;
}

header.is-light .nav-cta {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, .55);
}

header.is-solid {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, .08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

/* The image-led home hero always uses white navigation before the sticky bar appears. */
body:has(.hero) header:not(.is-solid) .logo img {
  content: normal;
  filter: brightness(0) invert(1);
}

body:has(.hero) header:not(.is-solid) nav a,
body:has(.hero) header:not(.is-solid) nav a:hover,
body:has(.hero) header:not(.is-solid) nav a[aria-current="page"],
body:has(.hero) header:not(.is-solid) .nav-cta {
  color: #fff;
}

body:has(.hero) header:not(.is-solid) .nav-cta {
  border-color: rgba(255, 255, 255, .7);
}

/* Offering / industry grids */
.offer-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid #d6dfe3;
}

.offer-grid article,
.industry-grid article {
  padding: 28px 24px;
  border-left: 1px solid #d6dfe3;
  border-bottom: 1px solid #d6dfe3;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.offer-grid article:nth-child(4n + 1),
.industry-grid article:nth-child(4n + 1) {
  border-left: 0;
  padding-left: 0;
}

.offer-grid h3,
.industry-grid h3 {
  font-size: 22px;
  letter-spacing: -.04em;
  margin: 0 0 10px;
}

.offer-grid p,
.industry-grid p {
  color: #5e6972;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.offer-grid ul,
.industry-grid ul {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.offer-grid li,
.industry-grid li {
  font-size: 13px;
  color: #3a4550;
  padding: 6px 0;
  border-top: 1px solid #e4eaee;
}

.offer-grid li:first-child,
.industry-grid li:first-child {
  border-top: 0;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.value-strip article {
  padding: 22px 0 0;
  border-top: 1px solid #d6dfe3;
}

.value-strip b {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.value-strip p {
  margin: 0;
  font-size: 14px;
  color: #5e6972;
  line-height: 1.55;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.diff-grid ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.diff-grid li {
  padding: 12px 0;
  border-bottom: 1px solid #d6dfe3;
  font-size: 15px;
}

.diff-neg li::before {
  content: "✕ ";
  color: #b45353;
  font-weight: 700;
}

.diff-pos li::before {
  content: "✓ ";
  color: #0f8a6a;
  font-weight: 700;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid #d6dfe3;
}

.principle-grid article {
  padding: 28px 24px 0;
  border-left: 1px solid #d6dfe3;
  min-height: 180px;
}

.principle-grid article:first-child {
  border-left: 0;
  padding-left: 0;
}

.principle-grid h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.principle-grid p {
  margin: 0;
  color: #5e6972;
  font-size: 14px;
  line-height: 1.55;
}

.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;
}

footer {
  background: #2a2c2e;
  color: #c5c8cb;
  padding: 72px 0 28px;
  border-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-col h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-col h4 {
  margin: 28px 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-col > p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #b0b4b8;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer-chips span,
.footer-chips a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}

.footer-contact {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.footer-contact li {
  margin: 0 0 12px;
  font-size: 14px;
  color: #b0b4b8;
}

.footer-contact a {
  color: #d7dade;
  font-weight: 650;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-list a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.footer-list a:hover {
  color: #7dd3f5;
}

.footer-list span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8b9095;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #8b9095;
}

.to-top {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  background: #1f2123;
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
}

.to-top:hover {
  background: #35383a;
}

@media (max-width: 1000px) {
  .offer-grid,
  .industry-grid,
  .value-strip,
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-grid article:nth-child(4n + 1),
  .industry-grid article:nth-child(4n + 1) {
    border-left: 1px solid #d6dfe3;
    padding-left: 24px;
  }

  .offer-grid article:nth-child(2n + 1),
  .industry-grid article:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  header {
    padding: 14px 18px;
  }

  nav {
    display: none;
  }

  .footer-grid,
  .offer-grid,
  .industry-grid,
  .value-strip,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid article,
  .industry-grid article,
  .principle-grid article,
  .offer-grid article:nth-child(n),
  .industry-grid article:nth-child(n) {
    border-left: 0;
    padding-left: 0;
  }
}
