/* ═══════════════════════════════════════════════
   BIM Space — style.css
   Font: Inter only
   ═══════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:     #0F2044;
  --blue:     #1B4FD7;
  --sky:      #60A5FA;
  --arrow:    #A4B6F4;
  --white:    #ffffff;
  --offwhite: #F5F7FF;
  --text:     #0F2044;
  --muted:    #6b7a99;
  --border:   #e2e6f0;
}

html  { scroll-behavior: smooth; }
body  {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a   { text-decoration: none; }
img { display: block; max-width: 100%; }


/* ════════════════════════════
   HEADER
════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; }
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  /* FIX 6 — solid fallback if images don't load */
  background-color: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(9,18,44,0.30) 0%,
    rgba(9,18,44,0.55) 60%,
    rgba(9,18,44,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-left: 80px;
  max-width: 600px;
  text-align: left;
}

.hero-line {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.5px;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  cursor: pointer;
}
.scroll-hint-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}


/* ════════════════════════════
   PAGE CARDS
════════════════════════════ */
.explore {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* FIX 2 */
  gap: 3px;                               /* FIX 1 */
  background: var(--border);
}

/* Card shell — only handles scroll-in animation */
.page-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--navy);

  /* FIX 3 — scroll animation on the card itself, NO scale here */
  opacity: 0;
  translate: 0 28px;
  transition: opacity .55s ease, translate .55s ease;
}
.page-card.show {
  opacity: 1;
  translate: 0 0;
}

/* Stagger each card's entrance */
.page-card:nth-child(1) { transition-delay: 0s;    }
.page-card:nth-child(2) { transition-delay: 0.08s; }
.page-card:nth-child(3) { transition-delay: 0.16s; }
.page-card:nth-child(4) { transition-delay: 0.24s; }

/* Inner wrapper handles the zoom — completely separate from card */
.card-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 1.2s ease;
}
.page-card:hover .card-img { transform: scale(1.07); } /* FIX 3 — zoom works cleanly */

/* Individual images */
.card-expertise .card-img { background-image: url("images/expertise.jpg"); }
.card-about     .card-img { background-image: url("images/about.jpg");     }
.card-careers   .card-img { background-image: url("images/careers.jpg");   }
.card-contact   .card-img { background-image: url("images/contact.jpg");   }

/* Gradient overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(9,18,44,0.85) 0%,
    rgba(9,18,44,0.25) 55%,
    transparent 100%
  );
  transition: background .3s ease;
}
.page-card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(9,18,44,0.95) 0%,
    rgba(9,18,44,0.45) 60%,
    transparent 100%
  );
}

/* Label + arrow */
.card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.card-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}
.card-arrow {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  transition: transform .22s ease, color .22s ease;
}
.page-card:hover .card-arrow {
  transform: translateX(6px);
  color: var(--white);
}


/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
  background: var(--navy);
  padding: 72px 52px 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.footer-brand { max-width: 280px; }
.footer-logo .logo-text { color: var(--white); }

.footer-brand p {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  margin-bottom: 11px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}


/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 960px) {
  .explore { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #header { padding: 0 20px; }

  nav .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 12px 0 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  nav .nav-links.open { display: flex; }
  nav .nav-links li   { width: 100%; }
  nav .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
  }
  .nav-cta { margin: 16px 24px 0; text-align: center; }
  .hamburger { display: flex; }

  .hero-content { margin-left: 24px; }
  .hero-line    { font-size: clamp(22px, 6vw, 32px); }

  /* FIX 7 — single place for mobile card ratio */
  .explore    { grid-template-columns: 1fr; }
  .page-card  { aspect-ratio: 16 / 7; }

  footer { padding: 52px 24px 32px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-nav   { gap: 36px; }
}


/* ════════════════════════════════════════════════
   EXPERTISE PAGE — paste at the bottom of style.css
   ════════════════════════════════════════════════ */

/* ── Shared eyebrow label ── */
.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ── Active nav link ── */
.nav-active {
  color: var(--navy) !important;
  font-weight: 600 !important;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-animate {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn .75s ease .1s forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════
   PAGE HEADER
   Two-column: title left, description + stats right
════════════════════════════ */
.exp-page-header {
  margin-top: 68px;
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
}

.exp-page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.exp-page-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-top: 8px;
}

.exp-page-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 400;
}

.exp-meta-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.exp-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-meta-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.5px;
}

