/* ============================================
   RMA HOLDING — 2026 DESIGN SYSTEM
   ============================================ */

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('assets/font/BasisGrotesquePro-Regular.woff2') format('woff2'),
        url('assets/font/BasisGrotesquePro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('assets/font/BasisGrotesquePro-Light.woff2') format('woff2'),
        url('assets/font/BasisGrotesquePro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('assets/font/BasisGrotesquePro-Regular.woff2') format('woff2'),
        url('assets/font/BasisGrotesquePro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('assets/font/BasisGrotesquePro-Light.woff2') format('woff2'),
        url('assets/font/BasisGrotesquePro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ---- VARIABLES ---- */
:root {
  --black: #0A0A0A;
  --white: #ffffff;
  --off-white: #F7F6F2;
  --accent: #013849;
  --accent-dark: #012530;
  --accent-light: #E8F0F2;
  --gray: #F2F1ED;
  --gray-mid: #E5E4E0;
  --gray-light: #6B7280;
  --border: #E0DED9;
  --font-display: 'Basis Grotesque Pro', sans-serif;
  --font-serif: 'Basis Grotesque Pro', serif;
  --font-body: 'Basis Grotesque Pro', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ---- CUSTOM CURSOR ---- */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: normal;
}
.cursor-follower {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(1, 56, 73, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}
.cursor.hover { width: 6px; height: 6px; }
.cursor-follower.hover { width: 70px; height: 70px; border-color: var(--accent); }

/* ---- NOISE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.06;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
  transition: background 0.5s, padding 0.4s;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--black);
}
.nav-logo span { color: var(--accent); }
.nav-logo svg { width: 180px; height: auto; }

.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--black); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.btn-consultation {
  padding: 12px 24px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.btn-consultation:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.04);
}

.lang-switcher {
  display: flex;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.lang-switcher a { color: rgba(10,10,10,0.4); transition: color 0.3s; }
.lang-switcher a.active, .lang-switcher a:hover { color: var(--black); }
.lang-switcher span { color: rgba(10,10,10,0.2); }

/* ---- HERO SLIDER ---- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 1080px;
  overflow: hidden;
  background: var(--black);
}
.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 25%;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.hero-slide > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease-out;
}
.hero-slide:hover img {
  transform: scale(1.08);
}
.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  z-index: 2;
  color: #fff;
}
.hero-slide-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-slide-desc {
  font-size: clamp(13px, 1vw, 16px);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

/* Slider Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover {
  background: rgba(0,0,0,0.7);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.hero-arrow-prev { left: 32px; }
.hero-arrow-next { right: 32px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-slide { flex: 0 0 50%; }
  .hero-arrow-prev { left: 16px; }
  .hero-arrow-next { right: 16px; }
  .hero-arrow { width: 52px; height: 52px; }
  .hero-arrow svg { width: 24px; height: 24px; }
  .hero-slide-caption { padding: 40px 32px; }
}
@media (max-width: 640px) {
  .hero-slider { min-height: 500px; height: 70vh; }
  .hero-slide { flex: 0 0 100%; }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow svg { width: 20px; height: 20px; }
  .hero-slide-caption { padding: 32px 20px; }
}

/* ---- HERO (fallback) ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
  filter: grayscale(20%);
  transform: scale(1.08);
  transform-origin: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(1,38,48,0.88) 0%,
    rgba(1,38,48,0.50) 50%,
    rgba(1,38,48,0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 48px;
}

.hero-text-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 8;
}
.hero-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 40px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  overflow: hidden;
  text-align: center;
}
.hero-headline .line {
  display: block;
  transform: translateY(110%);
}
.hero-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.7;
  transform: translateY(20px);
  opacity: 0;
  text-align: center;
}
.hero-desc-cols {
  display: none;
}
.hero-desc-col {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* Curved Text */
.hero-curved {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 42vw, 520px);
  height: clamp(260px, 42vw, 520px);
  z-index: 5;
  animation: rotateCurved 25s linear infinite;
  pointer-events: none;
}
@keyframes rotateCurved { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-curved textPath {
  font-family: var(--font-display);
  font-size: 0.8em;
  letter-spacing: 0.22em;
  fill: rgba(255,255,255,0.65);
}

/* Right nav */
.hero-nav-vertical {
  display: none;
}
.hero-nav-vertical li {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
  writing-mode: horizontal-tb;
  cursor: pointer;
}
.hero-nav-vertical li:first-child { color: var(--white); }
.hero-nav-vertical li:hover { color: var(--white); }

/* Scroll button */
.hero-scroll {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-scroll-circle {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  animation: pulseCircle 2.5s ease-in-out infinite;
}
@keyframes pulseCircle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.hero-scroll:hover .hero-scroll-circle {
  background: var(--accent);
  border-color: var(--accent);
}

/* Stats strip */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  z-index: 10;
  background: rgba(1,38,48,0.6);
  backdrop-filter: blur(12px);
}
.hero-stat {
  padding: 28px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: #fff; }
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* ---- SECTION COMMONS ---- */
.section { padding: 120px 48px; }
.section-sm { padding: 80px 48px; }
.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: var(--black);
}
.section-body {
  font-size: 15px;
  font-weight: 300;
  color: rgba(10,10,10,0.55);
  line-height: 1.8;
  max-width: 520px;
}

/* ---- TRUST SECTION ---- */
.trust {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  border-bottom: 1px solid var(--border);
}
.trust-text {
  padding: 100px 72px 100px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.trust-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 8px;
}
.trust-number span { color: var(--accent); }
.trust-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  color: rgba(10,10,10,0.6);
  margin-bottom: 32px;
}
.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(10,10,10,0.6);
}
.trust-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.trust-images {
  position: relative;
  overflow: hidden;
  background: var(--gray);
}
.trust-img-grid {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.trust-img-item {
  overflow: hidden;
  position: relative;
}
.trust-img-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.trust-img-item:hover img { transform: scale(1.05); filter: grayscale(0%); }
.trust-img-item:first-child {
  grid-row: 1 / 3;
}

/* ---- MARQUEE ---- */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
  background: var(--gray);
}
.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 22px 40px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 48px);
  letter-spacing: 0.05em;
  color: rgba(10,10,10,0.15);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover { color: rgba(10,10,10,0.5); }
.marquee-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- ABOUT / KURUMSAL PAGE ---- */
.about-hero {
  height: 65vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 80px 48px;
  background: var(--black);
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80') center/cover;
  filter: grayscale(50%);
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,38,48,0.96) 0%, rgba(1,38,48,0.25) 100%);
}
.about-hero-content { position: relative; z-index: 2; }
.about-hero-tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 48px);
  line-height: 0.9;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 48px;
  background: var(--black);
}
.about-intro-left .big-letter {
  font-family: var(--font-display);
  font-size: clamp(100px, 15vw, 200px);
  line-height: 0.8;
  color: rgba(255,255,255,0.04);
  position: absolute;
  left: 48px;
  pointer-events: none;
}
.about-intro-left { position: relative; }
.about-intro-left .content { position: relative; z-index: 2; }
.about-intro-text {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}
.about-intro-right {
  padding-top: 60px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-value {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  cursor: pointer;
  transition: padding-left 0.3s var(--ease-out);
}
.about-value:hover { padding-left: 8px; }
.about-value:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.about-value-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.about-value-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.about-value-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* History Timeline */
.about-timeline {
  background: var(--gray);
  padding: 100px 48px;
}
.timeline-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 60px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.timeline-item {
  padding: 40px 40px 40px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background 0.3s;
}
.timeline-item:hover { background: rgba(200, 38, 26, 0.05); }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 44px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--black);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 12px;
}
.timeline-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* Leadership */
.about-leadership {
  padding: 100px 48px;
  background: var(--black);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 60px;
}
.leader-card {
  position: relative;
  overflow: hidden;
  background: var(--gray);
  aspect-ratio: 3/4;
  cursor: pointer;
}
.leader-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.leader-card:hover .leader-img { transform: scale(1.05); filter: grayscale(20%); }
.leader-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(8,8,8,0.95), transparent);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.leader-card:hover .leader-info { transform: translateY(0); opacity: 1; }
.leader-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
}
.leader-title { font-size: 12px; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.leader-overlay-base {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 32px;
  background: linear-gradient(to top, rgba(8,8,8,0.7), transparent);
}
.leader-name-base { font-family: var(--font-display); font-size: 22px; }
.leader-title-base { font-size: 11px; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- PROJECTS PAGE ---- */
.projects-hero {
  height: 55vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 80px 48px;
}
.projects-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=80') center/cover;
  filter: grayscale(50%);
}
.projects-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,38,48,0.97) 0%, rgba(1,38,48,0.3) 100%);
}
.projects-hero-content { position: relative; z-index: 2; }

