:root {
  --ink: #1a0b2e;
  --cream: #f8f9fa;
  --royal-purple: #7b4e9f;
  --purple-light: #a682c3;
  --slate-grey: #cfd4d9;
  --white: #ffffff;
  --line: rgba(123, 78, 159, 0.2);
  --hero-gradient: linear-gradient(135deg, #2d144d 0%, #7b4e9f 100%);
}

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

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: 80px;
}

nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}

.nav-hidden {
  top: -100px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px; 
  width: auto;
  display: block;
}

.nav-logo span {
  display: inline-block;
  width: 2px;
  height: 1.5rem;
  background: var(--royal-purple);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: absolute;
  left: 0;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink);
  text-decoration: none; opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--gold); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--rust); }

#hero-welcome {
  transition: all 0.8s ease;
  text-shadow: 0 0 0px rgba(166, 130, 195, 0);
}

.glow-pulse {
  animation: royalPulse 3s infinite ease-in-out;
  color: var(--white);
}

@keyframes royalPulse {
  0% {
    text-shadow: 0 0 10px rgba(166, 130, 195, 0.4);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 25px rgba(166, 130, 195, 0.9), 
                 0 0 40px rgba(123, 78, 159, 0.4);
    transform: scale(1.02);
    color: var(--purple-light);
  }
  100% {
    text-shadow: 0 0 10px rgba(166, 130, 195, 0.4);
    transform: scale(1);
  }
}

#hero {
  min-height: 100vh;
  background: var(--hero-gradient);
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 2rem 50px;
  overflow: hidden;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: none;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow span {
  color: #ffffff;
  font-weight: 300;
  opacity: 0.5;
}

.hero-overlay-pattern {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  z-index: 2;
  width: 100%;
}

.hero-text-content {
  flex: 1.5;
}

.hero-intro-details {
  max-width: 650px;
  margin-bottom: 2rem;
}

.hero-intro-details p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }

  .hero-text-content {
    text-align: left; 
    width: 100%;
  }

  .hero-intro-details p {
    text-align: left;
    font-size: 0.95rem;
  }

  .hero-eyebrow {
    justify-content: flex-start;
  }

  .hero-actions {
    align-items: flex-start;
  }
}

.motto-container {
  margin-bottom: 3rem;
}

.motto-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple-light);
  animation: blinker 2.5s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0.3; }
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4));
  animation: softFloat 6s ease-in-out infinite;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: transform 0.4s ease;
  border: 1px solid var(--line);
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-content h3 {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.project-content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 900px) {
  .hero-visual {
    flex: none;
    width: 100%;
    order: 2;
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-h1 {
    font-size: 2.2rem;
  }
}

.stratpoll-grid {
  grid-template-columns: repeat(3, 1fr);
  border: none;
  gap: 2rem;
}

.stratpoll-grid .service-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 3rem 2rem;
}

.stratpoll-list {
  list-style: none;
  margin-top: 1.5rem;
}

.stratpoll-list li {
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
}

.stratpoll-list li::before {
  content: "•";
  color: var(--royal-purple);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.stratpoll-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 2rem;
  background: var(--ink);
  border-left: 4px solid var(--royal-purple);
}

.benefit-item {
  color: var(--cream);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stratpoll-grid {
    grid-template-columns: 1fr;
  }
  .stratpoll-benefits {
    grid-template-columns: 1fr;
  }
}

.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--rust); transform: translateY(-1px); }

.btn-ghost {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-right {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-graphic {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.hero-circle-outer {
  width: 420px; height: 420px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  position: absolute;
  animation: rotateSlow 30s linear infinite;
}

.hero-circle-mid {
  width: 300px; height: 300px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  position: absolute;
  animation: rotateSlow 20s linear infinite reverse;
}

.hero-circle-inner {
  width: 180px; height: 180px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  position: absolute;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.25rem;
}

.hero-circle-inner .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  color: var(--gold); line-height: 1;
}

.hero-circle-inner .label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}

.hero-stats {
  position: absolute; bottom: 3rem; left: 3rem; right: 3rem;
  display: flex; gap: 0; border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 2rem;
}

.hero-stat {
  flex: 1; text-align: center;
  border-right: 1px solid rgba(201,168,76,0.15);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--gold);
}

.hero-stat-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em; margin-top: 0.2rem;
}

#achievements {
  background: var(--white);
  padding: 8rem 2rem;
  border-bottom: 1px solid var(--line);
}

.achievements-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.achieve-h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--royal-purple);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.achieve-list {
  list-style: none;
}

.achieve-list li {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.4;
  font-family: 'Cormorant Garamond', serif;
}