.exp-meta-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.exp-meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}


/* ════════════════════════════
   TOOLS BAR
════════════════════════════ */
.exp-tools-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 80px;
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.exp-tools-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.exp-tools-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.exp-tool {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.1px;
}


/* ════════════════════════════
   SERVICE CARDS
   Card layout: number + icon top, title, text, tags bottom
════════════════════════════ */
.exp-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--border);
}

.svc-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .25s;
  /* Stagger handled below */
}

/* Top row: number + icon */
.svc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.svc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.svc-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
  transition: transform .3s ease, color .25s;
  flex-shrink: 0;
}
.svc-icon svg { width: 100%; height: 100%; }

/* Bottom fill strip on hover */
.svc-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.svc-card:hover::after  { transform: scaleX(1); }
.svc-card:hover         { background: var(--offwhite); }
.svc-card:hover .svc-icon { transform: translateY(-3px); color: var(--navy); }
.svc-card:hover .svc-title { color: var(--blue); }

/* Remove last row bottom borders (bottom 4 cards) */
.svc-card:nth-child(n+5) { border-bottom: none; }

/* Text */
.svc-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color .25s;
}

.svc-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

/* Tags */
.svc-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.svc-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(27,79,215,0.07);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.2px;
}

/* Stagger reveal delays */
.svc-card:nth-child(1) { transition-delay: 0s;    }
.svc-card:nth-child(2) { transition-delay: 0.07s; }
.svc-card:nth-child(3) { transition-delay: 0.14s; }
.svc-card:nth-child(4) { transition-delay: 0.21s; }
.svc-card:nth-child(5) { transition-delay: 0.07s; }
.svc-card:nth-child(6) { transition-delay: 0.14s; }
.svc-card:nth-child(7) { transition-delay: 0.21s; }
.svc-card:nth-child(8) { transition-delay: 0.28s; }


/* ════════════════════════════
   SCOPE OF WORK
════════════════════════════ */
.exp-scope {
  padding: 80px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.exp-scope-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.exp-scope-left h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-top: 8px;
}

.exp-scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-scope-list li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.exp-scope-list li:last-child { border-bottom: none; }

.scope-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 7px;
}

.exp-scope-list strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.exp-scope-list p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}


/* ════════════════════════════
   BOTTOM CTA
════════════════════════════ */
.exp-cta {
  background: var(--navy);
  padding: 72px 80px;
}

.exp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.exp-cta-inner .page-eyebrow { color: var(--arrow); }

.exp-cta-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-top: 8px;
}

.btn-dark {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.btn-dark:hover {
  background: var(--offwhite);
  transform: translateY(-1px);
}


/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .exp-services { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(n+5) { border-bottom: 1px solid var(--border); }
  .svc-card:nth-child(n+7) { border-bottom: none; }
}

@media (max-width: 900px) {
  .exp-page-header       { padding: 48px 24px 40px; }
  .exp-page-header-inner { grid-template-columns: 1fr; gap: 32px; }
  .exp-tools-bar         { padding: 16px 24px; }
  .exp-services          { grid-template-columns: 1fr; border-left: none; }
  .svc-card              { border-right: none; padding: 28px 24px; }
  .svc-card:nth-child(n) { border-bottom: 1px solid var(--border); }
  .svc-card:last-child   { border-bottom: none; }
  .exp-scope             { padding: 52px 24px; }
  .exp-scope-inner       { grid-template-columns: 1fr; gap: 36px; }
  .exp-cta               { padding: 52px 24px; }
  .exp-cta-inner         { flex-direction: column; align-items: flex-start; gap: 28px; }
}



/* ════════════════════════════════════════════════
   ABOUT PAGE — paste at the bottom of style.css
   ════════════════════════════════════════════════ */


/* ════════════════════════════
   PAGE HEADER
════════════════════════════ */
.abt-header {
  margin-top: 68px;
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
}

.abt-header-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.abt-page-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -2px;
  margin-top: 10px;
}

