/* ERA V3 — BUILD 2026-06-25 — if you see this comment when viewing styles.css in the browser, the NEW css is live */
/* ============================================
   ERA PROJECTS — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@200;300;400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* Brand palette */
  --navy-deepest: #0a1628;
  --navy-deep: #0f2038;
  --navy: #142a47;
  --navy-light: #1d3759;

  --lime: #8bc53f;
  --lime-bright: #a3d651;
  --lime-deep: #6fa12e;

  --gold: #d4a574;
  --gold-warm: #e0b988;

  --paper: #f5f1ea;
  --paper-dim: #e8e2d6;

  --ink: #0a1628;
  --ink-soft: #2a3a52;
  --ink-mute: #5a6b82;

  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --pad-page: clamp(1.25rem, 4vw, 4rem);
  --pad-section: clamp(4rem, 10vw, 9rem);
  --max: 1440px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--navy-deepest);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   Typography
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--lime);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: "opsz" 144;
}

.display {
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

h2.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
}

h2.section-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.78);
  max-width: 60ch;
}

p { color: rgba(245, 241, 234, 0.72); }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem var(--pad-page);
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 38px;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

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

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 241, 234, 0.75);
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-links a.active {
  color: var(--paper);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--lime);
}

.nav-cta {
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta:hover {
  background: var(--lime);
  color: var(--navy-deepest);
  border-color: var(--lime);
}

.nav-cta::after {
  content: "→";
  transition: transform 0.25s;
}

.nav-cta:hover::after { transform: translateX(3px); }

.menu-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 4px; }

.menu-toggle.open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy-deepest);
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    gap: 1.5rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.5rem; font-family: var(--font-display); font-weight: 300; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 8rem var(--pad-page) 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deepest) 0%, var(--navy-deep) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  background-image: url('images/hero-construction.jpg');
  background-size: cover;
  background-position: right center;
  filter: grayscale(15%) brightness(0.85);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--navy-deepest) 0%, var(--navy-deepest) 30%, transparent 65%, rgba(10, 22, 40, 0.4) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(139, 197, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 197, 63, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  grid-column: 1 / -1;
}

.hero-main {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 197, 63, 0.12);
  border: 1px solid rgba(139, 197, 63, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 144;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero h1 .word.italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero h1 .line:nth-child(1) .word { animation-delay: 0.1s; }
.hero h1 .line:nth-child(2) .word { animation-delay: 0.25s; }
.hero h1 .line:nth-child(3) .word { animation-delay: 0.4s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-left: 1px solid var(--line-strong);
  padding-left: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.hero-meta-item .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

.hero-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
}

.hero-meta-item .value em {
  font-style: italic;
  color: var(--lime);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.9s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--lime);
  color: var(--navy-deepest);
}

.btn-primary:hover {
  background: var(--lime-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 197, 63, 0.3);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--paper);
}

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

.btn .arrow {
  transition: transform 0.3s;
  display: inline-block;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--lime));
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  animation: scroll-down 2.5s ease-in-out infinite;
}

@keyframes scroll-down {
  to { top: 100%; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-meta { flex-direction: row; flex-wrap: wrap; border-left: none; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 1.5rem; }
  .hero-meta-item { flex: 1 1 140px; }
  .hero-scroll { display: none; }
}

/* ============================================
   Marquee Strip
   ============================================ */
.marquee {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--paper);
}

.marquee-item .star {
  color: var(--lime);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================
   Section base
   ============================================ */
section {
  padding: var(--pad-section) var(--pad-page);
  position: relative;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}

.section-head .label-col { padding-top: 0.5rem; }

@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}

/* ============================================
   About / Who We Are
   ============================================ */
.about {
  background: var(--navy-deepest);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.4;
}

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

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-text p strong {
  color: var(--lime);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num em {
  color: var(--lime);
  font-style: normal;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}

.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.6));
}

.about-visual-tag {
  position: absolute;
  bottom: 2rem; left: 2rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper);
}

.about-visual-tag .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  display: block;
  color: var(--lime);
  margin-bottom: 0.3rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   Services
   ============================================ */
.services {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr auto;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: padding 0.4s ease;
}

.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-row:hover {
  padding-left: 1rem;
}

.service-row::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0;
  background: linear-gradient(90deg, var(--lime), transparent 60%);
  opacity: 0.06;
  transition: height 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.service-row:hover::after { height: 100%; }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.service-name em {
  font-style: italic;
  color: var(--lime);
}

.service-row:hover .service-name { color: var(--paper); }

.service-desc {
  color: rgba(245, 241, 234, 0.6);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 50ch;
}