/* Project filters */
.project-filters {
  padding: 40px 48px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--white);
}
.filter-btn {
  padding: 10px 22px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: rgba(10,10,10,0.5);
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Map section */
.projects-map-section {
  background: var(--gray);
  padding: 80px 48px;
}
.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 48px;
}
#projectsMap { width: 100%; height: 100%; }

/* Leaflet custom */
.leaflet-tile { filter: grayscale(100%) invert(1) brightness(0.3) contrast(1.2); }
.project-marker-pin {
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid var(--white);
}
.leaflet-popup-content-wrapper {
  background: var(--black) !important;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-tip { background: var(--black) !important; }
.map-popup-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.04em; }
.map-popup-sub { font-size: 11px; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.map-popup-year { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; }
.leaflet-popup-close-button { color: var(--white) !important; font-size: 18px !important; }

/* Projects grid */
.projects-grid {
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-mid);
  border-radius: 2px;
}
.project-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.project-card:hover .project-card-img { transform: scale(1.08); filter: grayscale(0%); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0) 60%);
  opacity: 0.7;
  transition: opacity 0.4s;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}
.project-card:hover .project-card-info { transform: translateY(0); }
.project-card-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.project-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.project-card-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.project-card-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), background 0.3s;
}
.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: scale(1);
  background: var(--accent);
  border-color: var(--accent);
}