.abt-header-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 400;
}
.abt-header-desc:last-child { margin-bottom: 0; }


/* ════════════════════════════
   ABOUT + IMAGE SPLIT
════════════════════════════ */
.abt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1px solid var(--border);
}

.abt-split-image {
  overflow: hidden;
  background: var(--offwhite);
  position: relative;
}
.abt-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.abt-split:hover .abt-split-image img {
  transform: scale(1.03);
}

.abt-split-content {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.abt-split-content h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-top: 8px;
  margin-bottom: 28px;
}

.abt-split-content p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.abt-split-content p:last-of-type { margin-bottom: 28px; }

.abt-sectors { margin-top: 8px; }

.abt-sectors-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.abt-sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.abt-sector-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--offwhite);
  letter-spacing: 0.1px;
}


/* ════════════════════════════
   HOW WE WORK (Process)
   Inspired by reference image:
   3 cards, large ghost number, rule, title, text
════════════════════════════ */
.abt-process {
  padding: 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.abt-process-header {
  margin-bottom: 52px;
}

.abt-process-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-top: 8px;
}

.abt-process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

/* Arrow between cards */
.process-arrow {
  font-size: 22px;
  color: var(--blue);
  padding: 0 20px;
  margin-top: 64px;
  opacity: 0.4;
}

/* Card */
.process-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  transition: border-color .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.process-card:hover {
  border-color: rgba(27,79,215,0.3);
  background: var(--offwhite);
}

.process-card-inner {
  padding: 36px 32px 32px;
  position: relative;
}

/* Large ghost number in the background */
.process-bg-num {
  position: absolute;
  bottom: -10px;
  right: 16px;
  font-size: 100px;
  font-weight: 800;
  color: rgba(27,79,215,0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: color .25s;
}
.process-card:hover .process-bg-num {
  color: rgba(27,79,215,0.1);
}

.process-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}
.process-title span {
  color: var(--blue);
}

.process-rule {
  width: 32px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 16px;
  border-radius: 2px;
  transition: width .3s ease;
}
.process-card:hover .process-rule { width: 56px; }

.process-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
  position: relative;
  z-index: 1;
}


/* ════════════════════════════
   PROJECT EXPERIENCE
════════════════════════════ */
.abt-projects {
  padding: 80px;
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
}

.abt-projects-header {
  margin-bottom: 52px;
}

.abt-projects-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-top: 8px;
}

.abt-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Each project row */
.project-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .25s;
}
.project-row:hover { border-color: rgba(27,79,215,0.25); }

/* Image */
.project-image {
  overflow: hidden;
  background: #c8d0e0;
  aspect-ratio: 4 / 3;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.project-row:hover .project-image img { transform: scale(1.04); }

/* Content */
.project-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.project-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.project-location {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.project-location::before {
  content: "/";
  margin-right: 12px;
  color: var(--border);
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--offwhite);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 3px;
}


/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .project-row { grid-template-columns: 260px 1fr; }
}

@media (max-width: 900px) {
  .abt-header       { padding: 48px 24px 40px; }
  .abt-header-inner { grid-template-columns: 1fr; gap: 28px; }

  .abt-split        { grid-template-columns: 1fr; }
  .abt-split-image  { aspect-ratio: 16 / 9; min-height: 260px; }
  .abt-split-content { padding: 40px 24px; }

  .abt-process      { padding: 52px 24px; }
  .abt-process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-arrow { display: none; }

  .abt-projects     { padding: 52px 24px; }
  .project-row      { grid-template-columns: 1fr; }
  .project-image    { aspect-ratio: 16 / 9; }
  .project-content  { padding: 28px 24px; }
}


/* ════════════════════════════════════════════════
   PORTFOLIO PAGE — paste at the bottom of style.css
   ════════════════════════════════════════════════ */


/* ── Page Header ── */
.pf-page-header {
  margin-top: 68px;
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
}

