/* components.css */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(179, 155, 125, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: var(--text-primary);
  color: var(--text-inverse);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cards */
.card {
  background-color: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.card h3 {
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* SPA Pages */
.page {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInRise 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* Stack Cards */
.stack-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-card {
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  overflow: hidden;
}

.stack-card:hover {
  transform: translateX(10px) translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.stack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
}

.stack-card:hover::before {
  transform: scaleY(1);
}

/* Expand Cards */
.expand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.expand-card {
  position: relative;
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.expand-card .card-content {
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.expand-card .card-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin-top: 0;
}

.expand-card.expanded {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.expand-card.expanded .card-content {
  transform: translateY(0);
}

.expand-card.expanded .card-details {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--space-4);
}

.expand-card::after {
  content: '+';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.expand-card.expanded::after {
  content: '−';
  background: var(--accent);
  color: #fff;
  transform: rotate(180deg);
}

/* Numbered Neat Cards */
.neat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.neat-card {
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.neat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(179,155,125,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.neat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(179,155,125,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.neat-card:hover::before {
  opacity: 1;
}

.neat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  font-weight: 400;
  transition: color 0.3s ease;
  opacity: 0.5;
}

.neat-card:hover .neat-number {
  color: var(--accent);
  opacity: 1;
}

/* Sliding Cards */
.slider-container {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  padding: var(--space-4) 0 var(--space-8);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.slide-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.4s ease, border-color 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.slide-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* Pill Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.pill-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  white-space: nowrap;
}

[data-theme="light"] .pill-tag {
  background: rgba(0, 0, 0, 0.03);
}

.pill-tag:hover {
  background: rgba(179, 155, 125, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-6);
  position: relative;
}

.form-control {
  width: 100%;
  padding: var(--space-3) 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.form-control ~ .focus-border {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background-color: var(--accent);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-control:focus ~ .focus-border {
  width: 100%;
}

/* Card Image Wrapper & Zoom */
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  background: var(--bg-secondary);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.neat-card:hover .card-img-wrap img,
.expand-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
  white-space: nowrap;
}

/* Visual Feature Previews (Home) */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: 0;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 992px) {
  .preview-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

.preview-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
  text-decoration: none;
}

.preview-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  z-index: 1;
  filter: brightness(0.75);
}

.preview-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 12, 16, 0.85) 100%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.preview-card-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.preview-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(179, 155, 125, 0.25);
}

.preview-card:hover .preview-card-bg {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* Slide Cards with Rich Imagery */
.slider-container {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  padding: var(--space-4) var(--space-2) var(--space-8);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  cursor: grab;
  user-select: none;
}

.slider-container:active {
  cursor: grabbing;
}

.slider-container::-webkit-scrollbar {
  height: 4px;
}

.slider-container::-webkit-scrollbar-track {
  background: transparent;
}

.slider-container::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.slider-container:hover::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.slide-card {
  flex: 0 0 320px;
  height: 240px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}

.slide-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: brightness(0.65);
}

.slide-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 12, 16, 0.88) 100%);
  z-index: 2;
}

.slide-card-content {
  position: relative;
  z-index: 3;
}

.slide-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.slide-card:hover .slide-card-bg {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* Contact Media Showcase Card */
.contact-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 440px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

.contact-media-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-media-card:hover .contact-media-bg {
  transform: scale(1.05);
}

.contact-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(10, 12, 16, 0.88) 100%);
  z-index: 2;
}

.contact-media-content {
  position: relative;
  z-index: 3;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Contact Form Card Matching Height */
.contact-grid > .reveal {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  height: 100%;
  min-height: 440px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* Expand Card Image Thumbnail */
.expand-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--bg-secondary);
}

.expand-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.expand-card:hover .expand-img-wrap img {
  transform: scale(1.08);
}

/* Subtle Vector Background Patterns for Every Page */
.page {
  position: relative;
  overflow: hidden;
}

.vector-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
  transition: opacity 0.5s ease;
}

[data-theme="dark"] .vector-bg {
  opacity: 0.12;
}