/* Large feature card */
.project-card.large {
  grid-column: span 2;
  aspect-ratio: 16/6;
}
.project-card.large .project-card-name { font-size: 40px; }

/* Charts */
.projects-stats {
  padding: 80px 48px;
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.chart-wrap { position: relative; }
.chart-title {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
canvas#sectorChart { max-width: 100%; }
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- PRESS / BASIN PAGE ---- */
.press-hero {
  height: 55vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 80px 48px;
  background: var(--black);
}
.press-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1600&q=80') center/cover;
  filter: grayscale(50%);
}
.press-hero-content { position: relative; z-index: 2; }

.press-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 38, 48, 0.96) 0%, rgba(1, 38, 48, 0.25) 100%);
}

.press-grid {
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.press-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.press-card:hover { background: var(--off-white); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.press-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter 0.5s, transform 0.8s var(--ease-out);
  overflow: hidden;
  display: block;
}
.press-card:hover .press-card-img { filter: grayscale(0%); }
.press-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.press-card-date {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.press-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--black);
  flex: 1;
  margin-bottom: 20px;
}
.press-card-source {
  font-size: 11px;
  color: rgba(10,10,10,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.press-card-source::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: rgba(10,10,10,0.15);
}

/* Featured press card */
.press-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.press-card.featured .press-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  min-height: 350px;
}
.press-card.featured .press-card-body {
  padding: 60px;
  justify-content: center;
}
.press-card.featured .press-card-title { font-size: 32px; }

/* ---- CONTACT PAGE ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 100px;
  background: var(--white);
}
.contact-left {
  background: var(--gray);
  padding: 100px 60px 80px 48px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.contact-info {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-info-item { }
.contact-info-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact-info-value {
  font-size: 16px;
  font-weight: 300;
  color: rgba(10,10,10,0.7);
  line-height: 1.6;
}
.contact-social {
  margin-top: auto;
  padding-top: 60px;
  display: flex;
  gap: 20px;
}
.contact-social a {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(10,10,10,0.4);
  transition: all 0.3s;
}
.contact-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.contact-right {
  background: var(--black);
  padding: 100px 48px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-input, .form-textarea {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  font-family: var(--font-body);
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  border-radius: 0;
  width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--accent-light);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(10,10,10,0.3); }
.form-textarea { resize: none; min-height: 140px; }
.form-select {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 16px 20px;
  font-size: 15px;
  color: rgba(10,10,10,0.5);
  font-family: var(--font-body);
  outline: none;
  width: 100%;
  appearance: none;
  cursor: pointer;
}
.form-select option { background: var(--white); color: var(--black); }
.btn-submit {
  padding: 18px 48px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  font-family: var(--font-body);
  transition: background 0.3s, transform 0.3s var(--ease-out);
  align-self: flex-start;
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateX(4px);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: rgba(10,10,10,0.45);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.3s, border-color 0.3s;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form-consent a { color: var(--white); text-decoration: underline; }

/* Map in contact */
.contact-map {
  height: 400px;
  background: var(--gray);
  position: relative;
}
#contactMap { width: 100%; height: 100%; }