.pf-page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.pf-page-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -2px;
  margin-top: 10px;
}

.pf-page-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
}


/* ════════════════════════════
   PROJECT LIST
════════════════════════════ */
.pf-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-project {
  display: grid;
  grid-template-columns: 380px 1fr auto;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .22s;
  background: var(--white);
}
.pf-project:first-child { border-top: 1px solid var(--border); }
.pf-project:hover { background: var(--offwhite); }

/* Thumbnail */
.pf-project-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--offwhite);
  flex-shrink: 0;
}
.pf-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pf-project:hover .pf-project-thumb img { transform: scale(1.05); }

/* Hover overlay on thumb */
.pf-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,32,68,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.pf-project:hover .pf-thumb-overlay { opacity: 1; }

.pf-view-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 9px 20px;
  border-radius: 4px;
}

/* Info */
.pf-project-info {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pf-project-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  transition: color .2s;
}
.pf-project:hover .pf-project-title { color: var(--blue); }

.pf-project-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 18px;
  max-width: 560px;
}

/* Arrow button */
.pf-open-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 48px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  color: var(--navy);
}
.pf-open-btn svg { width: 20px; height: 20px; }
.pf-project:hover .pf-open-btn {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateX(4px);
}


/* ════════════════════════════
   LIGHTBOX (FIXED)
════════════════════════════ */

.lb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(9,18,44,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lb-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal */
.lb-modal {
  display: grid;
  grid-template-columns: 1fr 340px;
  width: 100%;
  max-width: 1200px;
  height: 85vh;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform .35s ease;
}
.lb-backdrop.open .lb-modal {
  transform: translateY(0);
}

/* Viewer */
.lb-viewer {
  position: relative;
  background: #0a1230;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 🔥 MAIN FIX (IMAGE) */
.lb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* FIXED */
  object-position: center;    /* CENTER ALWAYS */
  display: block;
  transition: opacity .25s ease;
}

.lb-image.switching {
  opacity: 0;
}

/* Arrows */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 2;
}
.lb-nav:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.05);
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* Counter */
.lb-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
}

/* Panel */
.lb-panel {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 1px solid var(--border);
  position: relative;
}

/* Close */
.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.lb-close:hover { background: var(--offwhite); }

/* Thumbnails */
.lb-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.lb-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.lb-thumb:hover {
  opacity: 0.85;
}

.lb-thumb.active {
  border-color: var(--blue);
  opacity: 1;
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1024px) {
  .pf-project { grid-template-columns: 280px 1fr auto; }
}

@media (max-width: 900px) {
  .pf-page-header       { padding: 48px 24px 40px; }
  .pf-page-header-inner { grid-template-columns: 1fr; gap: 20px; }

  .pf-project {
    grid-template-columns: 1fr;
    position: relative;
  }
  .pf-project-thumb { aspect-ratio: 16 / 9; }
  .pf-project-info  { padding: 24px; }
  .pf-open-btn      { position: absolute; bottom: 24px; right: 24px; margin-right: 0; }

  .lb-modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .lb-panel {
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: 280px;
  }
  .lb-thumbs { flex-direction: row; overflow-x: auto; }
  .lb-thumb  { width: 80px; flex-shrink: 0; }
}


/* ════════════════════════════════════════════════
   CONTACT PAGE — paste at the bottom of style.css
   ════════════════════════════════════════════════ */


/* ════════════════════════════
   PAGE HEADER
════════════════════════════ */
.ct-page-header {
  margin-top: 68px;
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.ct-page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.ct-page-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-top: 10px;
}

.ct-page-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
}


/* ════════════════════════════
   MAIN CONTACT SECTION
════════════════════════════ */
.ct-main {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 600px;
  border-top: 1px solid var(--border);
}


/* ── Left: Details ── */
.ct-details {
  padding: 64px 52px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--offwhite);
}

.ct-details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-contact-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.5;
}
.ct-contact-link:hover { color: var(--blue); }