.achieve-list li strong {
  color: var(--royal-purple);
  font-weight: 600;
}

@media (max-width: 900px) {
  .achievements-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0; width: 100%; height: 100%; 
  background-color: rgba(10, 10, 46, 0.9); 
  backdrop-filter: blur(8px);
}

.modal-content {
  background-color: #ffffff;
  margin: 5vh auto;
  padding: 3rem;
  border-left: 5px solid #7b4e9f;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 1.5rem; 
    margin: 2vh auto;
    width: 95%;
    max-height: 95vh;
  }

  #modalTitle {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .modal-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem 0;
  }

  .meta-box strong {
    font-size: 0.7rem;
  }

  #modalTimeline, #modalPartner {
    font-size: 0.9rem;
  }

  #modalDescription {
    font-size: 0.9rem; 
    line-height: 1.6;
  }

  .close-modal {
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
  }
}

@keyframes modalSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-modal {
  position: absolute; right: 2rem; top: 2rem;
  font-size: 2rem; color: var(--ink); cursor: pointer;
}

.modal-meta-grid {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 1rem; 
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.btn-project-view {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid var(--purple-light);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-family: 'Barlow Condensed';
  cursor: pointer;
  transition: 0.3s;
}

.btn-project-view:hover {
  background: var(--royal-purple);
}

@keyframes rotateSlow { to { transform: rotate(360deg); } }

section { padding: 6rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}

.section-tag::after { content: ''; display: block; width: 3rem; height: 1px; background: var(--gold); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.2;
  margin-bottom: 1.5rem;
}

#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem; align-items: center;
}

.about-body {
  font-size: 1.05rem; font-weight: 300; line-height: 1.9;
  color: #444; margin-bottom: 1.5rem;
}

.about-meta {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid #eee;
}

.about-meta-item .key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mid);
  margin-bottom: 0.35rem;
}

.about-meta-item .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600; color: var(--ink);
}

.about-vmm { display: flex; flex-direction: column; gap: 0; }

.vmm-item {
  padding: 2rem;
  border: 1px solid #eee;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vmm-item:hover { border-color: var(--gold); box-shadow: 4px 4px 0 var(--gold); }
.vmm-item + .vmm-item { border-top: none; }

.vmm-icon {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem;
}

.vmm-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic;
  line-height: 1.6; color: var(--ink);
}

.vmm-motto { background: var(--ink); }
.vmm-motto .vmm-icon { color: var(--gold); }
.vmm-motto .vmm-text { color: var(--cream); font-style: normal; font-size: 1.4rem; font-weight: 300; }

#services { background: var(--cream); }
.services-header { margin-bottom: 4rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-card:last-child { border-right: none; }

.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(7) { border-top: 1px solid var(--line); }

.service-card:nth-child(8) { border-top: 1px solid var(--line); border-right: none; }

.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--white); }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: rgba(201,168,76,0.2);
  line-height: 1; margin-bottom: 1rem;
}

.service-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.85rem; font-weight: 300; line-height: 1.7;
  color: var(--mid);
}

.service-card--cta { background: var(--ink); cursor: default; }

.service-cta-inner {
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
}

.service-cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300;
  color: var(--gold-light); line-height: 1.4;
  margin-bottom: 1.5rem; font-style: italic;
}

.service-cta-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.btn-cta-black {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  padding: 0.8rem 1.8rem;
  margin-top: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-cta-black:hover {
  background: #333333 !important;
  border-color: #333333 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#leadership { background: var(--ink); }
#leadership .section-title { color: var(--cream); }
#leadership .section-tag { color: var(--gold); }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
}

.leader-card {
  height: 450px;
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
}

.leader-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(to top, 
    rgba(26, 11, 46, 0.95) 20%, 
    rgba(26, 11, 46, 0.6) 60%, 
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.leader-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.leader-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.leader-bio {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.leader-initial {
  width: 64px; height: 64px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--gold);
  margin-bottom: 2rem;
  border-radius: 50%;
}

#leadership {
  background: var(--ink);
  padding: 8rem 2rem;
}

#leadership .section-title {
  color: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.project-category-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.category-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.image-row-3, .image-row-2, .image-row-1 {
  display: grid;
  gap: 1rem;
}

.image-row-3 { grid-template-columns: repeat(3, 1fr); }
.image-row-2 { grid-template-columns: repeat(2, 1fr); }
.image-row-1 { grid-template-columns: 1fr; }

.cat-img {
  height: 300px;
  overflow: hidden;
  border-radius: 4px;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-img:hover img {
  transform: scale(1.05);
}

.cat-img.single {
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .image-row-3, .image-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .image-row-3, .image-row-2 {
    grid-template-columns: 1fr;
  }
  .cat-img {
    height: 250px;
  }
}

.btn-gallery-trigger {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--royal-purple);
  color: #ffffff !important; /* Forces white text */
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid var(--royal-purple);
  cursor: pointer;
}

.btn-gallery-trigger:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(123, 78, 159, 0.2);
}

