:root {
  --navy: #0A1628;
  --navy-mid: #2D4160;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --off-white: #F5F2EC;
  --stone: #E8E0D0;
  --muted: #8A9BB0;
  --display: 'Cormorant Garamond', serif;
  --body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body { font-family: var(--body); background: var(--navy); color: var(--off-white); overflow-x: hidden; }

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Local Bootstrap fallback for the landing page.
   The files in public/lib are placeholders, so these cover the grid, navbar,
   dropdown, carousel, spacing, and form utilities used by welcome.blade.php. */
.container,
.container-fluid {
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
.container {
  max-width: min(1140px, calc(100vw - 2rem));
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
}
.row > * {
  width: 100%;
  max-width: 100%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-12 { flex: 0 0 auto; width: 100%; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.g-2 { row-gap: 0.5rem; }
.g-2 > * { padding: 0.25rem; }
.g-3 { row-gap: 1rem; }
.g-4 { row-gap: 1.5rem; }
.g-5 { row-gap: 3rem; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.input-group { display: flex; width: 100%; }
.input-group > .form-control { flex: 1 1 auto; width: 1%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-sm { padding: 0.45rem 0.9rem !important; }
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 20;
}
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}
.navbar > .container-fluid {
  display: flex;
  align-items: center;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 2rem;
  white-space: nowrap;
  text-decoration: none;
}
.navbar-collapse {
  display: flex;
  align-items: center;
  flex-basis: auto;
  flex-grow: 1;
  min-width: 0;
}
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.nav-item { position: relative; list-style: none; }
.nav-link {
  display: block;
  text-decoration: none;
  white-space: nowrap;
}
.navbar-toggler {
  display: none;
  margin-left: auto;
  background: transparent;
  padding: 0.5rem 0.75rem;
}
.navbar-toggler-icon {
  display: block;
  width: 1.4rem;
  height: 1rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}
.navbar-toggler-icon::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  z-index: 1000;
  list-style: none;
}
.dropdown:hover > .dropdown-menu,
.dropdown-menu.show { display: block; }
.dropdown-item {
  display: block;
  width: 100%;
  clear: both;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-header {
  display: block;
  padding: 0.4rem 1.2rem;
  margin: 0;
  white-space: nowrap;
}
.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid currentColor;
}
.carousel { position: relative; }
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-item {
  position: relative;
  display: none;
  width: 100%;
  margin-right: 0;
  backface-visibility: hidden;
}
.carousel-item.active { display: block; }
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-indicators {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.form-control,
.form-select {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  .d-md-block { display: block !important; }
  .d-md-row { flex-direction: row !important; }
  .mt-md-0 { margin-top: 0 !important; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .text-lg-end { text-align: right !important; }
  .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
}

/* ─── TOPBAR ─── */
.topbar {
  background: #060e1a;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.topbar a { color: var(--gold); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar .bi { font-size: 0.8rem; margin-right: 4px; }

/* ─── NAVBAR ─── */
.navbar {
  background: rgba(10,22,40,0.97) !important;
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: all 0.3s;
}
.navbar.transparent {
  background: linear-gradient(to bottom, rgba(10,22,40,0.85) 0%, transparent 100%) !important;
  border-bottom: none;
  position: fixed !important;
}
.navbar-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--off-white) !important;
}
.navbar-brand span { color: var(--gold); }
.brand-logo {
  padding: 0;
  min-height: 42px;
}
.brand-logo img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 132px;
  object-fit: contain;
}
.navbar-toggler { border-color: rgba(201,168,76,0.4); }
.navbar-toggler-icon { filter: invert(1); }

.nav-link {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s !important;
}
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }

.dropdown-menu {
  background: #0d1e35;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  margin-top: 0.5rem !important;
  animation: fadeDown 0.2s ease;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.dropdown-item {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted) !important;
  padding: 0.6rem 1.2rem;
  transition: color 0.2s, background 0.2s;
  border-left: 2px solid transparent;
}
.dropdown-item:hover {
  background: rgba(201,168,76,0.06) !important;
  color: var(--gold) !important;
  border-left-color: var(--gold);
}
.dropdown-divider { border-color: rgba(201,168,76,0.12); }

.btn-gold {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 0;
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

.btn-outline-gold {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.75rem 2rem;
  border-radius: 0;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-gold:hover { border-color: var(--gold); color: var(--gold); }

/* ─── HERO CAROUSEL ─── */
#heroCarousel { margin-top: 0; }
.hero-slide {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#heroCarousel .carousel-item.active img { transform: scale(1); }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.88) 45%, rgba(10,22,40,0.35) 100%);
}
.hero-slide-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 6% 6rem;
  z-index: 2;
  max-width: 750px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0;
  animation: slideUp 0.8s 0.3s forwards;
}
.hero-eyebrow::before { content:''; width:38px; height:1px; background:var(--gold); display:block; }
.hero-slide h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--off-white);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: slideUp 0.8s 0.5s forwards;
}
.hero-slide h1 em { font-style: italic; color: var(--gold); }
.hero-slide p.lead {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: slideUp 0.8s 0.7s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s 0.9s forwards;
}
@keyframes slideUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

.carousel-control-prev, .carousel-control-next {
  width: 54px; height: 54px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  cursor: pointer;
  top: 50%; transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-control-prev { left: 3%; }
.carousel-control-next { right: 3%; }
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: rgba(201,168,76,0.24);
  border-color: rgba(201,168,76,0.65);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--gold);
}
.carousel-control-prev-icon::before { content: '‹'; }
.carousel-control-next-icon::before { content: '›'; }
.carousel-indicators { bottom: 3rem; }
.carousel-indicators button {
  width: 30px; height: 2px; border-radius: 0;
  background: rgba(255,255,255,0.3);
  border: none; margin: 0 4px;
  transition: background 0.3s, width 0.3s;
}
.carousel-indicators button.active { background: var(--gold); width: 50px; }