.ct-contact-link-secondary {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.ct-contact-link-secondary:hover { color: var(--blue); }

.ct-address {
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
}

/* Social icon buttons */
.ct-socials {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.ct-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.ct-social-btn svg { width: 17px; height: 17px; }
.ct-social-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}


/* ── Right: Form ── */
.ct-form-wrap {
  padding: 64px 72px;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ct-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--navy);
  text-transform: uppercase;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #b0b8cc;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,215,0.08);
}

.ct-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ct-field textarea {
  resize: vertical;
  min-height: 130px;
}

/* Submit button */
.ct-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: background .2s, transform .15s;
}
.ct-submit svg { width: 18px; height: 18px; transition: transform .2s; }
.ct-submit:hover { background: var(--blue); transform: translateY(-1px); }
.ct-submit:hover svg { transform: translateX(4px); }
.ct-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success message */
.ct-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(27,79,215,0.06);
  border: 1px solid rgba(27,79,215,0.18);
  border-radius: 6px;
  padding: 16px 20px;
  color: var(--navy);
}
.ct-success.show { display: flex; }
.ct-success svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); }
.ct-success p { font-size: 14px; font-weight: 500; line-height: 1.5; }


/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 900px) {
  .ct-page-header       { padding: 48px 24px 40px; }
  .ct-page-header-inner { grid-template-columns: 1fr; gap: 20px; }

  .ct-main    { grid-template-columns: 1fr; }
  .ct-details { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .ct-form-wrap { padding: 40px 24px; }
  .ct-form-row  { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   CAREERS PAGE — paste at the bottom of style.css
   ════════════════════════════════════════════════ */

/* ── Page Header ── */
.cr-page-header {
  margin-top: 68px;
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
}

.cr-page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.cr-page-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-top: 10px;
}

.cr-page-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
}


/* ════════════════════════════
   JOB BOARD — two panel
════════════════════════════ */
.cr-board {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: calc(100vh - 280px);
  border-top: 1px solid var(--border);
}


/* ── Left: Job list ── */
.cr-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.cr-list-loading {
  padding: 48px 32px;
  font-size: 13.5px;
  color: var(--muted);
}

.cr-job-card {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .18s;
  position: relative;
}
.cr-job-card:hover    { background: var(--offwhite); }
.cr-job-card.selected { background: var(--offwhite); border-left: 3px solid var(--blue); }

.cr-job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cr-job-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  transition: color .18s;
}
.cr-job-card:hover .cr-job-title,
.cr-job-card.selected .cr-job-title { color: var(--blue); }

.cr-job-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(27,79,215,0.08);
  color: var(--blue);
  padding: 3px 9px;
  border-radius: 3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cr-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.cr-job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}
.cr-job-meta-item svg { width: 13px; height: 13px; }

.cr-job-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cr-job-posted {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

/* No jobs state */
.cr-no-jobs {
  padding: 52px 32px;
  text-align: center;
}
.cr-no-jobs svg { width: 40px; height: 40px; color: var(--border); margin: 0 auto 16px; }
.cr-no-jobs p { font-size: 14px; color: var(--muted); line-height: 1.6; }


/* ── Right: Job detail ── */
.cr-detail {
  overflow-y: auto;
}

.cr-detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 360px;
  gap: 12px;
  color: var(--border);
}
.cr-detail-empty svg { width: 48px; height: 48px; }
.cr-detail-empty p { font-size: 14px; color: var(--muted); }

/* Populated detail */
.cr-detail-inner { padding: 48px 56px; max-width: 760px; }

.cr-detail-head { margin-bottom: 32px; }

.cr-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cr-detail-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(27,79,215,0.25);
  padding: 4px 12px;
  border-radius: 4px;
}

.cr-detail-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.cr-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.cr-apply-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.cr-apply-btn:hover { background: var(--blue); transform: translateY(-1px); }
.cr-apply-btn:hover svg { transform: translateX(3px); }

.cr-detail-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.cr-detail-section { margin-bottom: 32px; }

.cr-detail-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.cr-detail-about {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

.cr-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-detail-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  align-items: flex-start;
}

.cr-detail-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 8px;
}