/* ---- FOOTER ---- */
footer {
  background: var(--accent);
  border-top: none;
  padding: 80px 48px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #fff;
}
.footer-logo span { color: rgba(255,255,255,0.5); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s, padding-left 0.3s;
  display: block;
}
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-bottom a:hover { color: #fff; }

/* ---- PAGE TRANSITION ---- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--accent);
  z-index: 9997;
  transform: translateY(-100%);
  pointer-events: none;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }
.reveal[data-delay="500"] { transition-delay: 0.5s; }

/* ---- SUCCESS MESSAGE ---- */
.form-success {
  padding: 20px;
  background: rgba(1, 56, 73, 0.08);
  border: 1px solid var(--accent);
  font-size: 14px;
  color: var(--accent);
  display: none;
}
.form-success.show { display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .section { padding: 80px 32px; }
  .trust { grid-template-columns: 1fr; }
  .trust-images { min-height: 500px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.large { grid-column: span 2; }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .press-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-menu { display: none; }
  .section { padding: 64px 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .press-grid { grid-template-columns: 1fr; }
  .press-card.featured { grid-column: span 1; display: flex; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-curved { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- MOBILE MENU ---- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 1px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-in-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 52px;
  letter-spacing: 0.05em;
  color: rgba(10,10,10,0.5);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--black); }
.mobile-menu-close {
  position: absolute;
  top: 28px; right: 24px;
  font-size: 32px;
  color: var(--black);
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================================
   PROJECT DETAIL — extra responsive
   ============================================================ */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left { padding: 120px 32px 60px; }
  .contact-right { padding: 60px 32px 80px; }
  .projects-stats { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .trust { grid-template-columns: 1fr; }
  .trust-images { min-height: 480px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .section, .section-sm { padding: 64px 24px; }
  .hero-content { grid-template-columns: 1fr; padding: 0 24px; }
  .hero-nav-vertical { display: none; }
  .hero-stats { border-top: 1px solid rgba(255,255,255,.1); }
  .hero-stat { padding: 20px 24px; }
  .hero-stat-num { font-size: 32px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; aspect-ratio: 4/3; }
  .project-card.large .project-card-name { font-size: 28px; }
  .press-grid { grid-template-columns: 1fr; }
  .press-card.featured { grid-column: span 1; flex-direction: column; }
  .press-card.featured .press-card-img { min-height: 240px; width: 100%; }
  .press-card.featured .press-card-body { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .marquee-item { font-size: 28px; padding: 16px 24px; gap: 20px; }
  .timeline-items { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr 1fr; }
  /* Detail page */
  .detail-grid { grid-template-columns: 1fr !important; }
  .detail-sticky { position: static !important; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .trust-img-grid { grid-template-columns: 1fr; }
  .trust-img-item:first-child { grid-row: auto; }
  .leadership-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   ACTIVE NAV LINK — red underline indicator
   ============================================================ */
.nav-menu a.active { color: var(--black); }
.nav-menu a.active::after { width: 100%; background: var(--accent); }

/* ============================================================
   PRESS CARD IMAGE OVERFLOW FIX
   ============================================================ */
.press-card { overflow: hidden; }
.press-card-img-wrap { overflow: hidden; }
.press-card:hover .press-card-img { transform: scale(1.04); }
.press-card-img {
  display: block;
  width: 100%;
  transition: transform .8s cubic-bezier(.16,1,.3,1), filter .5s;
}

/* ============================================================
   SMOOTH SCROLL INDICATOR ARROW
   ============================================================ */
.hero-scroll svg { transition: transform .3s; }
.hero-scroll:hover svg { transform: translateY(3px); }

/* ============================================================
   PROJECT CARD — <a> tag reset
   ============================================================ */
a.project-card { color: var(--white); }
a.project-card:hover { color: var(--white); }

/* ============================================================
   FORM FOCUS STATE — accessibility
   ============================================================ */
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

/* ============================================================
   BACK TO TOP (auto-appears after scroll)
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 48px;
  left: 48px;
  width: 44px; height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s, transform .4s var(--ease-out), background .3s;
  cursor: pointer;
  color: rgba(10,10,10,.5);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 768px) {
  .back-to-top { left: 20px; bottom: 80px; }
}


/* ============================================================
   PRESS NEWS SLIDER (home page)
   ============================================================ */
.news-slider-wrap {
  overflow: hidden;
  position: relative;
  margin: 0 -48px;
  padding: 0 48px;
}
.news-slider-wrap::before,
.news-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.news-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--gray) 0%, transparent 100%);
}
.news-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--gray) 0%, transparent 100%);
}
.news-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: newsSlide 40s linear infinite;
  cursor: grab;
}
.news-slider-track:active { cursor: grabbing; }
.news-slider-track.paused { animation-play-state: paused; }
@keyframes newsSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.news-slide-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.news-slide-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.news-slide-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s, transform 0.8s var(--ease-out);
  display: block;
}
.news-slide-card:hover .news-slide-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.news-slide-img-wrap { overflow: hidden; }
.news-slide-body { padding: 24px 28px 28px; }
.news-slide-date {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.news-slide-title {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 16px;
}
.news-slide-source {
  font-size: 11px;
  color: rgba(10,10,10,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-slide-source::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: rgba(10,10,10,0.15);
}

/* ============================================================
   PROJECTS SECTION — enhanced animations (home page)
   ============================================================ */
.projects-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.project-home-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-mid);
  text-decoration: none;
  display: block;
}
.project-home-card.large { grid-column: span 2; aspect-ratio: 2/1; }

.project-home-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: multiply;
}
.project-home-card:hover::after { opacity: 0.25; }

