/* ---------- Variables ---------- */
:root {
  --black: #000000;
  --grey-950: #0c0c0c;
  --grey-900: #141414;
  --grey-800: #1e1e1e;
  --grey-700: #2a2a2a;
  --grey-600: #404040;
  --grey-500: #686868;
  --grey-400: #999999;
  --grey-300: #bbbbbb;
  --grey-200: #d8d8d8;
  --grey-100: #eeeeee;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.25);
  --border-light: rgba(255, 255, 255, 0.38);
  --font-main: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 90px;
  --max-w: 1280px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--grey-100);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 1px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--grey-600);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 80px 0;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-logo-mark {
  width: 140px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  flex-shrink: 0;
}

.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tablet — scale logo down slightly */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 24px;
  }

  .nav-logo-mark {
    width: 72px;
    height: 68px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-400);
  border-radius: 4px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
}

.nav-cta {
  margin-left: 12px;
  padding: 9px 20px;
  border: 1px solid var(--grey-600);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Two-column hero grid: text left, 3D right */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* 3D canvas container — right column */
.hero-canvas-wrap {
  position: relative;
  width: 100%;
  min-height: 420px;
  align-self: stretch;
}

.hero-canvas-wrap canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--grey-600);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 48px;
}

.hero-title em {
  font-style: normal;
  color: var(--grey-500);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-desc {
  max-width: 440px;
  font-size: 1rem;
  color: var(--grey-400);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--grey-200);
  color: var(--black);
}

.btn-ghost {
  border: 1px solid var(--grey-700);
  color: var(--grey-300);
}

.btn-ghost:hover {
  border-color: var(--grey-400);
  color: var(--white);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============ SECTION LABELS ============ */
.sec-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--grey-600);
}

.sec-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.sec-subtitle {
  font-size: 1rem;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 520px;
}

.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  padding-bottom: 32px;
}

/* ============ CARDS ============ */
/* Project Card — BCR-style rounded grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--grey-950);
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--grey-400);
  transform: translateY(-4px);
}

.card-img-wrap {
  aspect-ratio: 16/12;
  overflow: hidden;
  background: var(--grey-900);
  position: relative;
  border-radius: 12px 12px 0 0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.project-card:hover .card-img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-900);
  color: var(--grey-600);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.card-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(0.55);
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.project-card:hover .card-img-placeholder img,
.blog-card:hover .blog-card-img .card-img-placeholder img {
  transform: scale(1.04);
  filter: grayscale(20%) brightness(0.7);
}

.card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-category {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.card-year {
  font-size: 0.72rem;
  color: var(--grey-600);
}

.card-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-summary {
  font-size: 0.85rem;
  color: var(--grey-400);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  font-size: 0.68rem;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 40px;
  color: var(--grey-400);
  letter-spacing: 0.04em;
}

.card-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-300);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
  margin-top: auto;
}

.card-link::after {
  content: '→';
}

.card-link:hover {
  color: var(--white);
  gap: 14px;
}

/* Blog Card — BCR-style rounded */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--grey-950);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.blog-card:hover {
  border-color: var(--grey-400);
  transform: translateY(-4px);
}

.blog-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--grey-900);
  border-radius: 12px 12px 0 0;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) brightness(0.65);
  transition: transform 0.5s var(--ease), filter 0.4s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
  filter: grayscale(30%) brightness(0.8);
}

.blog-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.blog-category {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  background: var(--grey-800);
  padding: 3px 10px;
  border-radius: 40px;
}

.blog-date {
  font-size: 0.72rem;
  color: var(--grey-600);
}

.blog-read-time {
  font-size: 0.72rem;
  color: var(--grey-600);
}

.blog-title {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  flex: 1;
}

.blog-excerpt {
  font-size: 0.84rem;
  color: var(--grey-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============ STAT ROW ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
}

.stat-item {
  background: var(--grey-950);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s;
}

.stat-item:hover {
  border-color: var(--grey-400);
}

.stat-num {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ============ PARTNERS GRID ============ */
.partners-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.partners-row:last-child {
  margin-bottom: 0;
}

.partners-category {
  margin-bottom: 16px;
  margin-top: 28px;
}

.partners-category:first-of-type {
  margin-top: 0;
}

.partners-category-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  text-transform: uppercase;
  margin: 0;
  padding: 12px 0 8px 0;
}

.partner-item {
  background: var(--grey-950);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}

.partner-item:hover {
  border-color: var(--grey-400);
  transform: translateY(-4px);
}

/* GLOBAL HOVER TOGGLE: Add/Remove 'partners-section-no-hover' class from section */
.partners-section-no-hover .partner-item:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: none;
}