/* ════════════════════════════
   APPLICATION MODAL
════════════════════════════ */
.cr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9,18,44,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cr-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.cr-modal {
  background: var(--white);
  border-radius: 6px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(16px);
  transition: transform .3s ease;
  box-shadow: 0 24px 64px rgba(9,18,44,0.25);
}
.cr-modal-backdrop.open .cr-modal { transform: translateY(0); }

.cr-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cr-modal-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.cr-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.cr-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: background .2s;
}
.cr-modal-close:hover { background: var(--offwhite); }
.cr-modal-close svg { width: 14px; height: 14px; }

.cr-modal-body {
  overflow-y: auto;
  padding: 28px 32px 32px;
  flex: 1;
}

.cr-form { display: flex; flex-direction: column; gap: 18px; }

.cr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* File upload */
.cr-file-wrap { position: relative; }
.cr-file-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.cr-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px dashed var(--border);
  border-radius: 5px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--white);
}
.cr-file-label:hover { border-color: var(--blue); background: var(--offwhite); }
.cr-file-label svg { width: 16px; height: 16px; flex-shrink: 0; }

.cr-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.cr-form-note {
  font-size: 12px;
  color: var(--muted);
}

.req { color: #e53e3e; margin-left: 2px; }


/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 960px) {
  .cr-board { grid-template-columns: 1fr; }
  .cr-list  { border-right: none; border-bottom: 1px solid var(--border); }
  .cr-detail-inner { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .cr-page-header       { padding: 48px 24px 40px; }
  .cr-page-header-inner { grid-template-columns: 1fr; gap: 20px; }
  .cr-form-row  { grid-template-columns: 1fr; }
  .cr-modal     { max-height: 95vh; }
  .cr-modal-header,
  .cr-modal-body { padding-left: 24px; padding-right: 24px; }
}

/* ════════════════════════════════════════════════
   SERVICE PAGES — paste at the bottom of style.css
   Shared by all 8 service pages
   ════════════════════════════════════════════════ */

/* ── Page Header ── */
.sv-header {
  margin-top: 68px;
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.sv-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sv-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color .2s;
}
.sv-back svg { width: 16px; height: 16px; }
.sv-back:hover { color: var(--navy); }

.sv-page-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-top: 8px;
  margin-bottom: 0;
}

.sv-header-right {
  padding-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sv-header-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 400;
}

.sv-header-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.sv-header-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(27,79,215,0.07);
  border: 1px solid rgba(27,79,215,0.15);
  padding: 5px 13px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}


/* ── What We Cover ── */
.sv-cover {
  padding: 80px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sv-cover-left h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.sv-cover-left p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.sv-cover-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sv-cover-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.sv-cover-item:first-child { padding-top: 0; }
.sv-cover-item:last-child  { border-bottom: none; }

.sv-cover-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  padding-top: 2px;
  min-width: 24px;
  flex-shrink: 0;
}

.sv-cover-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.sv-cover-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}


/* ── Deliverables ── */
.sv-deliverables {
  padding: 80px;
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
}

.sv-deliverables h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-top: 8px;
  margin-bottom: 40px;
}

.sv-del-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.sv-del-card {
  background: var(--white);
  padding: 32px 28px;
  transition: background .22s;
}
.sv-del-card:hover { background: var(--navy); }
.sv-del-card:hover .sv-del-title { color: var(--white); }
.sv-del-card:hover .sv-del-text  { color: rgba(255,255,255,0.5); }
.sv-del-card:hover .sv-del-icon  { color: var(--sky); }

.sv-del-icon {
  color: var(--blue);
  margin-bottom: 16px;
  transition: color .22s;
}
.sv-del-icon svg { width: 28px; height: 28px; }

.sv-del-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color .22s;
}

.sv-del-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  transition: color .22s;
}


/* ── When You Need This ── */
.sv-when {
  padding: 80px;
  border-bottom: 1px solid var(--border);
}

.sv-when h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-top: 8px;
  margin-bottom: 32px;
}

.sv-when-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.sv-when-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.sv-when-list li:nth-last-child(-n+2) { border-bottom: none; }

.sv-when-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 8px;
}