.project-home-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: transform 0.9s var(--ease-out), filter 0.5s;
}
.project-home-card:hover .project-home-img {
  transform: scale(1.07);
  filter: grayscale(0%);
}
.project-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,38,48,0.9) 0%, rgba(1,38,48,0) 55%);
  transition: opacity 0.4s;
}
.project-home-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  transform: translateY(6px);
  transition: transform 0.4s var(--ease-out);
}
.project-home-card:hover .project-home-info { transform: translateY(0); }

.project-home-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.project-home-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}
.project-home-loc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out) 0.05s, opacity 0.4s 0.05s;
}
.project-home-card:hover .project-home-loc {
  transform: translateY(0);
  opacity: 1;
}
.project-home-arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: opacity 0.35s, transform 0.4s var(--ease-out), background 0.3s;
}
.project-home-card:hover .project-home-arrow {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  background: var(--accent);
  border-color: var(--accent);
}
.project-home-card.large .project-home-name { font-size: clamp(28px, 4vw, 52px); }

/* Number counter strip */
.home-stats-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 60px;
}
.home-stat-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.home-stat-item:last-child { border-right: none; }
.home-stat-item:hover { background: var(--accent-light); }
.home-stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.home-stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.4);
  margin-top: 6px;
}

/* ============================================================
   ABOUT PAGE — light theme overrides
   ============================================================ */
.about-hero { background: var(--black); }
.about-intro { background: var(--white); }
.about-intro-text { color: rgba(10,10,10,0.75); }
.about-value { border-bottom: 1px solid var(--border); }
.about-value:first-child { border-top: 1px solid var(--border); }
.about-value-title { color: var(--black); }
.about-value-desc { color: rgba(10,10,10,0.5); }
.about-value-num { color: var(--accent); }
.about-timeline { background: var(--gray); }
.timeline-item { border-bottom: 1px solid var(--border); }
.timeline-item:hover { background: var(--accent-light); }
.timeline-item::before { background: var(--accent); border-color: var(--gray); }
.timeline-year { color: rgba(10,10,10,0.1); }
.timeline-title { color: var(--black); }
.timeline-desc { color: rgba(10,10,10,0.45); }
.about-leadership { background: var(--white); }
.leader-title { color: var(--accent); }
.leader-title-base { color: var(--accent); }

/* Privacy page: light */
.privacy-section { color: var(--black); }

/* Map: dark tiles stay dark */
#projectsMap, #contactMap { border: 1px solid var(--border); }

/* Cookie banner: white */
#cookieBanner { background: rgba(255,255,255,0.97) !important; border-top: 1px solid var(--border) !important; }

/* Projects stats section: white */
.projects-stats { background: var(--white); }

/* Section label for dark sections (hero, about-hero, etc.) */
.dark-section .section-label { color: rgba(255,255,255,0.6); }
.dark-section .section-label::before { background: rgba(255,255,255,0.4); }

/* Contact right panel */
.contact-right { background: var(--off-white); }

