/* Collins Development Group — Flagship Institutional Navy & White Edition v0.6 */
:root {
  --navy-950: #071121;
  --navy-900: #0c1b33;
  --navy-800: #13294b;
  --navy-700: #1b3b6b;
  --steel-600: #254b85;
  --steel-500: #3563a8;
  --ice-400: #93c5fd;
  --ice-300: #bfdbfe;
  --on-navy: #c9d3e3;
  --slate-900: #0f172a;
  --slate-800: #1a2230;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #5b6b82;
  --slate-300: #c9d0da;
  --slate-200: #e2e8f0;
  --slate-100: #f2f4f7;
  --ivory: #f8fafc;
  --white: #ffffff;
  --max-w: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(12, 27, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 27, 51, 0.10);
  --shadow-lg: 0 20px 50px rgba(7, 17, 33, 0.30);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100% !important;
}

body {
  font-family: 'Source Sans 3', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-800);
  background-color: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

#cdg-app-root {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* Top statutory credential bar */
.topbar {
  background: var(--navy-900);
  color: var(--on-navy);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(201, 211, 227, 0.16);
  padding: 9px 0;
  letter-spacing: 0.015em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 59, 107, 0.55);
  color: var(--white);
  border: 1px solid rgba(147, 197, 253, 0.42);
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.topbar a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s;
}
.topbar a:hover {
  color: var(--ice-400);
}
.topbar-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(147, 197, 253, 0.14);
  border: 1px solid rgba(147, 197, 253, 0.38);
  color: var(--white) !important;
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.73rem;
}
.topbar-linkedin:hover {
  background: rgba(147, 197, 253, 0.26);
  color: var(--white) !important;
}
.sep {
  color: rgba(201, 211, 227, 0.28);
}

/* Primary Navigation — Exact Institutional Navy & White Header & Logo from v0.4 */
.navbar {
  background: var(--navy-800);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--navy-700);
  box-shadow: 0 4px 18px rgba(7, 17, 33, 0.22);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 18px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.brand-mark {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  padding: 9px 15px 9px 18px;
  color: var(--white);
  background: linear-gradient(145deg, #1b3b6b 0%, #0c1b33 100%);
  border: 1px solid rgba(201, 211, 227, 0.48);
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-name {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: none;
  color: var(--white);
  line-height: 1.22;
}
.brand-sub {
  font-family: 'Source Sans 3', 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--on-navy);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  line-height: 1.35;
  margin-top: 3px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  color: var(--on-navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  background: var(--white);
  color: var(--navy-800) !important;
  font-weight: 700 !important;
  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid var(--white);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}

/* Hero Section with Full-Bleed Architectural Background */
.hero {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(105deg, rgba(7, 17, 33, 0.94) 0%, rgba(19, 41, 75, 0.88) 54%, rgba(12, 27, 51, 0.76) 100%),
    url('https://static.wixstatic.com/media/c1cff7_3db2686538b4498e838dcc13ccfaff1a~mv2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 76px 0 64px;
  border-bottom: 4px solid var(--navy-700);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 59, 107, 0.55);
  border: 1px solid rgba(201, 211, 227, 0.38);
  color: var(--ice-300);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 span {
  color: var(--ice-300);
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--slate-200);
  margin-bottom: 26px;
  max-width: 680px;
  line-height: 1.68;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 211, 227, 0.26);
  color: var(--white);
  padding: 7px 13px;
  border-radius: 3px;
  font-size: 0.81rem;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-primary {
  background: var(--white);
  color: var(--navy-800);
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s;
  border: 1px solid var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}
.enquiry-form .btn-primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.enquiry-form .btn-primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
}
.btn-secondary {
  background: rgba(12, 27, 51, 0.55);
  color: var(--white);
  border: 1px solid rgba(201, 211, 227, 0.42);
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary:hover {
  background: rgba(27, 59, 107, 0.65);
  border-color: var(--white);
}

/* Hero Right Executive Summary Card */
.hero-card {
  background: rgba(12, 27, 51, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 211, 227, 0.34);
  border-top: 3px solid var(--ice-400);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(201, 211, 227, 0.18);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.hero-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 700;
}
.hero-card-badge {
  background: rgba(27, 59, 107, 0.75);
  color: var(--ice-300);
  border: 1px solid rgba(147, 197, 253, 0.42);
  font-size: 0.71rem;
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.hc-row {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201, 211, 227, 0.1);
  font-size: 0.83rem;
  align-items: baseline;
}
.hc-row:last-of-type {
  border-bottom: none;
}
.hc-label {
  color: var(--on-navy);
  font-weight: 500;
}
.hc-val {
  color: var(--white);
  font-weight: 600;
  text-align: left;
  line-height: 1.45;
}
.hc-val a {
  color: var(--ice-300);
  text-decoration: none;
}
.hc-val a:hover {
  text-decoration: underline;
}

/* Visual Preview Strip inside Hero */
.hero-visual-strip {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(7, 17, 33, 0.82);
  border: 1px solid rgba(201, 211, 227, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}
.strip-thumb {
  width: 68px;
  height: 50px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid rgba(201, 211, 227, 0.42);
  flex-shrink: 0;
}
.strip-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.strip-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ice-300);
  font-weight: 700;
}
.strip-title {
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
}

/* Section Scaffolding */
section {
  padding: 76px 0;
}
.section-header {
  margin-bottom: 42px;
}
.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-800);
  background: #e6edf7;
  border: 1px solid #c5d4eb;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  color: var(--navy-800);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.22;
}
.section-sub {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 820px;
}

