  :root {
      --primary: #212d4b;
      --white: #ffffff;
      --off-white: #f7f7f5;
      --text: #212d4b;
      --muted: #5f6a7d;
      --line: rgba(33, 45, 75, 0.14);
      --line-strong: rgba(33, 45, 75, 0.22);
      --container: 1180px;
      --shadow: 0 18px 45px rgba(33, 45, 75, 0.08);
      --radius: 0px;
      --transition: 0.28s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Montserrat", sans-serif;
      background: var(--white);
      color: var(--text);
      line-height: 1.65;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .container {
      width: min(100% - 64px, var(--container));
      margin: 0 auto;
    }

    .section {
      padding: 110px 0;
    }
    .section + .section {
      border-top: 1px solid var(--line);
    }

    .section.alt {
      background: var(--off-white);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .section-header {
      max-width: 860px;
      margin-bottom: 56px;
      position: relative;
      padding-bottom: 24px;
    }

    .section-header::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 2px;
      background: var(--primary);
      opacity: 0.2;
    }
    .section-header p {
     max-width: 720px;
    } 

    .eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
   }

    h1, h2 {
      font-family: "Prata", serif;
      color: var(--primary);
      letter-spacing: 0.01em;
    }

    h3, h4, p, a, li, span, button, input, textarea, select, label {
      font-family: "Montserrat", sans-serif;
    }

    h1 {
      font-size: clamp(2.8rem, 5vw, 5.2rem);
      line-height: 1.12;
    }

    /* h1 only sits over photography in the hero bands; elsewhere it stays navy. */
    .hero h1 {
      color: var(--white);
    }

    /* Page title used where there is no hero band (partner profiles) */
    .page-title {
      font-size: clamp(1.8rem, 3vw, 2.85rem);
      line-height: 1.24;
      margin-bottom: 24px;
    }

    h2 {
      font-size: clamp(1.8rem, 3vw, 2.85rem);
      line-height: 1.24;
      margin-bottom: 24px;
    }

    h3 {
      font-size: 1.12rem;
      line-height: 1.4;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    p {
      color: var(--muted);
      font-size: 0.98rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 26px;
      border: 1px solid transparent;
      font-size: 0.92rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: var(--transition);
      cursor: pointer;
    }

    .btn-primary {
      background: var(--white);
      color: var(--primary);
      border-color: var(--white);
    }

    .btn-primary:hover {
      background: transparent;
      color: var(--white);
    }

    #cfSubmit:hover {
      background : var(--primary);
      color: var(--white);
    }

    .btn-secondary {
      background: transparent;
      color: var(--white);
      border-color: rgba(255,255,255,0.7);
    }

    .btn-secondary:hover {
      background: var(--white);
      color: var(--primary);
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255,255,255,0.96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

  .navbar {
    width: min(100% - 64px, 1360px);
    margin: 0 auto;
    max-height: none;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    margin-right: 48px;
    display: flex;
    align-items: center;
  }

  .logo-img {
    height: 240px;
    width: auto;
    object-fit: contain;
    display: block;
  }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      list-style: none;
    }

    .nav-links a {
      position: relative;
      color: var(--primary);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 0;
      height: 1px;
      background: var(--primary);
      transition: var(--transition);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .menu-toggle {
      display: none;
      border: none;
      background: transparent;
      color: var(--primary);
      font-size: 1.8rem;
      cursor: pointer;
    }

    .hero {
      position: relative;
      min-height: calc(100vh - 94px);
      display: flex;
      align-items: center;
      background:
        url('assets/hero(2).jpg') center/cover no-repeat;
      border-bottom: 1px solid rgba(255,255,255,0.12);
    }
 
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right, rgba(33,45,75,0.9) 0%, rgba(33,45,75,0.82) 44%, rgba(33,45,75,0.58) 100%);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 56px 56px;
      opacity: 0.18;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: none;
      padding: 130px 0 110px;
    }

    .hero-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
      gap: 48px;
      align-items: end;
    }

    .hero-copy {
      max-width: 760px;
      padding-left: 30px;
    }

    .hero .eyebrow {
      color: rgba(255,255,255,0.82);
    }

    .hero p {
      max-width: 700px;
      margin: 24px 0 34px;
      color: rgba(255,255,255,0.84);
      font-size: 1rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 34px;
    }

    .hero-side {
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(14px);
      padding: 34px 32px;
      margin-right: 20px;
    }

    .hero-side-label {
      display: inline-block;
      margin-bottom: 18px;
      color: rgba(255,255,255,0.74);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .hero-side h3 {
      margin-bottom: 14px;
      color: var(--white);
      font-size: 1.08rem;
      letter-spacing: 0.08em;
    }

    .hero-side p {
      margin: 0 0 22px;
      color: rgba(255,255,255,0.74);
      font-size: 0.94rem;
    }

    .hero-summary {
      display: flex;
      flex-direction: column;
      border-top: 1px solid rgba(255,255,255,0.18);
    }

    .summary-item {
      padding: 18px 0;
      border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .summary-item:last-child {
      border-bottom: none;
    }

    .summary-item strong {
      display: block;
      margin-bottom: 8px;
      color: var(--white);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .summary-item span {
      color: rgba(255,255,255,0.76);
      font-size: 0.94rem;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: start;
    }
    .section-header,
    .services-grid,
    .values-grid,
    .insights-grid,
    .faq-list,
    .contact-info {
     position: relative;
      z-index: 2;
    }

    .panel,
    .service-card,
    .value-card,
    .insight-card,
    .faq-item,
    .contact-card {
      background: var(--white);
      border: 1px solid var(--line);
    }

    .service-card:hover,
    .insight-card:hover,
    .value-card:hover {
      background-color: #212d4b;
      color: #ffffff;
      border-color: #212d4b;
    }

    .service-card:hover p,
    .service-card:hover h3,
    .insight-card:hover p,
    .insight-card:hover h3,
    .value-card:hover p,
    .value-card:hover h3,
    .service-card:hover .service-number,
    .insight-card:hover .insight-number,
    .value-card:hover strong {
      color: #ffffff;
    }

    .panel {
      padding: 42px;
    }

    .about-note {
      background: var(--primary);
      color: var(--white);
      min-height: 100%;
      padding: 42px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .about-note h3 {
      color: var(--white);
      text-transform: none;
      letter-spacing: 0;
      font-size: 1.5rem;
      font-family: "Prata", serif;
      margin-bottom: 18px;
    }

    .about-note p,
    .about-note li {
      color: rgba(255,255,255,0.82);
    }

    .details-list {
      display: grid;
      gap: 18px;
      margin-top: 26px;
      list-style: none;
    }

    .details-list li {
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,0.16);
    }

    .details-list strong {
      display: block;
      margin-bottom: 6px;
      color: var(--white);
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .services {
      background: var(--off-white);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .services-grid,
    .insights-grid,
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 10px;
    }

    .service-card,
    .insight-card,
    .value-card {
      padding: 34px 30px;
      transition: var(--transition);
    }

    .service-card:hover,
    .insight-card:hover,
    .value-card:hover {
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
      transform: translateY(-3px);
    }

    .service-number,
    .insight-number {
      display: inline-block;
      margin-bottom: 18px;
      color: var(--primary);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      opacity: 0.6;
    }

    .service-link,
    .insight-link {
      display: inline-block;
      margin-top: 10px;
      color: var(--primary);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .values-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .value-card strong {
      display: block;
      margin-bottom: 10px;
      color: var(--primary);
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .faq-wrap {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 34px;
      align-items: start;
    }

    .faq-list {
      display: grid;
      gap: 16px;
    }

    .faq-item {
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      border: none;
      background: var(--white);
      padding: 24px 26px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      text-align: left;
      cursor: pointer;
      color: var(--primary);
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .faq-icon {
      font-size: 1.35rem;
      transition: var(--transition);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.32s ease;
      padding: 0 26px;
    }

    .faq-answer p {
      padding-bottom: 24px;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    .contact-section {
      background: var(--primary);
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 0.88fr 1.12fr;
      gap: 34px;
    }

    .contact-info {
      color: var(--white);
      padding: 12px 0;
    }

    .contact-info .eyebrow,
    .contact-info h2,
    .contact-info p,
    .contact-info li {
      color: var(--white);
    }

    .contact-info p {
      color: rgba(255,255,255,0.82);
    }

    .contact-info ul {
      list-style: none;
      display: grid;
      gap: 18px;
      margin-top: 34px;
    }

    .contact-info li {
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,0.16);
    }

    .contact-info strong {
      display: block;
      margin-bottom: 6px;
      font-size: 0.86rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.72);
    }

    .contact-card {
      padding: 40px;
      background: var(--white);
    }

    .contact-form {
      display: grid;
      gap: 16px;
      margin-top: 18px;
    }

    .input-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid var(--line);
      background: var(--white);
      color: var(--primary);
      padding: 15px 16px;
      font-size: 0.95rem;
      outline: none;
      transition: var(--transition);
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--primary);
    }

    textarea {
      min-height: 160px;
      resize: vertical;
    }

    .form-note,
    .form-message {
      font-size: 0.9rem;
    }

    .form-message.success {
      color: #0c7a3a;
    }

    .form-message.error {
      color: #b42318;
    }

    .site-footer {
      background: var(--white);
      border-top: 1px solid var(--line);
      padding: 28px 0;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer-left {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .footer-logo {
      height: 87px;
      width: auto;
      object-fit: contain;
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: var(--primary);
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: 0.7s ease;
    }

    .reveal.show {
      opacity: 1;
      transform: translateY(0);
    }

    .container,
    .faq-wrap,
    .contact-wrap {
      position: relative;
    }

    .section-header,
    .services-grid,
    .values-grid,
    .insights-grid,
    .faq-list,
    .contact-info,
    .grid-2 {
      position: relative;
      z-index: 2;
    }

    @media (max-width: 1100px) {
      .services-grid,
      .insights-grid,
      .values-grid,
      .grid-2,
      .faq-wrap,
      .contact-wrap {
        grid-template-columns: 1fr 1fr;
      }

      .values-grid {
         grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        }
    }
  
    @media (max-width: 860px) {
      .menu-toggle {
        display: block;
      }

      .nav-links {
        position: absolute;
        top: 94px;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: var(--transition);
      }

      .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

      .grid-2,
      .services-grid,
      .insights-grid,
      .values-grid,
      .faq-wrap,
      .contact-wrap,
      .input-row,
      .hero-layout {
        grid-template-columns: 1fr;
      }

      .section {
        padding: 84px 0;
      }

      .panel,
      .contact-card,
      .about-note,
      .service-card,
      .insight-card,
      .value-card,
      .hero-side {
        padding: 30px 24px;
      }

      .hero {
        min-height: auto;
      }

      .hero-content {
        padding: 96px 0;
      }
  }
  /* Highlights Hub */
.legal-hub .section-header {
  display: block;
  max-width: 100%;
}

.hub-toolbar {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.hub-search-wrap {
  width: 100%;
}

.hub-search-input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.hub-search-input:focus {
  border-color: var(--primary);
}

.hub-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hub-filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}

.hub-filter-btn.active,
.hub-filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.hub-section-head {
  margin-bottom: 24px;
}

.hub-section-head h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.hub-featured-section {
  margin-bottom: 56px;
}

.hub-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hub-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hub-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  transition: var(--transition);
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hub-card-featured {
  background: linear-gradient(to bottom right, rgba(33,45,75,0.04), rgba(33,45,75,0.01));
  border: 1px solid rgba(33, 45, 75, 0.22);
}

.hub-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-card h3,
.hub-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.hub-card h3 {
  font-size: 1.25rem;
}

.hub-card h4 {
  font-size: 1rem;
}

.hub-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.hub-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.hub-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.hub-topic-tag {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(33,45,75,0.06);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-read-time {
  color: var(--muted);
  font-size: 0.74rem;
}

.hub-empty-state {
  padding: 44px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.hub-empty-state h3 {
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.hub-empty-state p {
  margin-bottom: 0;
}

/* mobile */
@media (max-width: 1100px) {
  .hub-featured-grid,
  .hub-articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hub-featured-grid,
  .hub-articles-grid {
    grid-template-columns: 1fr;
  }

  .hub-card,
  .hub-card-featured {
    padding: 24px;
  }

  .hub-card-meta,
  .hub-card-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}
/*all */
.hero-page {
  position: relative;
  min-height: clamp(380px, 52vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-repeat: no-repeat;
  opacity: 1;
  transform: scale(1);
}

/* Values page specific styles  */
.hero-values {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/sunset.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0 center;
}
/* overlay */
.hero-values::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background: linear-gradient(
    to right,
    rgba(33,45,75,0.85) 0%,
    rgba(33,45,75,0.65) 40%,
    rgba(33,45,75,0.3) 70%,
    rgba(33,45,75,0) 100%
  );

  z-index: 1;
}

/* Structure page specific styles */
.hero-structure {
  background-image: url("assets/structure.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0;
}

.hero-structure::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.98;
  background: linear-gradient(
    to right,
    rgba(33,45,75,0.82) 0%,
    rgba(33,45,75,0.58) 38%,
    rgba(33,45,75,0.22) 68%,
    rgba(33,45,75,0) 100%
  );
  z-index: 1;
}

/* Overview page specific styles */
.hero-overview {
  background-image: url("assets/overview.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 0 center;
}

.hero-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.98;
  background: linear-gradient(
    to right,
    rgba(33,45,75,0.84) 0%,
    rgba(33,45,75,0.62) 36%,
    rgba(33,45,75,0.24) 66%,
    rgba(33,45,75,0) 100%
  );
  z-index: 1;
}

/* Positioning page specific styles */
.hero-positioning {
  background-image: url("assets/positioning.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0 top 0;
}

.hero-positioning::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background: linear-gradient(
    to right,
    rgba(33,45,75,0.85) 0%,
    rgba(33,45,75,0.6) 35%,
    rgba(33,45,75,0.25) 65%,
    rgba(33,45,75,0) 100%
  );
  z-index: 1;
}

/* contact*/

.hero-contact {
  position: relative;
  min-height: 65vh;
  max-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;

  background-image: url("assets/contact.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-contact::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(10,15,30,0.85) 0%,
    rgba(10,15,30,0.6) 40%,
    rgba(10,15,30,0.3) 70%,
    rgba(10,15,30,0.1) 100%
  );

  z-index: 1;
}

.hero-contact::after {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0.06;

  background-image:
    radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, white 1px, transparent 1px);

  background-size: 120px 120px;

  z-index: 2;
}

.hero-contact > * {
  position: relative;
  z-index: 3;
}

/* Our People page */
.hero-people {
  min-height: 65vh;
  max-height: 700px;
  background-image: url("assets/people.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

.hero-people::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;

  background: linear-gradient(
    to right,
    rgba(33,45,75,0.9) 0%,
    rgba(33,45,75,0.65) 40%,
    rgba(33,45,75,0.25) 75%,
    rgba(33,45,75,0) 100%
  );

  z-index: 1;
}

/* small polish */
nav a {
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

a[href*="wa.me"] {
  text-decoration: underline;
}
a[href^="mailto"] {
  text-decoration: underline;
}


/* ===== Interior hero framing =====
   Every hero photo is 1536x1024 (3:2), so the band above is sized close to that
   shape and `cover` crops it gently. The previous `background-size: 100% auto`
   forced the photo to viewport width, making it 1280px tall inside a 700px
   window — only half the image was visible, upscaled.
   Framing is set here rather than per page: script.js only moves the
   --hero-shift-* vars, so parallax can no longer overwrite background-position
   the way an inline style did. */
.hero-values,
.hero-structure,
.hero-overview,
.hero-positioning,
.hero-contact,
.hero-people,
.hero-highlights {
  background-color: var(--primary);
  background-size: cover;
  background-position:
    calc(50% + var(--hero-shift-x, 0px))
    calc(50% + var(--hero-shift-y, 0px));
}
/* ===== 2026 upgrade additions ===== */

/* Single-anchor people cards */
.card-link {
  display: block;
  color: inherit;
}

/* Live news status line under the Highlights header */
.hub-live-status {
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hub-live-status.live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: #0c7a3a;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Live news cards are anchors */
a.hub-card {
  display: block;
  color: inherit;
}

a.hub-card:hover h3,
a.hub-card:hover h4 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Contact form card sits on the navy contact section */
.contact-card .eyebrow {
  margin-bottom: 4px;
}

.contact-card h3 {
  margin-bottom: 14px;
}

.contact-form .btn {
  justify-self: start;
  cursor: pointer;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ===== Certainty Architecture identity ===== */

/* .hero p is more specific than a bare .hero-slogan, so scope it to win. */
.hero .hero-slogan {
  margin: 20px 0 0;
  max-width: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* Text inside the interior hero bands */
.hero-page .hero-content {
  position: relative;
  z-index: 3;
  padding: 0;
}

.hero-page h1 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.4vw, 3.3rem);
}

.hero-page .eyebrow {
  margin-bottom: 16px;
}

.hero-highlights {
  background-image: url("assets/conference-room.jpg");
}

.hero-highlights::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(33, 45, 75, 0.9) 0%,
    rgba(33, 45, 75, 0.68) 42%,
    rgba(33, 45, 75, 0.32) 72%,
    rgba(33, 45, 75, 0.12) 100%
  );
  z-index: 1;
}

/* Slogan under the footer logo */
.footer-slogan {
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.slogan-line {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Credential line under each perspective title (card hover turns it white
   via the existing .service-card:hover p rule). */
.perspective-role {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Our People: two founders on the top row, Nourhan centred beneath them —
   without widening the cards. A 6-column track lets each card span 2 columns,
   which works out to exactly the same width as the original 3-column grid
   ((W - 2*gap)/3), so only the placement changes, not the card size. */
@media (min-width: 1101px) {
  .insights-grid--people {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .insights-grid--people .insight-card:nth-child(1) {
    grid-column: 2 / span 2;
    grid-row: 1;
  }

  .insights-grid--people .insight-card:nth-child(2) {
    grid-column: 4 / span 2;
    grid-row: 1;
  }

  .insights-grid--people .insight-card:nth-child(3) {
    grid-column: 3 / span 2;
    grid-row: 2;
  }
}

/* Tablet keeps the site's usual 2-up card width; Nourhan just centres below. */
@media (min-width: 861px) and (max-width: 1100px) {
  .insights-grid--people .insight-card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    margin: 0 auto;
  }
}