/* Responsive for slider */
@media (max-width: 768px) {
  .news-slider-wrap { margin: 0 -24px; padding: 0 24px; }
  .news-slide-card { width: 280px; }
  .projects-grid-home { grid-template-columns: 1fr; }
  .project-home-card.large { grid-column: span 1; aspect-ratio: 4/3; }
  .home-stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .home-stats-strip { grid-template-columns: 1fr 1fr; }
  .hero-curved { width: clamp(220px, 80vw, 340px); height: clamp(220px, 80vw, 340px); }
}

/* Mobile: show curved text (override hide) */
@media (max-width: 768px) {
  .hero-curved { display: block !important; }
  .hero-scroll { bottom: 100px; }
}

/* ── DARK HERO SECTIONS — sliding bg text more visible ─────── */
.about-hero .hero-anim-text,
.projects-hero .hero-anim-text,
.press-hero .hero-anim-text {
  color: rgba(255,255,255,0.10) !important;
  font-family: var(--font-display);
  font-size: clamp(80px,18vw,220px);
  line-height: .9;
  white-space: nowrap;
  letter-spacing: -.02em;
  animation: slideText 30s linear infinite;
}
/* Subpage hero titles → always white */
.about-hero-title,
.projects-hero .about-hero-title,
.press-hero .about-hero-title {
  color: #ffffff !important;
}
.about-hero-tag {
  color: rgba(255,255,255,0.6) !important;
}

/* ── PROJECTS GRID — location/date below title ──────────────── */
.project-card-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
}

/* ── SECTOR CHART LEGEND — dark text for white bg ─────────── */
.chart-legend .legend-item { color: var(--black) !important; }
.chart-legend .legend-item span { color: var(--black) !important; }
.chart-legend .legend-item span:last-child { color: var(--black) !important; font-weight: 700; }

/* ── PROJECT SOCIAL ICONS in detail sidebar ────────────────── */
.project-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.project-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  transition: all .25s;
  background: var(--white);
}
.project-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.project-social-link svg { width: 17px; height: 17px; }

/* ============================================================
   HOME METRO GRID v2 — 5 projects, newest first, no gaps
   ============================================================ */

/* 
  5-card metro layout (3-column grid):
  Pattern: [WIDE 2col] [SQUARE 1col]    ← row 1 (3 cols filled)
           [SQUARE 1col] [WIDE 2col]    ← row 2 (3 cols filled)
           Fallback: 5th card fills remaining space
*/
.home-metro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 4px;
  /* No orphan gaps — rows auto-size to content */
}

/* Default: square card */
.metro-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-mid);
  text-decoration: none;
  display: block;
  /* Makes image fill container completely */
}

/* Wide card: spans 2 columns */
.metro-card.metro-wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Full-width card (5th if needed) */
.metro-card.metro-full {
  grid-column: span 3;
  aspect-ratio: 21/9;
}

/* Image fills 100% — no gaps/whitespace */
.metro-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  display: block; /* removes inline whitespace */
}
.metro-card:hover .metro-card-img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

/* Teal overlay on hover */
.metro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: multiply;
  z-index: 1;
}
.metro-card:hover::before { opacity: 0.22; }

/* Dark gradient bottom */
.metro-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,38,48,0.92) 0%, rgba(1,38,48,0.05) 55%);
  z-index: 2;
}

/* Info area */
.metro-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  z-index: 3;
  transform: translateY(4px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.metro-card:hover .metro-card-info { transform: translateY(0); }

.metro-card-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 5px;
}
.metro-card-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}
.metro-card.metro-wide .metro-card-name { font-size: clamp(22px, 3.5vw, 42px); }
.metro-card.metro-full .metro-card-name { font-size: clamp(26px, 4vw, 52px); }

.metro-card-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) 0.05s, opacity 0.35s 0.05s;
}
.metro-card:hover .metro-card-loc { opacity: 1; transform: translateY(0); }

/* Arrow icon */
.metro-card-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.3s;
}
.metro-card:hover .metro-card-arrow {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  background: var(--accent);
  border-color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .home-metro { grid-template-columns: repeat(2, 1fr); }
  .metro-card.metro-wide { grid-column: span 2; }
  .metro-card.metro-full { grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .home-metro { grid-template-columns: 1fr; gap: 3px; }
  .metro-card,
  .metro-card.metro-wide,
  .metro-card.metro-full { grid-column: span 1; aspect-ratio: 4/3; }
}