/* ── Related Services ── */
.sv-related {
  padding: 80px;
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
}

.sv-related h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-top: 8px;
  margin-bottom: 32px;
}

.sv-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.sv-related-card {
  background: var(--white);
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .22s;
}
.sv-related-card:hover { background: var(--navy); }
.sv-related-card:hover .sv-related-title  { color: var(--white); }
.sv-related-card:hover .sv-related-arrow  { color: var(--sky); }
.sv-related-card:hover .sv-related-num    { color: rgba(255,255,255,0.35); }

.sv-related-num {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  transition: color .22s;
}

.sv-related-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
  transition: color .22s;
}

.sv-related-arrow {
  font-size: 16px;
  color: var(--blue);
  margin-top: 8px;
  transition: color .22s, transform .22s;
  display: inline-block;
}
.sv-related-card:hover .sv-related-arrow { transform: translate(3px, -3px); }


/* ── CTA ── */
.sv-cta {
  background: var(--navy);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sv-cta-left .page-eyebrow { color: var(--arrow); }

.sv-cta-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-top: 8px;
}

.sv-cta-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.btn-white-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.btn-white-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
}


/* ── Responsive ── */
@media (max-width: 960px) {
  .sv-del-grid      { grid-template-columns: 1fr 1fr; }
  .sv-related-grid  { grid-template-columns: 1fr 1fr; }
  .sv-when-list     { grid-template-columns: 1fr; }
  .sv-when-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .sv-when-list li:last-child           { border-bottom: none; }
}

@media (max-width: 768px) {
  .sv-header        { padding: 48px 24px 40px; }
  .sv-header-inner  { grid-template-columns: 1fr; gap: 28px; }
  .sv-header-right  { padding-top: 0; }
  .sv-cover         { padding: 52px 24px; grid-template-columns: 1fr; gap: 40px; }
  .sv-deliverables  { padding: 52px 24px; }
  .sv-del-grid      { grid-template-columns: 1fr; }
  .sv-when          { padding: 52px 24px; }
  .sv-related       { padding: 52px 24px; }
  .sv-related-grid  { grid-template-columns: 1fr; }
  .sv-cta           { padding: 52px 24px; flex-direction: column; align-items: flex-start; gap: 28px; }
}



/* ════════════════════════════
   NAV DROPDOWN
════════════════════════════ */

/* Trigger button — looks like a nav link */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  transition: color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.nav-active { color: var(--navy); }

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ── Dropdown Panel ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);   /* sits just below the header gap */
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 99;
  width: 580px;              /* fixed comfortable width for two columns */
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 48px rgba(15,32,68,0.13);

  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-inner {
  padding: 24px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 32px;
}

/* ── Columns ── */
.nav-dd-col { padding-bottom: 32px; }

.nav-dd-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(15,32,68,0.35);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.nav-dd-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dd-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background .18s, color .18s;
  margin: 0 -10px;
}
.nav-dd-link:hover {
  background: var(--offwhite);
  color: var(--navy);
}
.nav-dd-link:hover .nav-dd-icon {
  color: var(--blue);
}

.nav-dd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--offwhite);
  border-radius: 5px;
  flex-shrink: 0;
  color: var(--muted);
  transition: color .18s;
}
.nav-dd-icon svg {
  width: 14px;
  height: 14px;
}

/* ── Vertical Divider ── */
.nav-dd-divider {
  width: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Bottom CTA Strip ── */
.nav-dd-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.nav-dd-footer span {
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}

.nav-dd-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color .18s;
  letter-spacing: -0.1px;
}
.nav-dd-cta:hover { color: var(--navy); }

/* ── Active link style ── */
.nav-active {
  color: var(--navy) !important;
}

/* ── Overlay (click-outside to close) ── */
.nav-dd-overlay {
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 98;
  display: none;
}
.nav-dd-overlay.active { display: block; }

/* ── Mobile: hide dropdown on small screens, fallback to link ── */
@media (max-width: 960px) {
  .nav-dropdown { display: none; }
  .nav-chevron  { display: none; }
  .nav-dropdown-trigger {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
  }
}