.service-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.service-row:hover .service-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy-deepest);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .service-row {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .service-desc { grid-column: 1 / -1; }
  .service-arrow { grid-column: 2; grid-row: 1; }
}

/* ============================================
   Projects Grid
   ============================================ */
.projects {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 241, 234, 0.75);
  transition: all 0.25s;
}

.filter-btn:hover { color: var(--paper); border-color: var(--paper); }

.filter-btn.active {
  background: var(--lime);
  color: var(--navy-deepest);
  border-color: var(--lime);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: var(--navy-light);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.project-card.large { grid-column: span 7; aspect-ratio: 16/10; }
.project-card.medium { grid-column: span 5; aspect-ratio: 4/5; }
.project-card.small { grid-column: span 4; aspect-ratio: 1/1; }
.project-card.wide { grid-column: span 8; aspect-ratio: 16/9; }

.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: brightness(0.85);
}

.project-card:hover .project-img {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.92));
}

.project-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
}

.project-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.project-meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(245, 241, 234, 0.7);
  letter-spacing: 0.05em;
}

.project-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

@media (max-width: 1024px) {
  .project-card.large, .project-card.medium, .project-card.small, .project-card.wide {
    grid-column: span 6;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 640px) {
  .project-card.large, .project-card.medium, .project-card.small, .project-card.wide {
    grid-column: span 12;
  }
}

/* ============================================
   Values
   ============================================ */
.values {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-deepest) 100%);
  border-top: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.value-card {
  background: var(--navy-deepest);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.3s;
  position: relative;
}

.value-card:hover { background: var(--navy-deep); }

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(139, 197, 63, 0.1);
  border: 1px solid rgba(139, 197, 63, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 1.4rem;
  transition: all 0.3s;
}

.value-card:hover .value-icon {
  background: var(--lime);
  color: var(--navy-deepest);
  transform: scale(1.05);
}

.value-num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

.value-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.value-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.6);
}

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Expertise / Sectors
   ============================================ */
.expertise {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.expertise-card {
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(139, 197, 63, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

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

.expertise-icon {
  font-size: 1.7rem;
  color: var(--lime);
  position: relative;
}

.expertise-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--paper);
  position: relative;
}

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

/* ============================================
   Quote / CEO
   ============================================ */
.quote-section {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
  padding: var(--pad-section) var(--pad-page);
  position: relative;
}

.quote-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 5rem;
  align-items: center;
}

.quote-text {
  position: relative;
}

.quote-text::before {
  content: "“";
  position: absolute;
  top: -3rem;
  left: -1rem;
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--lime);
  opacity: 0.3;
  font-style: italic;
  line-height: 1;
}

.quote-text blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 2rem;
  position: relative;
}

.quote-text blockquote em {
  color: var(--gold);
  font-weight: 400;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.author-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.author-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lime);
  margin-top: 0.2rem;
}

.award-card {
  background: linear-gradient(140deg, rgba(139, 197, 63, 0.08), rgba(212, 165, 116, 0.04));
  border: 1px solid rgba(139, 197, 63, 0.2);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(139, 197, 63, 0.15), transparent 70%);
}

.award-card .eyebrow { margin-bottom: 1.2rem; }

.award-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
}

.award-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.75);
  position: relative;
}

@media (max-width: 880px) {
  .quote-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   Global / Map
   ============================================ */
.global {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
}

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.global-locations {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.location {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.location:last-child { border-bottom: 1px solid var(--line); }

.location-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

.location-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.location-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.location-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.global-map {
  aspect-ratio: 16/11;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--navy-deepest);
  padding: 2rem;
  overflow: hidden;
}

@media (max-width: 880px) {
  .global-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   Process
   ============================================ */
.process {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  padding-top: 4.5rem;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px var(--navy-deepest), 0 0 0 7px var(--lime);
}

.process-step .num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.6);
}

@media (max-width: 880px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 80% 50%, rgba(139, 197, 63, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.05), transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.cta-inner h2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 2.5rem;
}

.cta-inner h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
  padding: 5rem var(--pad-page) 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.55);
  max-width: 30ch;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(245, 241, 234, 0.65);
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--lime); }

.contact-detail {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.65);
  margin-bottom: 1rem;
}