.hero-stats-bar {
  position: absolute; bottom: 0; right: 0;
  background: rgba(10,22,40,0.85);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-left: 1px solid rgba(201,168,76,0.15);
  display: flex;
  z-index: 3;
}
.hstat {
  padding: 1.2rem 2.2rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.1);
}
.hstat-num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hstat-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.section-eyebrow::before { content:''; width:26px; height:1px; background:var(--gold); display:block; }
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 0;
}
.section-title em { font-style: italic; color: var(--gold); }
.gold-rule { width: 50px; height: 2px; background: var(--gold); margin: 1.8rem 0; }

/* ─── ABOUT ─── */
.about-section { background: var(--navy); padding: 7rem 0; }
.about-img-stack { position: relative; height: 500px; }
.about-img-main {
  position: absolute; top: 0; left: 0; right: 60px; bottom: 60px;
  overflow: hidden;
}
.about-img-main img { width:100%; height:100%; object-fit:cover; }
.about-img-accent {
  position: absolute; bottom: 0; right: 0;
  width: 200px; height: 160px;
  background: var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.about-img-accent .big { font-family:var(--display); font-size:2.8rem; font-weight:700; color:var(--navy); line-height:1; }
.about-img-accent .small { font-size:0.62rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--navy); }
.about-img-border {
  position: absolute; top: 20px; left: 20px; right: 80px; bottom: 80px;
  border: 1px solid rgba(201,168,76,0.25);
  pointer-events: none; z-index: 0;
}
.about-text p { font-size:0.88rem; font-weight:300; line-height:1.9; color:var(--muted); }
.feature-item { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.2rem; }
.feature-icon {
  width:42px; height:42px; flex-shrink:0;
  border:1px solid rgba(201,168,76,0.3);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:1rem;
}
.feature-text h6 { font-size:0.78rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--off-white); margin-bottom:0.2rem; }
.feature-text p { font-size:0.78rem; color:var(--muted); margin:0; }