/* 3 Core Discipline Visual Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.discipline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-300);
  border-top: 3px solid var(--navy-800);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.discipline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12, 27, 51, 0.14);
}
.card-media {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: var(--navy-900);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.discipline-card:hover .card-media img {
  transform: scale(1.04);
}
.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,33,0.18) 0%, rgba(7,17,33,0.80) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
}
.card-stream-num {
  align-self: flex-start;
  background: rgba(19, 41, 75, 0.92);
  color: var(--white);
  border: 1px solid rgba(201, 211, 227, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-media-caption {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.card-body {
  padding: 26px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.91rem;
  color: var(--slate-600);
  margin-bottom: 18px;
}
.card-list {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}
.card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: var(--slate-700);
  line-height: 1.5;
}
.card-list li::before {
  content: "▪";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--navy-700);
  font-weight: bold;
}
.card-footer-tag {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.scope-note {
  margin-top: 28px;
  background: var(--navy-800);
  color: var(--slate-200);
  border-left: 4px solid var(--ice-400);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  line-height: 1.6;
}
.scope-note strong {
  color: var(--white);
}

/* Visual Sector Showcase + Institutional Track Record */
.bg-white {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-300);
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-card:hover img {
  transform: scale(1.04);
}
.gallery-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7,17,33,0.15) 0%, rgba(12,27,51,0.74) 45%, rgba(7,17,33,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px 16px;
  color: var(--white);
  min-height: 100%;
}
.gallery-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ice-300);
  font-weight: 700;
  margin-bottom: 4px;
}
.gallery-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
  color: var(--white);
}
.gallery-sub {
  font-size: 0.77rem;
  color: var(--slate-200);
  line-height: 1.4;
}

/* Track Record Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}
table.inst-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  text-align: left;
  font-size: 0.89rem;
}
table.inst-table th {
  background: var(--navy-800);
  color: var(--white);
  font-weight: 700;
  padding: 14px 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
table.inst-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
  vertical-align: top;
}
table.inst-table tr:last-child td {
  border-bottom: none;
}
table.inst-table tr:nth-child(even) td {
  background: var(--slate-100);
}
.proj-name {
  font-weight: 700;
  color: var(--navy-800);
}
.sector-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #e6edf7;
  color: var(--navy-800);
  border: 1px solid #c5d4eb;
}

/* Principal Leadership Profile */
.principal-box {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 211, 227, 0.3);
  border-top: 4px solid var(--navy-700);
}
.principal-box h3 {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
}
.principal-creds {
  color: var(--ice-300);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.principal-bio {
  color: var(--slate-200);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.cred-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cred-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 211, 227, 0.22);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.cred-badge-label {
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ice-300);
  font-weight: 700;
}
.cred-badge-val {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 600;
  margin-top: 2px;
}
.cred-badge-val a {
  color: var(--ice-300);
  text-decoration: none;
}
.cred-badge-val a:hover {
  text-decoration: underline;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat-card {
  background: rgba(7, 17, 33, 0.65);
  border: 1px solid rgba(201, 211, 227, 0.28);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  text-align: center;
}
.stat-num {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--on-navy);
  line-height: 1.35;
}