.contact-detail .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-detail a:hover { color: var(--lime); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

.footer-bottom .links {
  display: flex;
  gap: 2rem;
}

.footer-bottom a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.footer-bottom a:hover { color: var(--lime); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   Page-specific (about/projects/contact pages)
   ============================================ */
.page-hero {
  padding: 12rem var(--pad-page) 6rem;
  background: var(--navy-deepest);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(139, 197, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 197, 63, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-family: var(--font-display);
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .current { color: var(--lime); }

@media (max-width: 880px) {
  .page-hero { padding-top: 8rem; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Project detail layouts */
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.project-feature:nth-child(even) {
  grid-template-columns: 1.3fr 1fr;
}

.project-feature:nth-child(even) .project-feature-content { order: 2; }

.project-feature-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.project-feature:hover .project-feature-img img { transform: scale(1.04); }

.project-feature-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  background: var(--navy-deepest);
}

.project-feature h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.project-feature .meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.meta-item .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
}

.meta-item .value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--paper);
  font-weight: 400;
}

.meta-item .value em { color: var(--lime); font-style: italic; }

@media (max-width: 880px) {
  .project-feature, .project-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .project-feature:nth-child(even) .project-feature-content { order: 0; }
  .project-feature-content { padding: 2.5rem 1.5rem; }
}

/* Service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.service-block:first-child { border-top: none; }

.service-block-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}

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

.service-block-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.service-block-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.service-block-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139, 197, 63, 0.15);
  border: 1px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-block-list h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 0.3rem;
}

.service-block-list p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.6);
}

@media (max-width: 880px) {
  .service-block { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  position: relative;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.6rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border 0.25s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(139, 197, 63, 0.04);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-body);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.contact-info-card h3 em { font-style: italic; color: var(--lime); }

.info-block {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
}

.info-block .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 197, 63, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 1rem;
}

.info-block .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
}

.info-block .value {
  font-size: 0.95rem;
  color: var(--paper);
  line-height: 1.4;
}

.info-block .value:hover { color: var(--lime); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Selection */
::selection {
  background: var(--lime);
  color: var(--navy-deepest);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deepest); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }

/* ============================================
   V3 ADDITIONS — Real-Photo Imagery & Global Reach
   ============================================ */

/* Country tag pill (used in project cards, hero, etc) */
.country-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(139, 197, 63, 0.3);
  border-radius: 999px;
  background: rgba(139, 197, 63, 0.06);
}
.country-tag::before {
  content: "◉";
  font-size: 0.55rem;
  line-height: 1;
}

/* Hero image override — real ERA construction scene */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    var(--navy-deepest) 0%,
    rgba(10, 22, 40, 0.85) 35%,
    rgba(10, 22, 40, 0.35) 60%,
    rgba(10, 22, 40, 0.15) 100%
  ), url('images/hero-construction.jpg');
  background-size: cover;
  background-position: right center;
  z-index: 0;
}

/* Project card — photo-driven version */
.project-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-deep);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--line);
  display: block;
  text-decoration: none;
  color: inherit;
}
.project-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
}
.project-photo-card .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}
.project-photo-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-photo-card:hover .photo img { transform: scale(1.05); }
.project-photo-card .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.85) 100%);
}
.project-photo-card .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 0.3rem 0.65rem;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.project-photo-card .badge.status-completed {
  color: var(--lime);
  border-color: rgba(139, 197, 63, 0.4);
}
.project-photo-card .info {
  padding: 1.5rem 1.5rem 1.75rem;
}
.project-photo-card .info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.project-photo-card .info h3 em {
  font-style: italic;
  color: var(--gold);
}
.project-photo-card .info .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.project-photo-card .info .meta .sep { opacity: 0.4; }
.project-photo-card .info .meta .country { color: var(--lime); }
.project-photo-card .info p {
  font-size: 0.88rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* Project grid V3 */
.projects-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1000px) {
  .projects-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .projects-photo-grid { grid-template-columns: 1fr; }
}

/* Filter bar V3 (combined country + category) */
.filter-bar-v3 {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-row .filter-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  min-width: 90px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--lime); color: var(--lime); }
.filter-btn.active {
  background: var(--lime);
  color: var(--navy-deepest);
  border-color: var(--lime);
  font-weight: 600;
}