.partners-section-no-hover .partner-item:hover span {
  color: var(--grey-500);
}

.partners-section-no-hover .partner-item:hover svg {
  color: var(--grey-400);
}

.partner-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.partner-item svg {
  width: 36px;
  height: 36px;
  color: var(--grey-400);
  transition: color 0.3s;
}

.partner-item:hover svg {
  color: var(--white);
}

.partner-item span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--grey-500);
  transition: color 0.3s;
  text-align: center;
}

.partner-item:hover span {
  color: var(--grey-200);
}

/* ============ FILTER BUTTONS ============ */
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--grey-800);
  color: var(--grey-500);
  font-size: 0.78rem;
  font-family: var(--font-main);
  letter-spacing: 0.08em;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 4px;
}

.filter-btn:hover {
  border-color: var(--grey-500);
  color: var(--grey-200);
}

.filter-btn.active {
  border-color: var(--grey-300);
  color: var(--white);
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 40px 0;
}

.cta-section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-section-inner h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-section-inner p {
  font-size: 0.95rem;
  color: var(--grey-400);
  margin-top: 16px;
  max-width: 440px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .cta-section-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ FOOTER — simple ============ */
.footer {
  padding: 32px 0 20px;
  background: var(--black);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 240px;
}

.footer-brand-text {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: var(--grey-600);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--grey-500);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer-nav a:hover {
  color: var(--white);
}

/* Footer navigation links — match nav-link appearance */
.footer-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-400);
  border-radius: 4px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer-link:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social-link:hover {
  border-color: var(--grey-300);
  color: var(--white);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.89rem;
  color: var(--grey-400);
}

.footer-meta {
  display: flex;
  gap: 16px;
}

.footer-meta a {
  font-size: 0.75rem;
  color: var(--grey-400);
  transition: color 0.2s;
}

.footer-meta a:hover {
  color: var(--white);
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 40px;
}

.page-hero .hero-grid {
  align-items: center;
}

.page-hero .hero-canvas-wrap {
  min-height: 320px;
}

.page-hero+.section {
  padding-top: 40px;
}

.page-hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--grey-700);
}

.page-hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 32px;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 560px;
}

/* ============ CONTACT SECTION ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* Left card — "Let's Connect" style */
.contact-card {
  background: var(--grey-900);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 480px;
}

.contact-card-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.contact-card-desc {
  font-size: 0.9rem;
  color: var(--grey-400);
  line-height: 1.75;
  margin-top: 8px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--grey-400);
}

.contact-info-text {
  font-size: 0.875rem;
  color: var(--grey-300);
  line-height: 1.5;
}

a.contact-info-text:hover {
  color: var(--white);
}

/* Social icon row at bottom of card */
.contact-social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.contact-social-icon:hover {
  border-color: var(--grey-300);
  color: var(--white);
  background: var(--grey-800);
}

.contact-social-icon svg {
  width: 16px;
  height: 16px;
}

/* Right: clean form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-input {
  width: 100%;
  background: var(--grey-900);
  border: 1px solid var(--grey-700);
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 0.875rem;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.form-input::placeholder {
  color: var(--grey-500);
}

.form-input:focus {
  border-color: var(--grey-400);
  background: var(--grey-800);
}

.form-textarea {
  min-height: 150px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px 28px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.form-submit-btn:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
}

/* ============ FADE-IN ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============ DETAIL PAGE ============ */
.detail-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.detail-hero .hero-canvas-wrap {
  min-height: 320px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--grey-500);
  transition: color 0.2s;
  margin-bottom: 48px;
}

.back-link:hover {
  color: var(--white);
}

.back-link::before {
  content: '←';
}

.detail-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 32px;
}

.detail-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: grayscale(20%);
  background: var(--grey-900);
}

.detail-img-placeholder {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--grey-900);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  margin-top: 64px;
  align-items: start;
}

.detail-body {
  font-size: 1rem;
  color: var(--grey-300);
  line-height: 1.85;
}

.detail-body p {
  margin-bottom: 24px;
}

.detail-body h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  color: var(--white);
  margin: 40px 0 16px;
  font-weight: 600;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-block {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 16px;
  background: var(--grey-950);
}

.sidebar-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 16px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Image Gallery */
.image-gallery {
  gap: 16px;
  margin-top: 32px;
}

.image-gallery.gallery-multiple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.image-gallery.gallery-single {
  display: flex;
  justify-content: center;
}