/* ─── PROJECTS ─── */
.projects-section { background: #080f1e; padding: 7rem 0; }
.project-card {
  position: relative; overflow: hidden;
  height: 400px; cursor: pointer;
  background: var(--navy-mid);
  display: block;
  color: inherit;
  text-decoration: none;
}
.project-card:hover { color: inherit; }
.project-card img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.96) 0%, rgba(10,22,40,0.3) 60%);
  transition: background 0.4s;
}
.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(10,22,40,0.98) 0%, rgba(10,22,40,0.5) 100%);
}
.project-body {
  position: absolute; bottom:0; left:0; right:0; padding:1.8rem;
  z-index:2;
}
.project-cat { font-size:0.62rem; font-weight:500; letter-spacing:0.22em; text-transform:uppercase; color:var(--gold); margin-bottom:0.4rem; }
.project-name { font-family:var(--display); font-size:1.5rem; font-weight:400; color:var(--off-white); line-height:1.2; }
.project-desc {
  font-size:0.78rem; font-weight:300; line-height:1.6; color:var(--muted);
  max-height:0; overflow:hidden; transition: max-height 0.4s ease, margin 0.3s;
  margin-top:0;
}
.project-card:hover .project-desc { max-height:80px; margin-top:0.6rem; }
.project-num {
  position:absolute; top:1.2rem; left:1.5rem; z-index:2;
  font-family:var(--display); font-size:0.72rem; font-weight:300;
  color:rgba(201,168,76,0.5); letter-spacing:0.1em;
}
.project-arrow {
  position:absolute; top:1.2rem; right:1.5rem; z-index:2;
  width:34px; height:34px;
  border:1px solid rgba(201,168,76,0.35);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:0.9rem;
  opacity:0; transition:opacity 0.3s;
}
.project-card:hover .project-arrow { opacity:1; }

/* Project detail */
.project-detail-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #07111f;
}
.project-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,14,26,0.95) 0%, rgba(10,22,40,0.72) 48%, rgba(10,22,40,0.26) 100%),
    linear-gradient(0deg, rgba(6,14,26,0.95) 0%, rgba(6,14,26,0.1) 46%);
}
.project-detail-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 0 6rem;
}
.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(245,242,236,0.78);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 2rem;
}
.project-back-link:hover { color: var(--gold); }
.project-detail-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.project-detail-eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--gold);
}
.project-detail-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--off-white);
  margin: 0 0 1.4rem;
}
.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.project-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  border: 1px solid rgba(201,168,76,0.28);
  background: rgba(6,14,26,0.48);
  color: rgba(245,242,236,0.86);
  padding: 0.55rem 0.85rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-detail-meta i { color: var(--gold); }