/* Governance & Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.gov-panel {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.gov-panel h3 {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 1.24rem;
  color: var(--navy-800);
  margin-bottom: 16px;
  font-weight: 700;
}
.gov-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.87rem;
  align-items: baseline;
}
.gov-row:last-child {
  border-bottom: none;
}
.gov-key {
  color: var(--slate-600);
  font-weight: 600;
}
.gov-val {
  color: var(--navy-800);
  font-weight: 700;
  text-align: left;
  line-height: 1.48;
}
.gov-val a {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gov-val a:hover {
  color: var(--steel-500);
}

.enquiry-form {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.enquiry-form h3 {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 1.26rem;
  color: var(--navy-800);
  margin-bottom: 6px;
  font-weight: 700;
}
.enquiry-form p {
  font-size: 0.87rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--slate-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 13px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--slate-900);
  background: var(--ivory);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
}

/* Footer */
footer {
  background: var(--navy-900);
  color: var(--on-navy);
  padding: 46px 0 32px;
  border-top: 4px solid var(--navy-700);
  font-size: 0.84rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 211, 227, 0.14);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.footer-links a {
  color: var(--ice-300);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--on-navy);
  opacity: 0.8;
}

/* Tablet & Mobile Responsive Rules */
@media (max-width: 1150px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .principal-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards-3 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-visual-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .topbar {
    font-size: 0.73rem;
    padding: 8px 0;
  }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .topbar-left, .topbar-right {
    gap: 8px;
  }
  .nav-links {
    display: none;
  }
  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    gap: 11px;
    flex: 1 1 100%;
  }
  .brand-mark {
    font-size: 21px;
    letter-spacing: 2px;
    padding: 7px 11px 7px 13px;
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    white-space: normal;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding: 44px 0 42px;
  }
  .hero h1 {
    font-size: 1.56rem;
    line-height: 1.22;
  }
  .hero-lead {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .hero-card {
    padding: 20px 18px;
  }
  .hc-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 0;
  }
  section {
    padding: 52px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-card {
    min-height: 245px;
  }
  /* Stacked mobile cards for Institutional Track Record table */
  .table-wrap {
    border: none;
    box-shadow: none;
    overflow-x: visible;
  }
  table.inst-table,
  table.inst-table tbody,
  table.inst-table tr,
  table.inst-table td {
    display: block;
    width: 100%;
  }
  table.inst-table thead {
    display: none;
  }
  table.inst-table tr {
    background: var(--white);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
  }
  table.inst-table tr:nth-child(even) td {
    background: transparent;
  }
  table.inst-table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--slate-100);
    font-size: 0.85rem;
  }
  table.inst-table td:last-child {
    border-bottom: none;
  }
  table.inst-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-500);
    margin-bottom: 2px;
  }
  .principal-box {
    padding: 26px 20px;
    gap: 24px;
  }
  .principal-box h3 {
    font-size: 1.38rem;
  }
  .cred-badges {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 14px 12px;
  }
  .stat-num {
    font-size: 1.45rem;
  }
  .gov-panel,
  .enquiry-form {
    padding: 22px 18px;
  }
  .gov-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
}

/* Hide underlying Wix Classic Editor shell when CDG v6.0 flagship app is mounted */
#SITE_CONTAINER,
#WIX_ADS,
#chat-widget-container,
[data-testid="chat-widget"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}