/* CEO quote with real portrait */
.ceo-quote-v3 {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
}
.ceo-quote-v3 .portrait {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}
.ceo-quote-v3 .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ceo-quote-v3 .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(10, 22, 40, 0.6) 100%);
}
.ceo-quote-v3 blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}
.ceo-quote-v3 blockquote em {
  font-style: italic;
  color: var(--lime);
}
.ceo-quote-v3 .attribution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ceo-quote-v3 .attribution strong {
  color: var(--paper);
  font-weight: 500;
}
.ceo-quote-v3 .award-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(212, 165, 116, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-warm);
}
.ceo-quote-v3 .award-pill::before {
  content: "★";
  color: var(--gold);
  font-size: 0.9rem;
}
@media (max-width: 880px) {
  .ceo-quote-v3 { grid-template-columns: 1fr; gap: 3rem; }
  .ceo-quote-v3 .portrait { max-width: 320px; }
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.team-photo:hover img { transform: scale(1.04); }
.team-photo .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(10, 22, 40, 0.85));
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Country reach strip */
.countries-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.country-cell {
  text-align: center;
}
.country-cell .flag {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  filter: grayscale(0.2);
}
.country-cell .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 0.2rem;
}
.country-cell .count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 720px) {
  .countries-strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* Project hero with photo (project detail style for projects.html) */
.project-feature-v3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 7rem;
}
.project-feature-v3.reverse {
  direction: rtl;
}
.project-feature-v3.reverse > * { direction: ltr; }
.project-feature-v3 .photo-block {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.project-feature-v3 .photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.project-feature-v3 .photo-block:hover img { transform: scale(1.03); }
.project-feature-v3 .text-block .country-tag { margin-bottom: 1.2rem; }
.project-feature-v3 .text-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.project-feature-v3 .text-block h3 em {
  font-style: italic;
  color: var(--lime);
}
.project-feature-v3 .text-block .desc {
  color: var(--ink-mute);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}
.project-feature-v3 .text-block .key-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1.8rem;
}
.project-feature-v3 .text-block .key-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  color: var(--paper);
  line-height: 1.5;
}
.project-feature-v3 .text-block .key-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}
.project-feature-v3 .text-block .stats-strip {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.project-feature-v3 .text-block .stat .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
}
.project-feature-v3 .text-block .stat .value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--paper);
}
@media (max-width: 880px) {
  .project-feature-v3 { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; }
  .project-feature-v3.reverse { direction: ltr; }
  .project-feature-v3 .text-block .key-features { grid-template-columns: 1fr; }
}

/* Hide-by-filter helper */
.project-photo-card.hide-filter,
.project-feature-v3.hide-filter { display: none !important; }

/* ============================================
   V3 — Vision/Mission, Policy, Certifications, CTA card, Services list
   ============================================ */

/* Vision & Mission grid */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.vm-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border 0.3s, background 0.3s;
}
.vm-card:hover {
  border-color: rgba(139, 197, 63, 0.3);
  background: rgba(139, 197, 63, 0.03);
}
.vm-icon {
  font-size: 2rem;
  color: var(--lime);
  margin-bottom: 1.5rem;
  display: block;
}
.vm-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--lime);
  margin-bottom: 1rem;
}
@media (max-width: 720px) {
  .vm-grid { grid-template-columns: 1fr; }
  .vm-card { padding: 1.8rem; }
}

/* Policy grid */
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.policy-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}
.policy-num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--lime);
  opacity: 0.45;
  line-height: 1;
}
.policy-card h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  max-width: 80%;
}
.policy-card p {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .policy-grid { grid-template-columns: 1fr; }
  .policy-card { padding: 1.8rem; }
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cert-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border 0.3s, transform 0.3s;
}
.cert-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.cert-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-deepest);
  background: var(--lime);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 1.2rem;
}
.cert-card h5 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--paper);
}
.cert-card p {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.cert-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.4);
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) { .certifications-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .certifications-grid { grid-template-columns: 1fr; } }

/* CTA card (used on index/about/projects/services) */
.cta-section {
  padding: 6rem var(--pad-page);
}
.cta-card {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(139, 197, 63, 0.10), transparent 60%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 2; }
.cta-text .eyebrow { margin-bottom: 1rem; display: block; }
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.cta-text h2 em { font-style: italic; color: var(--lime); }
.cta-text p {
  color: var(--ink-mute);
  font-size: 1rem;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}
.cta-actions .btn { justify-content: center; }
@media (max-width: 880px) {
  .cta-card { grid-template-columns: 1fr; padding: 2.5rem; gap: 2rem; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Services row (homepage list) */
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.3s;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { padding-left: 1rem; }
.service-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.service-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.service-content h3 em { font-style: italic; color: var(--gold); }
.service-content p {
  color: var(--ink-mute);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 70ch;
}
.service-arrow {
  font-size: 1.5rem;
  color: var(--ink-mute);
  transition: transform 0.3s, color 0.3s;
}
.service-row:hover .service-arrow { color: var(--lime); transform: translateX(8px); }
@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 0.8rem; padding: 2rem 0; }
  .service-num { font-size: 0.75rem; }
  .service-arrow { display: none; }
}

/* Expertise cell (V3 alt to old expertise-card) */
.expertise-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.expertise-cell {
  padding: 1.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border 0.3s, transform 0.3s;
}
.expertise-cell:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.expertise-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--lime);
  margin-bottom: 0.8rem;
}
.expertise-cell h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.expertise-cell p {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
@media (max-width: 1000px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }

/* Btn-ghost variant fix */
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}