.project-detail-main {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f8f4eb 0%, #f1eadf 100%);
}
.project-story {
  max-width: 760px;
}
.project-story .section-title,
.project-story p {
  color: var(--navy);
}
.project-story > p:last-child {
  color: #4b5563;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.95;
}
.project-info-panel {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid rgba(10,22,40,0.08);
  box-shadow: 0 22px 50px rgba(10,22,40,0.08);
  padding: 1.5rem;
}
.project-info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10,22,40,0.08);
}
.project-info-row:first-child { padding-top: 0; }
.project-info-row span {
  color: #6b7280;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.project-info-row strong {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
}
.project-info-panel .btn {
  margin-top: 1.2rem;
}
.w-100 { width: 100% !important; }
.project-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4.5rem;
  background: rgba(10,22,40,0.1);
  border: 1px solid rgba(10,22,40,0.08);
}
.project-highlight {
  background: #fff;
  padding: 1.6rem;
  min-height: 210px;
}
.project-highlight i {
  color: var(--gold);
  font-size: 1.6rem;
}
.project-highlight h3 {
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 1.2rem 0 0.65rem;
}
.project-highlight p {
  color: #5f6b7a;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}
.project-related-section {
  padding: 5rem 0;
  background: #080f1e;
}
.project-related-card {
  position: relative;
  display: block;
  min-height: 310px;
  overflow: hidden;
  color: var(--off-white);
  text-decoration: none;
  background: var(--navy-mid);
}
.project-related-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,14,26,0.96), rgba(6,14,26,0.24));
}
.project-related-card:hover img { transform: scale(1.06); }
.project-related-card > div {
  position: absolute;
  z-index: 2;
  left: 1.4rem;
  right: 4rem;
  bottom: 1.4rem;
}
.project-related-card span {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.project-related-card h3 {
  color: var(--off-white);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0.35rem 0 0;
}
.project-related-card > i {
  position: absolute;
  z-index: 2;
  right: 1.4rem;
  bottom: 1.5rem;
  color: var(--gold);
}
.project-contact-cta {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #0d1e35 0%, #17334f 100%);
}
.project-contact-cta h2 {
  font-family: var(--display);
  color: var(--off-white);
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.project-contact-cta p {
  color: rgba(245,242,236,0.78);
  margin: 0;
}

/* ─── SERVICES / WHY US ─── */
.services-section { background: var(--navy); padding: 7rem 0; }
#servicesGrid {
  align-items: stretch;
}

#servicesGrid > * {
  display: flex;
  margin-bottom: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 2.2rem 1.8rem;
  transition: border-color 0.3s, transform 0.3s;
  height: 100%;
  width: 100%;
  min-height: 260px;
}
.service-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.service-icon {
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.service-card h5 {
  font-family: var(--display); font-size: 1.3rem; font-weight: 400;
  color: var(--off-white); margin-bottom: 0.8rem;
}
.service-card p { font-size:0.82rem; font-weight:300; line-height:1.8; color:var(--muted); margin:0; }

/* ─── FOUNDER ─── */
.founder-section { background: var(--off-white); padding: 7rem 0; color: var(--navy); }
.founder-section .section-title { color: var(--navy); }
.founder-portrait-wrap {
  position: relative;
  display: inline-block; width: 100%;
}
.founder-portrait-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-portrait-wrap::after {
  content: '';
  position: absolute; bottom:-14px; right:-14px; left:14px; top:14px;
  border: 2px solid var(--gold); z-index: -1;
}
.founder-text h3 { font-family:var(--display); font-size:2.4rem; font-weight:300; color:var(--navy); }
.founder-badge { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); }
.founder-text p { font-size:0.88rem; font-weight:300; line-height:1.9; color:#4a5568; }
.founder-qual-num { font-family:var(--display); font-size:2.2rem; font-weight:600; color:var(--gold); line-height:1; }
.founder-qual-label { font-size:0.62rem; letter-spacing:0.16em; text-transform:uppercase; color:#8a9bb0; }

/* ─── GALLERY ─── */
.gallery-section { background: #060e1a; padding: 7rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 0.6rem;
  align-items: stretch;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  min-height: 0;
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.5s ease;
  display:block;
}
.gallery-item:hover img { transform:scale(1.08); }
.gallery-item.tall img { height:100%; }

/* Public listing pages */
.listing-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  background:
    linear-gradient(135deg, rgba(6,14,26,0.98), rgba(20,43,66,0.96)),
    var(--navy);
}
.listing-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), transparent);
}
.listing-hero .container {
  position: relative;
  z-index: 2;
}
.listing-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: var(--off-white);
  margin: 0 0 1rem;
}
.listing-hero p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}
.gallery-page-section,
.team-page-section {
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #f8f4eb 0%, #f1eadf 100%);
}
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 290px;
  gap: 1rem;
}
.gallery-page-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--navy-mid);
}
.gallery-page-card.wide {
  grid-column: span 2;
}
.gallery-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-page-card:hover img { transform: scale(1.05); }
.gallery-page-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,14,26,0.86), rgba(6,14,26,0.08));
}
.gallery-page-card > div {
  position: absolute;
  z-index: 2;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
}
.gallery-page-card span,
.team-page-body span {
  color: var(--gold);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gallery-page-card h2 {
  color: var(--off-white);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0.35rem 0 0;
}
.gallery-page-card p {
  color: rgba(245,242,236,0.78);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0.35rem 0 0;
}
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.team-page-card {
  background: #fff;
  border: 1px solid rgba(10,22,40,0.08);
  box-shadow: 0 18px 45px rgba(10,22,40,0.06);
}
.team-page-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--navy-mid);
}
.team-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.team-page-card:hover .team-page-image img { transform: scale(1.05); }
.team-page-body {
  padding: 1.25rem;
}
.team-page-body h2 {
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0.25rem 0 0.5rem;
}
.team-page-body p {
  color: #5f6b7a;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: #080f1e; padding: 7rem 0; }
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--display);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(201,168,76,0.12);
  position: absolute; top: -0.5rem; left: 1.5rem;
  line-height: 1;
}
.testimonial-card p { font-size:0.88rem; font-weight:300; line-height:1.8; color:var(--muted); font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:1rem; margin-top:1.5rem; }
.testimonial-avatar { width:46px; height:46px; border-radius:50%; object-fit:cover; border:2px solid rgba(201,168,76,0.3); }
.testimonial-name { font-size:0.82rem; font-weight:600; color:var(--off-white); }
.testimonial-role { font-size:0.68rem; letter-spacing:0.1em; color:var(--gold); text-transform:uppercase; }
.star-row { color:var(--gold); font-size:0.78rem; margin-bottom:1rem; }