.gallery-page {
  background: var(--cream);
}

.gallery-header {
  padding: 8rem 2rem 2rem;
  text-align: center;
}

.gallery-grid-container {
  padding: 0 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  height: 250px;
}

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

#projects-visual {
  background: var(--white);
  padding: 8rem 2rem;
}

.project-category-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 4rem;
}

.category-group {
  width: 100%;
}

.category-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--royal-purple);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.image-row-3, .image-row-2, .image-row-1 {
  display: grid;
  gap: 1.5rem;
}

.image-row-3 { grid-template-columns: repeat(3, 1fr); }
.image-row-2 { grid-template-columns: repeat(2, 1fr); }
.image-row-1 { grid-template-columns: 1fr; }

.cat-img {
  height: 350px;
  background: var(--cream);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.cat-img:hover img {
  transform: scale(1.05);
}

.cat-img.single {
  max-width: 500px;
  height: 500px;
  margin: 0 auto;
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background: var(--royal-purple);
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-gallery-trigger {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--royal-purple);
  color: #ffffff !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-gallery-trigger:hover {
  background: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(123, 78, 159, 0.3);
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .image-row-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-header { padding-top: 6rem; }
  #projects-visual { padding: 4rem 1.5rem; }
  .project-category-grid { gap: 3rem; }
  .image-row-3, .image-row-2 { grid-template-columns: 1fr; }
  .category-title {
    font-size: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .category-title::after { display: none; }
  .cat-img.single {
    max-width: 100%;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 200px; }
}

.structure-breakdown {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.struct-title {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

.struct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.struct-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-left: 2px solid var(--royal-purple);
  transition: background 0.3s ease;
}

.struct-item:hover {
  background: rgba(123, 78, 159, 0.1);
}

.struct-item h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.struct-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .struct-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .struct-grid {
    grid-template-columns: 1fr;
  }
}

#offices { background: var(--white); }

.offices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid #eee;
}

.office-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid #eee;
  text-align: center;
  transition: background 0.2s;
}

.office-item:last-child { border-right: none; }
.office-item:hover { background: var(--cream); }

.office-dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.office-city {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 0.4rem;
}

.office-type { font-size: 0.75rem; color: var(--mid); }

#contact {
  background: linear-gradient(
      rgba(10,10,10,0.85),
      rgba(10,10,10,0.85)
    ),
    url("call.jpeg") center/cover no-repeat;
  padding: 6rem 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem; align-items: start;
}

#contact .section-title { color: var(--cream); }

.contact-body {
  font-size: 1rem; font-weight: 300; line-height: 1.9;
  color: rgba(255,255,255,0.55); margin-bottom: 2.5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }

.contact-item-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}

.contact-item-icon svg { width: 14px; height: 14px; fill: var(--gold); }

.contact-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem;
}

.contact-item-value { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-weight: 300; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 1rem;
  color: rgba(255,255,255,0.85);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: #1a1a2e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.btn-submit:hover { background: var(--rust); transform: translateY(-1px); }
.footer {
  background: #0b0f14;
  color: #cbd5e1;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #c9a84c;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.footer-motto {
  font-style: italic;
  color: #c9a84c;
  font-size: 0.85rem;
}

.footer-col h4 {
  color: #c9a84c;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #c9a84c;
}

.footer-col p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: #94a3b8;
  transition: 0.2s;
}

.social:hover svg {
  fill: #c9a84c;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.4);
  transition: fill 0.2s;
}

.social-link:hover svg {
  fill: #c9a84c;
}

.gold-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--rust), var(--gold));
}

.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 40vh; }
  .hero-left { padding: 7rem 2rem 3rem; }
  section { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .leadership-grid { grid-template-columns: 1fr; gap: 2px; }
  .offices-grid { grid-template-columns: repeat(3, 1fr); }
  .office-item:nth-child(3) { border-right: none; }
  .office-item:nth-child(n+4) { border-top: 1px solid #eee; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem; 
    width: 100%;
    padding: 0 1.5rem;
  }
  .footer-col {
    width: 100%;
    margin: 0;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  html, body {
    overflow-x: hidden;
    position: relative;
  }
}