.gallery-image-item {
  aspect-ratio: 4/3;
  background: var(--grey-900);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-image-item.single-image {
  max-width: 620px;
  width: 100%;
}

.gallery-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-image-item.has-overlay {
  position: relative;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  cursor: pointer;
  transition: background 0.3s;
  padding: 12px;
}

.gallery-image-item.has-overlay:hover .image-overlay {
  background: rgba(0, 0, 0, 0.75);
}

.image-overlay span {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Gallery See All */
.gallery-see-all {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-see-all {
  padding: 1px 16px;
  border-radius: 50px;
  background: transparent;
  color: var(--grey-400);
  border: 1px solid var(--grey-600);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-see-all:hover {
  color: var(--grey-300);
  border-color: var(--grey-400);
  transform: scale(1.08);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--grey-300);
}

.sidebar-item::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--grey-700);
  flex-shrink: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 10px 0;
  font-size: 0.8rem;
}

.spec-table td:first-child {
  color: var(--grey-500);
  width: 45%;
}

.spec-table td:last-child {
  color: var(--grey-200);
  font-weight: 500;
}

/* ============ BLOG DETAIL ============ */
.blog-detail-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 0 40px;
}

.blog-detail-content p {
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: var(--grey-300);
  line-height: 1.85;
}

.blog-detail-content h2 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
  margin: 48px 0 20px;
  letter-spacing: -0.02em;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--white);
  color: var(--black);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 14px 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }

  .hero-grid,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-canvas-wrap {
    min-height: 300px;
  }

  .hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

  .featured-project {
    grid-template-columns: 1fr;
  }

  .featured-img {
    aspect-ratio: 16/7;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    gap: 32px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .partners-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .partner-item {
    padding: 24px 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 76px;
  }

  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 0 16px;
    position: relative;
    z-index: 1002;
    /* always above the dropdown panel */
  }

  .nav-logo-mark {
    width: 56px;
    height: 52px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Explicit height overrides the containing-block created by navbar's backdrop-filter */
    height: 100vh;
    height: 100svh;
    /* Safari mobile */
    height: 100dvh;
    /* dynamic viewport — handles browser chrome show/hide */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* NOT center — center clips overflow and makes links unreachable when scrolled */
    gap: 0;
    padding: 30vh 32px 60px;
    /* top padding creates visual centering without clipping */
    background: #0a0a0a;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  /* Hide the li wrappers so links stack cleanly */
  .nav-links li {
    width: 100%;
    list-style: none;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--grey-400);
    letter-spacing: 0.04em;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    transition: color 0.2s;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--white);
  }

  .nav-cta {
    display: block;
    width: 100%;
    margin: 28px 0 0;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: transparent;
    transition: background 0.2s, border-color 0.2s;
  }

  .nav-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .sec-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .partners-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .partner-item {
    padding: 20px 12px;
  }

  .page-hero-title {
    font-size: clamp(2.2rem, 7vw, 4rem);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Missing featured project styles */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.featured-img {
  aspect-ratio: 16/7;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--grey-900);
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--grey-950);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--grey-700);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--grey-500);
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--grey-300);
  line-height: 1.8;
  font-style: normal;
}

/* How We Work Grid — 3 cards in first row, 2 centered in second row */
.testimonials-grid.masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: start;
}

/* First 3 cards span 2 columns each */
.testimonials-grid.masonry .testimonial-card:nth-child(1) {
  grid-column: 1 / 3;
}

.testimonials-grid.masonry .testimonial-card:nth-child(2) {
  grid-column: 3 / 5;
}

.testimonials-grid.masonry .testimonial-card:nth-child(3) {
  grid-column: 5 / 7;
}

/* Last 2 cards centered in second row */
.testimonials-grid.masonry .testimonial-card:nth-child(4) {
  grid-column: 2 / 4;
}

.testimonials-grid.masonry .testimonial-card:nth-child(5) {
  grid-column: 4 / 6;
}

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

  .testimonials-grid.masonry {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid.masonry .testimonial-card:nth-child(4),
  .testimonials-grid.masonry .testimonial-card:nth-child(5) {
    grid-column: auto;
    justify-self: center;
  }

  .testimonials-grid.masonry .testimonial-card {
    height: auto;
  }
}

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

  .testimonials-grid.masonry {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }

  .testimonials-grid.masonry .testimonial-card:nth-child(1) {
    grid-row: unset;
  }

  .testimonial-card {
    padding: 32px 24px;
  }
}


/* ============ TEAM PEOPLE SECTION ============ */

/* Directors — larger avatar */
.team-directors .testimonial-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
}