/* ─── MISSION BANNER ─── */
.mission-section { background: var(--navy-mid); padding: 6rem 0; text-align:center; }
.mission-quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300; font-style: italic;
  color: var(--off-white);
  max-width: 820px; margin: 1.5rem auto;
  line-height: 1.45;
}
.mission-quote span { color: var(--gold); }
.mission-divider { width:70px; height:1px; background:var(--gold); margin:2rem auto; }
.mission-item-card {
  border-left: 2px solid var(--gold);
  padding: 0 1.5rem;
  text-align: left;
}
.mission-item-card h5 { font-family:var(--display); font-size:1.3rem; font-weight:400; color:var(--gold); margin-bottom:0.6rem; }
.mission-item-card p { font-size:0.82rem; font-weight:300; line-height:1.8; color:var(--muted); margin:0; }

/* ─── CTA BANNER ─── */
.cta-section {
  position: relative; padding: 7rem 0; overflow: hidden;
  background: linear-gradient(120deg, #0a1628 0%, #1a3a5c 100%);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 55px 55px;
}
.cta-section img {
  position: absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:0.12;
}
.cta-section .container { position:relative; z-index:2; }
.cta-section h2 { font-family:var(--display); font-size:clamp(2rem,4vw,3.2rem); font-weight:300; color:var(--off-white); }
.cta-section h2 em { font-style:italic; color:var(--gold); }

/* ─── TEAM ─── */
.team-section { background: var(--navy); padding: 7rem 0; }
.team-card { text-align:center; }
.team-img-wrap { position:relative; overflow:hidden; margin-bottom:1.2rem; }
.team-img-wrap img { width:100%; height:300px; object-fit:cover; object-position:center top; transition:transform 0.5s; }
.team-card:hover .team-img-wrap img { transform:scale(1.05); }
.team-overlay {
  position:absolute; inset:0;
  background:rgba(10,22,40,0.7);
  display:flex; align-items:center; justify-content:center; gap:0.8rem;
  opacity:0; transition:opacity 0.3s;
}
.team-card:hover .team-overlay { opacity:1; }
.team-social {
  width:36px; height:36px;
  border:1px solid rgba(201,168,76,0.5);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:0.85rem;
  text-decoration:none; transition: background 0.2s;
}
.team-social:hover { background:var(--gold); color:var(--navy); }
.team-name { font-family:var(--display); font-size:1.3rem; font-weight:400; color:var(--off-white); }
.team-role { font-size:0.65rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); }