/* Home: Architectural Blueprint Grid */
.vector-bg-home {
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(179, 155, 125, 0.5) 1px, transparent 0),
    linear-gradient(to right, rgba(179, 155, 125, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(179, 155, 125, 0.2) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px, 80px 80px;
}
[data-theme="dark"] .vector-bg-home {
  background-image: 
    radial-gradient(circle at 1px 1px, var(--accent) 1px, transparent 0),
    linear-gradient(to right, rgba(179, 155, 125, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(179, 155, 125, 0.15) 1px, transparent 1px);
}

/* Districts: Biophilic Hexagonal Urban Grid */
.vector-bg-districts {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='83' viewBox='0 0 48 83'%3E%3Cpath d='M24 0l24 13.85v27.7L24 55.4 0 41.55V13.85L24 0zm0 83l24-13.85V41.45L24 27.6 0 41.45v27.7L24 83z' fill='none' stroke='%23b39b7d' stroke-width='0.6' stroke-opacity='0.5'/%3E%3C/svg%3E");
  background-size: 48px 83px;
}
[data-theme="dark"] .vector-bg-districts {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='83' viewBox='0 0 48 83'%3E%3Cpath d='M24 0l24 13.85v27.7L24 55.4 0 41.55V13.85L24 0zm0 83l24-13.85V41.45L24 27.6 0 41.45v27.7L24 83z' fill='none' stroke='%23b39b7d' stroke-width='0.6' stroke-opacity='0.25'/%3E%3C/svg%3E");
}

/* HealthTech: Neural / Molecular Mesh Grid */
.vector-bg-healthtech {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23b39b7d' fill-opacity='0.4'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23b39b7d' fill-opacity='0.4'/%3E%3Ccircle cx='60' cy='0' r='1.5' fill='%23b39b7d' fill-opacity='0.4'/%3E%3Ccircle cx='0' cy='60' r='1.5' fill='%23b39b7d' fill-opacity='0.4'/%3E%3Ccircle cx='60' cy='60' r='1.5' fill='%23b39b7d' fill-opacity='0.4'/%3E%3Cpath d='M0 0l30 30m30 0L30 30m0 0l-30 30m30-30l30 30' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.3'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
[data-theme="dark"] .vector-bg-healthtech {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23b39b7d' fill-opacity='0.35'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23b39b7d' fill-opacity='0.35'/%3E%3Ccircle cx='60' cy='0' r='1.5' fill='%23b39b7d' fill-opacity='0.35'/%3E%3Ccircle cx='0' cy='60' r='1.5' fill='%23b39b7d' fill-opacity='0.35'/%3E%3Ccircle cx='60' cy='60' r='1.5' fill='%23b39b7d' fill-opacity='0.35'/%3E%3Cpath d='M0 0l30 30m30 0L30 30m0 0l-30 30m30-30l30 30' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.22'/%3E%3C/svg%3E");
}

/* Corridors: Global Nexus & Vector Range Grid */
.vector-bg-corridors {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.25' stroke-dasharray='3 3'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.28'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%23b39b7d' fill-opacity='0.35'/%3E%3Cpath d='M50 0v100M0 50h100' stroke='%23b39b7d' stroke-width='0.45' stroke-opacity='0.2'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}
[data-theme="dark"] .vector-bg-corridors {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.2' stroke-dasharray='3 3'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.22'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%23b39b7d' fill-opacity='0.3'/%3E%3Cpath d='M50 0v100M0 50h100' stroke='%23b39b7d' stroke-width='0.45' stroke-opacity='0.16'/%3E%3C/svg%3E");
}

/* Model: Isometric Circuit Grid */
.vector-bg-model {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 40h80M40 0v80M20 20h40v40H20z' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.3' stroke-dasharray='4 4'/%3E%3Ccircle cx='40' cy='40' r='2.5' fill='%23b39b7d' fill-opacity='0.4'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
[data-theme="dark"] .vector-bg-model {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 40h80M40 0v80M20 20h40v40H20z' fill='none' stroke='%23b39b7d' stroke-width='0.55' stroke-opacity='0.22' stroke-dasharray='4 4'/%3E%3Ccircle cx='40' cy='40' r='2.5' fill='%23b39b7d' fill-opacity='0.3'/%3E%3C/svg%3E");
}

/* Leadership: Minimalist Architectural Hatching */
.vector-bg-leadership {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M0 50L50 0M0 0l50 50' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.28'/%3E%3C/svg%3E");
  background-size: 50px 50px;
}
[data-theme="dark"] .vector-bg-leadership {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M0 50L50 0M0 0l50 50' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.2'/%3E%3C/svg%3E");
}

/* Partner: Constellation Nexus */
.vector-bg-partner {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70'%3E%3Cpolygon points='35,5 65,55 5,55' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.28'/%3E%3Cpolygon points='35,65 65,15 5,15' fill='none' stroke='%23b39b7d' stroke-width='0.5' stroke-opacity='0.2'/%3E%3Ccircle cx='35' cy='35' r='1.8' fill='%23b39b7d' fill-opacity='0.35'/%3E%3C/svg%3E");
  background-size: 70px 70px;
}
[data-theme="dark"] .vector-bg-partner {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70'%3E%3Cpolygon points='35,5 65,55 5,55' fill='none' stroke='%23b39b7d' stroke-width='0.55' stroke-opacity='0.22'/%3E%3Cpolygon points='35,65 65,15 5,15' fill='none' stroke='%23b39b7d' stroke-width='0.55' stroke-opacity='0.16'/%3E%3Ccircle cx='35' cy='35' r='1.8' fill='%23b39b7d' fill-opacity='0.28'/%3E%3C/svg%3E");
}

/* Smooth Scrollbar for Global */
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==========================================================================
   Standardized Page Headers (Consistent across all subpages)
   ========================================================================== */
.page-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto var(--space-12);
  position: relative;
  z-index: 2;
}

.page-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(179, 155, 125, 0.08);
  border: 1px solid rgba(179, 155, 125, 0.2);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.01em;
}

.page-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 720px;
}

/* ==========================================================================
   Clean Flowchart Pipeline (No rounded box, properly aligned)
   ========================================================================== */
.flowchart-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto var(--space-8);
  position: relative;
  padding: 0 var(--space-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flowchart-pipeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(179, 155, 125, 0.3) 50%, var(--accent) 100%);
  z-index: 1;
}

.flowchart-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
  min-width: 95px;
  text-decoration: none;
}

.flowchart-node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  box-shadow: 0 0 10px rgba(179, 155, 125, 0.25);
  transition: all 0.3s ease;
}

.flowchart-node:hover .flowchart-node-circle {
  background: var(--accent);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 16px rgba(179, 155, 125, 0.6);
}

.flowchart-node-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flowchart-node-sub {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.launch-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: var(--space-6);
  position: relative;
}

.launch-flow-card {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.launch-flow-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--accent);
}

[data-theme="dark"] .launch-flow-card:hover {
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.5), 0 0 12px rgba(179, 155, 125, 0.2);
}

.flow-card-img {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--bg-secondary);
}

.flow-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.launch-flow-card:hover .flow-card-img img {
  transform: scale(1.08);
}

.flow-stage-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--radius-full);
  border: 1px solid rgba(179, 155, 125, 0.4);
  z-index: 2;
}

.flow-deliverable-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(179, 155, 125, 0.08);
  border: 1px solid rgba(179, 155, 125, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin-top: var(--space-4);
  width: fit-content;
}