/* Staff — smaller avatar to fit 4-up layout */
.team-staff .testimonial-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.team-directors {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.team-directors .testimonial-card {
  flex: 0 1 380px;
  max-width: 420px;
}

/* 4 cards per row for staff */
.team-staff {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Reduce padding on staff cards so content fits at smaller width */
.team-staff .testimonial-card {
  padding: 28px 20px;
}

/* If only 1 card is left alone on the last row, centre it */
.team-staff .testimonial-card:last-child:nth-child(4n+1) {
  grid-column: 2 / 4;
}

@media (max-width: 1100px) {
  .team-staff {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-staff .testimonial-card:last-child:nth-child(4n+1) {
    grid-column: unset;
  }
}

@media (max-width: 900px) {
  .team-directors .testimonial-card {
    flex: 0 1 300px;
  }

  .team-staff {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-staff .testimonial-card {
    padding: 24px 18px;
  }

  .team-staff .testimonial-avatar {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 600px) {
  .team-directors {
    flex-direction: column;
    align-items: center;
  }

  .team-directors .testimonial-card {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .team-staff {
    grid-template-columns: 1fr;
  }

  .team-section .testimonial-avatar {
    width: 120px;
    height: 120px;
  }
}

/* ============ UTILITY CLASSES ============ */

/* Hidden labels for accessibility */
.sr-only {
  display: none;
}

/* Remove link decoration */
.no-decoration {
  text-decoration: none;
}

/* Flex containers */
.flex-center-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-col-center-gap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: var(--nav-h);
}

.flex-shrink {
  flex-shrink: 0;
}

.flex-gap-8 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flex-gap-16 {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.flex-gap-20 {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Margin utilities */
.mb-1px {
  margin-bottom: 1px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-48 {
  margin-bottom: 48px;
}

.mt-40 {
  margin-top: 40px;
}

/* Padding utilities */
.pb-40 {
  padding-bottom: 40px;
}

.pt-0 {
  padding-top: 0;
}

.p-40 {
  padding: 40px 0;
}

/* Section padding */
.section-no-top {
  padding-top: 0;
}

/* Loading/Error states */
.loading-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: var(--nav-h);
}

.loading-text {
  color: var(--grey-600);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.error-text {
  color: var(--grey-600);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Filter bar container */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Link containers in detail pages */
.featured-post-container {
  margin-bottom: 1px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.post-metadata {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-author-avatar {
  width: 36px;
  height: 36px;
  background: var(--grey-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey-400);
}

.post-author-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-author-name {
  font-size: 0.85rem;
  color: var(--grey-300);
  font-weight: 500;
}

.post-author-company {
  font-size: 0.75rem;
  color: var(--grey-600);
}

/* Featured image container */
.featured-image-container {
  aspect-ratio: 4/3;
  background: var(--grey-900);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  cursor: pointer;
}

.featured-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Multiple images grid */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-image {
  background: var(--grey-900);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog detail container */
.blog-post-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Detail page title */
.detail-page-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 32px;
  max-width: 800px;
}

/* Related section title */
.related-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.related-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

/* Features list */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--grey-300);
}

.feature-icon {
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--grey-300);
  stroke-width: 2;
}

.project-metadata {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.project-status-tag {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Lightbox styles */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  padding: 0;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--grey-400);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  z-index: 10001;
}

/* Team member styles */
.team-member-avatar {
  width: 56px;
  height: 56px;
  background: var(--grey-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-900);
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--grey-500);
}

.team-member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  justify-content: center;
}

.team-member-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
}

.team-member-contact-link {
  font-size: 0.82rem;
  color: var(--grey-400);
  transition: color 0.2s;
}

.team-member-contact-link:hover {
  color: var(--white);
}

/* Footer logo sizing */
.footer-logo {
  width: 140px;
  height: 102px;
}

/* Project status tags */
.tag.status-active {
  color: var(--grey-300);
}

.tag.status-inactive {
  color: var(--grey-500);
}

/* ============ THANK YOU MODAL ============ */
.thank-you-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.thank-you-modal.active {
  display: flex;
}

.thank-you-content {
  background: var(--grey-900);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: slideInUp 0.4s var(--ease);
}

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

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--grey-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-300);
}

.thank-you-icon svg {
  stroke: currentColor;
}

.thank-you-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.thank-you-message {
  font-size: 0.95rem;
  color: var(--grey-400);
  line-height: 1.6;
}

.thank-you-modal .btn {
  margin-top: 12px;
  min-width: 140px;
}

@media (max-width: 768px) {
  .thank-you-content {
    padding: 40px 24px;
    max-width: 90%;
  }

  .thank-you-title {
    font-size: 1.5rem;
  }

  .thank-you-message {
    font-size: 0.9rem;
  }
}