/* ─── CONTACT ─── */
.contact-section { background: var(--navy); padding: 7rem 0; }
.contact-info-box h4 { font-family:var(--display); font-size:1.8rem; font-weight:300; color:var(--off-white); }
.contact-info-box p { font-size:0.85rem; font-weight:300; line-height:1.8; color:var(--muted); }
.contact-detail { display:flex; align-items:flex-start; gap:1rem; margin-bottom:1.4rem; }
.c-icon {
  width:40px; height:40px; flex-shrink:0;
  border:1px solid rgba(201,168,76,0.3);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:1rem;
}
.c-label { font-size:0.62rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:0.15rem; }
.c-value { font-size:0.85rem; font-weight:300; color:var(--off-white); line-height:1.5; }
.contact-form-box { background:rgba(255,255,255,0.03); border:1px solid rgba(201,168,76,0.12); padding:2.5rem; }
.form-label { font-size:0.62rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); margin-bottom:0.4rem; }
.form-control, .form-select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--off-white) !important;
  border-radius: 0 !important;
  font-size: 0.85rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.06) !important;
}
.form-control::placeholder { color: #4a5568; }
.form-select option { background: #0d1e35; color: var(--off-white); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* ─── MAP PLACEHOLDER ─── */
.map-box {
  height: 260px;
  background: #0d1e35;
  border: 1px solid rgba(201,168,76,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  margin-top: 2rem;
}
.map-box .bi { font-size:2rem; color:var(--gold); }
.map-box p { font-size:0.75rem; color:var(--muted); margin:0; letter-spacing:0.1em; }

/* ─── CAREER ─── */
.career-section { background: #060e1a; padding: 7rem 0; }
.job-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 1.8rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.job-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-2px); }
.job-title { font-family:var(--display); font-size:1.2rem; font-weight:400; color:var(--off-white); }
.job-meta { font-size:0.72rem; color:var(--muted); margin-top:0.55rem; display:flex; flex-wrap:wrap; gap:0.9rem; }
.job-meta span { display:inline-flex; align-items:center; }
.job-badge {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}
.career-section-intro {
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: rgba(255,255,255,0.04);
  color: rgba(245,242,236,0.82);
}
.career-section-intro p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.job-card-premium {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 1rem;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
}
.job-card-topline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:0.75rem;
  margin-bottom:0.75rem;
}
.job-card-availability {
  font-size:0.68rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color: rgba(245,242,236,0.72);
}
.job-card-main { flex: 1 1 300px; }
.job-card-actions { display:flex; align-items:center; }

.career-detail-hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #071422 0%, #11253d 50%, #0b1830 100%);
  overflow: hidden;
}
.career-detail-hero::before,
.career-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.career-detail-hero::before {
  background: radial-gradient(circle at top left, rgba(201,168,76,0.28), transparent 30%);
}
.career-detail-hero::after {
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.3;
}
.career-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: end;
}
.career-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.career-eyebrow::before {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--gold);
  display: block;
}
.career-hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: 0.8rem;
}
.career-hero-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245,242,236,0.8);
  margin: 0;
}
.career-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.career-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--off-white);
  font-size: 0.8rem;
}
.career-hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 1.25rem;
  padding: 1.45rem 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.career-hero-panel-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.career-hero-list {
  padding-left: 1rem;
  margin: 0;
  color: rgba(245,242,236,0.88);
  line-height: 1.8;
}
.career-detail-main {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, #f8f4eb 0%, #f2ebde 100%);
}
.career-detail-card {
  background: #ffffff;
  border: 1px solid rgba(10,22,40,0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(10,22,40,0.06);
}
.career-card-intro {
  border-bottom: 1px solid rgba(10,22,40,0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}
.career-card-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.career-card-intro h2,
.career-card-section h3 {
  color: var(--navy);
  margin: 0;
}
.career-card-body p,
.career-card-section p,
.career-sidebar-card-body p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0;
}
.career-card-section {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(10,22,40,0.08);
}
.career-detail-sidebar {
  display: grid;
  gap: 1rem;
}
.career-sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(10,22,40,0.08);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(10,22,40,0.05);
}
.career-sidebar-card-header {
  background: linear-gradient(90deg, rgba(201,168,76,0.16), rgba(201,168,76,0.04));
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(10,22,40,0.06);
}
.career-sidebar-card-header h5 {
  color: var(--navy);
  margin: 0;
  font-size: 1rem;
}
.career-sidebar-card-body {
  padding: 1.2rem;
  display: grid;
  gap: 0.75rem;
}
.career-sidebar-card-body p {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #4b5563;
}
.career-sidebar-card-body strong {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.career-contact-cta {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, #0d1e35 0%, #17334f 100%);
}
.career-contact-cta h3 {
  color: var(--off-white);
  margin-bottom: 0.35rem;
}
.career-contact-cta p {
  color: rgba(245,242,236,0.8);
  margin: 0;
}

/* ─── FOOTER ─── */
footer { background: #060e1a; border-top: 1px solid rgba(201,168,76,0.12); padding: 5rem 0 2rem; }
.footer-brand .logo { font-family:var(--display); font-size:1.7rem; font-weight:600; color:var(--off-white); margin-bottom:1rem; }
.footer-brand .logo span { color:var(--gold); }
.footer-logo img {
  width: auto;
  height: 44px;
  max-width: 150px;
  object-fit: contain;
}
.footer-brand p { font-size:0.82rem; font-weight:300; line-height:1.7; color:var(--muted); }
.social-link {
  display:inline-flex; width:34px; height:34px;
  border:1px solid rgba(201,168,76,0.25);
  align-items:center; justify-content:center;
  color:var(--muted); font-size:0.85rem;
  text-decoration:none; transition:all 0.2s; margin-right:0.5rem;
}
.social-link:hover { border-color:var(--gold); color:var(--gold); }
.footer-col h6 { font-size:0.65rem; font-weight:600; letter-spacing:0.22em; text-transform:uppercase; color:var(--gold); margin-bottom:1.2rem; }
.footer-col ul { list-style:none; padding:0; }
.footer-col li { margin-bottom:0.6rem; }
.footer-col a { font-size:0.82rem; font-weight:300; color:var(--muted); text-decoration:none; transition:color 0.2s; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom {
  padding-top:2rem; margin-top:3rem;
  border-top:1px solid rgba(255,255,255,0.06);
  font-size:0.75rem; color:var(--muted);
}

/* ─── ANIMATIONS ─── */
[data-aos] { will-change: transform, opacity; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.6;} }

/* ─── RESPONSIVE ─── */
@media(max-width:768px){
  .hero-stats-bar { display:none; }
  .about-img-stack { height:350px; }
  .about-img-main { right:40px; bottom:40px; }
  .career-hero-content { grid-template-columns: 1fr; }
  .career-detail-card { padding: 1.4rem; }
  .career-contact-cta .text-lg-end { text-align: left !important; margin-top: 1rem; }
  .project-detail-hero { min-height: 560px; }
  .project-detail-hero-content { padding-bottom: 4rem; }
  .project-detail-meta { gap: 0.5rem; }
  .project-detail-meta span { width: 100%; }
  .project-info-panel { position: static; }
  .project-highlights { grid-template-columns: 1fr; }
  .project-contact-cta .text-lg-end { text-align: left !important; margin-top: 1rem; }
  .gallery-grid,
  .gallery-page-grid,
  .team-page-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-auto-rows: 240px;
  }
  .gallery-item.featured,
  .gallery-page-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .about-img-accent { width:140px; height:110px; }
  .about-img-accent .big { font-size:2rem; }
}

/* Landing polish */
body {
  text-rendering: optimizeLegibility;
}

.topbar {
  min-height: 36px;
}

.topbar .container-fluid {
  max-width: 1440px;
}

.navbar {
  min-height: 82px;
  box-shadow: 0 18px 45px rgba(2, 8, 20, 0.18);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(7, 17, 31, 0.98) !important;
  box-shadow: 0 16px 40px rgba(2, 8, 20, 0.28);
}

.navbar .container-fluid {
  max-width: 1440px;
}

.navbar-brand {
  position: relative;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.navbar-brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 56px;
  height: 2px;
  background: var(--gold);
}

.brand-logo::after {
  display: none;
}

.nav-link {
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(201,168,76,0.08);
}

.dropdown-menu {
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.btn-gold,
.btn-outline-gold {
  min-height: 42px;
  align-items: center;
}

.hero-slide {
  min-height: 680px;
}

.hero-content {
  padding-bottom: 7.5rem;
}

.hero-slide-overlay {
  background:
    radial-gradient(circle at 75% 28%, rgba(201,168,76,0.16), transparent 25%),
    linear-gradient(90deg, rgba(6,14,26,0.96) 0%, rgba(10,22,40,0.82) 42%, rgba(10,22,40,0.38) 100%);
}

.hero-slide h1 {
  letter-spacing: 0;
  max-width: 760px;
}

.hero-slide p.lead {
  color: #b9c4d2;
}

.hero-stats-bar {
  box-shadow: -16px -18px 45px rgba(0,0,0,0.18);
}

.about-section,
.projects-section,
.services-section,
.founder-section,
.team-section,
.gallery-section,
.mission-section,
.testimonials-section,
.career-section,
.contact-section {
  position: relative;
}

.about-section::before,
.services-section::before,
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(201,168,76,0.08), transparent 24%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.about-section .container,
.services-section .container,
.contact-section .container {
  position: relative;
  z-index: 1;
}

.project-card,
.service-card,
.testimonial-card,
.job-card,
.contact-form-box,
.map-box {
  border-radius: 10px;
}

.project-card {
  box-shadow: 0 22px 55px rgba(0,0,0,0.22);
}

.service-card,
.testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
}

.service-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.18);
  flex-shrink: 0;
}

.founder-section {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.76), rgba(245,242,236,0.96)),
    var(--off-white);
}

.founder-portrait-wrap img,
.gallery-item img,
.team-img-wrap img,
.about-img-main img {
  border-radius: 10px;
}

.mission-section {
  background:
    linear-gradient(135deg, rgba(10,22,40,0.96), rgba(45,65,96,0.94)),
    var(--navy-mid);
}

.contact-form-box {
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}

.fallback-empty {
  border: 1px solid rgba(201,168,76,0.16);
  background: rgba(255,255,255,0.035);
  padding: 1rem 1.25rem;
  color: var(--muted);
  border-radius: 10px;
}

@media (max-width: 991px) {
  .navbar {
    min-height: auto;
  }

  .navbar > .container-fluid {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: inline-flex;
    color: var(--gold);
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(6,14,26,0.96);
    border: 1px solid rgba(201,168,76,0.14);
    border-radius: 10px;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem !important;
  }

  .dropdown-menu {
    position: static;
    display: block;
    margin-top: 0.35rem !important;
    box-shadow: none;
  }

  .navbar .btn-gold {
    width: 100%;
    margin: 1rem 0 0 !important;
  }

  .hero-slide {
    height: auto;
    min-height: 680px;
  }

  .hero-content {
    padding: 0 1.25rem 5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 576px) {
  .container,
  .container-fluid {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .navbar-brand {
    font-size: 1.35rem;
  }

  .brand-logo img {
    height: 34px;
    max-width: 118px;
  }

  .hero-slide {
    min-height: 620px;
  }

  .hero-slide h1 {
    font-size: 2.65rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .about-section,
  .projects-section,
  .services-section,
  .founder-section,
  .team-section,
  .gallery-section,
  .mission-section,
  .testimonials-section,
  .career-section,
  .contact-section {
    padding: 5rem 0;
  }
}

/* Viewport containment fixes */
.topbar,
.navbar,
#home,
.carousel,
.carousel-inner,
section,
footer {
  max-width: 100%;
  overflow-wrap: break-word;
}

#home,
.carousel,
.carousel-inner,
.hero-slide,
.about-section,
.projects-section,
.services-section,
.founder-section,
.team-section,
.gallery-section,
.mission-section,
.testimonials-section,
.cta-section,
.career-section,
.contact-section,
footer {
  overflow-x: hidden;
  overflow-x: clip;
}

.navbar .container-fluid,
.topbar .container-fluid {
  width: min(100%, 1440px);
}

.topbar .d-flex {
  flex-wrap: wrap;
}

.navbar-brand,
.navbar-collapse,
.navbar-nav,
.hero-actions,
.footer-bottom {
  min-width: 0;
}

.dropdown-menu {
  max-width: min(92vw, 280px);
}

.hero-content {
  width: min(760px, calc(100vw - 2rem));
}

.hero-stats-bar {
  max-width: min(100%, 860px);
}

.hstat {
  min-width: 0;
}

.about-img-stack,
.founder-portrait-wrap,
.project-card,
.service-card,
.testimonial-card,
.team-card,
.gallery-item,
.contact-form-box,
.contact-info-box {
  max-width: 100%;
}

.founder-portrait-wrap::after {
  right: 0;
}

@media (max-width: 991px) {
  .topbar .container-fluid,
  .navbar .container-fluid {
    width: 100%;
  }

  .dropdown-menu {
    max-width: 100%;
  }

  .gallery-grid,
  .gallery-page-grid,
  .team-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .nav-link {
    padding-right: 0.65rem !important;
    padding-left: 0.65rem !important;
  }

  .navbar-brand {
    margin-right: 1rem;
  }

  .btn-gold {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .row > * {
    padding-right: 0;
    padding-left: 0;
  }

  .about-img-main {
    right: 0;
  }

  .about-img-border {
    right: 20px;
  }

  .about-img-accent {
    right: 0;
  }
}
