/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --yellow: #FFD600;
  --yellow-dark: #E6C200;
  --yellow-light: #FFF8D6;
  --yellow-glow: rgba(255, 214, 0, 0.15);
  --charcoal: #0F0F0F;
  --dark: #1A1A1A;
  --dark-card: #161616;
  --gray-900: #222222;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #D0D0D0;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --max-width: 1240px;
  --nav-height: 80px;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 { line-height: 1.1; font-weight: 800; }
h1 { font-size: 64px; letter-spacing: -2px; }
h2 { font-size: 48px; letter-spacing: -1px; }
h3 { font-size: 28px; letter-spacing: -0.5px; }
h4 { font-size: 20px; }
h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; }

p { font-size: 17px; color: var(--gray-700); line-height: 1.75; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 214, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(15, 15, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

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

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; flex-shrink: 0; max-width: none; }

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

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--yellow); }

.nav-links a.nav-cta {
  background: var(--yellow);
  color: var(--charcoal);
  font-weight: 800;
  padding: 10px 28px;
  margin-left: 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.nav-links a.nav-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,214,0,0.25);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 900px;
  display: flex;
  align-items: center;
  margin-top: var(--nav-height);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.6) 50%, rgba(15,15,15,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 214, 0, 0.12);
  border: 1px solid rgba(255, 214, 0, 0.3);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: var(--white);
  font-size: 72px;
  letter-spacing: -3px;
  margin-bottom: 24px;
  max-width: 700px;
  line-height: 1.05;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--yellow) 0%, #FFA000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

/* Floating badge on hero */
.hero-badge {
  position: absolute;
  right: 80px;
  bottom: 80px;
  z-index: 3;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  text-align: center;
}
.hero-badge .badge-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.hero-badge .badge-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  margin-top: var(--nav-height);
  overflow: hidden;
  background: var(--charcoal);
  padding-bottom: 60px;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
}

.page-hero h1 { color: var(--white); font-size: 56px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 19px; max-width: 560px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-primary {
  background: var(--yellow);
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(255, 214, 0, 0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 214, 0, 0.35);
}

.btn-outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-arrow::after {
  content: '\2192';
  font-size: 18px;
  transition: transform 0.3s ease;
}
.btn-arrow:hover::after { transform: translateX(6px); }

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: var(--yellow);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--charcoal);
}
.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--charcoal);
  opacity: 0.4;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section { padding: 120px 0; }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--charcoal); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.55); }
.section--dark h5 { color: var(--yellow); }

.section-header { margin-bottom: 64px; }
.section-header h5 { color: var(--yellow-dark); margin-bottom: 16px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { max-width: 560px; font-size: 18px; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

.accent-line { width: 40px; height: 3px; background: var(--yellow); margin-bottom: 20px; border-radius: 2px; }
.section-header--center .accent-line { margin: 0 auto 20px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--charcoal);
  padding: 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 56px 40px;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat-item:hover::before { opacity: 1; }

.stat-number {
  font-size: 52px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

/* ===== SERVICE CARDS (image overlay) ===== */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  group: true;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover img { transform: scale(1.08); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: background 0.4s ease;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}

.service-card-overlay .yellow-line {
  width: 30px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 16px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}
.service-card:hover .yellow-line { width: 50px; }

.service-card-overlay h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.service-card-overlay p { color: rgba(255,255,255,0.55); font-size: 14px; margin: 0; }

/* ===== REGULAR CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.card-img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 32px; }
.card-body h3 { font-size: 22px; margin-bottom: 12px; }
.card-body p { font-size: 15px; }

/* ===== SPLIT SECTION ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split-img-wrapper {
  position: relative;
}
.split-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 50%;
  height: 50%;
  border: 3px solid var(--yellow);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split--reverse .split-img-wrapper::after {
  right: auto;
  left: -16px;
}

.split-content h5 { color: var(--yellow-dark); margin-bottom: 16px; }
.split-content h2 { margin-bottom: 24px; }
.split-content p { margin-bottom: 24px; }
.split-content ul { margin-bottom: 32px; }
.split-content ul li {
  font-size: 16px;
  color: var(--gray-700);
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
}
.split-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ===== DIAGONAL SECTION ===== */
.diagonal-section {
  position: relative;
  padding: 140px 0;
  background: var(--charcoal);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin: -1px 0;
}

.diagonal-section h2, .diagonal-section h3, .diagonal-section h4 { color: var(--white); }
.diagonal-section p { color: rgba(255,255,255,0.55); }
.diagonal-section h5 { color: var(--yellow); }

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-item {
  padding: 44px 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--yellow-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s ease;
}
.feature-item:hover .feature-icon { background: var(--yellow); }
.feature-icon svg { transition: stroke 0.3s ease; }
.feature-item:hover .feature-icon svg { stroke: var(--charcoal); }

.feature-item h4 { margin-bottom: 12px; }
.feature-item p { font-size: 15px; }

/* ===== TEAM CARDS ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.team-card-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--gray-100);
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-card-photo img { transform: scale(1.05); }

.team-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.team-social {
  display: flex;
  gap: 8px;
}
.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.2);
}
.team-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.team-social a svg { width: 18px; height: 18px; }

.team-card-info {
  padding: 24px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease;
}
.team-card:hover .team-card-info { border-color: var(--yellow); }

.team-card-info h4 { font-size: 18px; margin-bottom: 4px; font-weight: 700; }
.team-card-info p { font-size: 13px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* ===== PARALLAX STRIP ===== */
.parallax-strip {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.parallax-strip .bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-strip .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,0.75);
}
.parallax-strip-content {
  position: relative;
  z-index: 2;
}
.parallax-strip-content h2 { color: var(--white); margin-bottom: 12px; }
.parallax-strip-content p { color: rgba(255,255,255,0.5); font-size: 18px; margin-bottom: 32px; }

/* ===== MISSION/VISION ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.mv-card {
  padding: 52px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
}
.mv-card h3 { margin-bottom: 24px; font-size: 26px; }
.mv-card p { font-size: 16px; line-height: 1.8; }
.mv-card p + p { margin-top: 16px; }

/* ===== ORG CHART ===== */
.org-chart-wrapper { text-align: center; }
.org-chart-wrapper img {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

/* ===== PROJECT LIST ===== */
.project-category { margin-bottom: 56px; }
.project-category:last-child { margin-bottom: 0; }

.project-category h3 {
  font-size: 22px;
  margin-bottom: 0;
  padding: 20px 0;
  border-bottom: 2px solid var(--gray-100);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.project-category h3 span {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 14px;
  background: var(--yellow-glow);
  padding: 4px 14px;
  border-radius: 100px;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.project-item {
  padding: 16px 0 16px 24px;
  font-size: 15px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  transition: color 0.2s ease;
}
.project-item:hover { color: var(--gray-900); }
.project-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

/* ===== CLIENTS GRID ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.client-item {
  padding: 18px 28px;
  font-size: 15px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
  transition: all 0.2s ease;
}
.client-item:hover { background: var(--yellow-glow); color: var(--gray-900); }
.client-item:nth-child(3n) { border-right: none; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow-glow);
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.contact-info-item:hover .contact-icon {
  background: var(--yellow);
  border-color: var(--yellow);
}
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; }

.contact-form-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form input,
.contact-form textarea {
  padding: 16px 24px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--white);
  transition: all 0.3s ease;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-glow);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== SOCIAL LINKS ===== */
.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-link:hover { background: var(--yellow); transform: translateY(-3px); }
.social-link img { width: 20px; height: 20px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--charcoal);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,214,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}
.service-detail:last-child { border-bottom: none; }
.service-detail img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.service-detail-content h3 { font-size: 28px; margin-bottom: 16px; }
.service-detail-content p { margin-bottom: 20px; }
.service-detail-content ul li {
  font-size: 15px;
  color: var(--gray-700);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}
.service-detail-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}
.service-detail:nth-child(even) { grid-template-columns: 1fr 420px; }
.service-detail:nth-child(even) img { order: 2; }

/* ===== HIGHLIGHT ROW ===== */
.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.highlight-item {
  text-align: center;
  padding: 36px;
  background: var(--yellow-glow);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,214,0,0.15);
}
.highlight-item .number { font-size: 44px; font-weight: 900; color: var(--yellow-dark); line-height: 1; margin-bottom: 8px; }
.highlight-item .label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 20px; letter-spacing: 0.5px; }
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--yellow); }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  padding: 80px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.8; margin-top: 20px; max-width: 300px; }
.footer h5 { color: rgba(255,255,255,0.9); margin-bottom: 24px; font-size: 12px; letter-spacing: 3px; }
.footer-links a { display: block; color: rgba(255,255,255,0.4); font-size: 14px; padding: 7px 0; transition: all 0.2s ease; }
.footer-links a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-contact-item { color: rgba(255,255,255,0.4); font-size: 14px; padding: 7px 0; }
.footer-contact-item strong { color: rgba(255,255,255,0.6); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: rgba(255,255,255,0.2); font-size: 13px; }

.footer .social-links .social-link {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer .social-links .social-link:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ===== MAP SECTION ===== */
.map-section {
  position: relative;
  height: 400px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,214,0,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,214,0,0.03) 0%, transparent 50%);
}
.map-placeholder {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ============================================
   HOMEPAGE V3 — EDITORIAL REDESIGN
   ============================================ */

/* Serif accent throughout homepage */
.hero-r em, .intro-headline em, .cap-title em, .fp-headline em,
.scale-headline em, .sectors-title em, .manifesto-text em, .fc-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--yellow-dark);
}

/* ===== HERO — Rounded stage (echoes the logo's rounded square) ===== */
.stage {
  padding: calc(var(--nav-height) + 14px) 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
}

.hero-r {
  position: relative;
  height: calc(100vh - var(--nav-height) - 28px);
  min-height: 580px;
  max-height: 900px;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal);
}

.hero-r-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.06);
}
@keyframes heroPan {
  from { transform: scale(1.06); }
  to   { transform: scale(1.16); }
}

/* --- slider: media layers --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active .hero-r-media {
  animation: heroPan 9s ease-out forwards;
}

/* --- slider: copy layers (grid-stacked so height = tallest) --- */
.hero-copy-stack { display: grid; }
.hero-copy {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  /* outgoing: fade out quickly so it clears before the next one arrives */
  transition: opacity 0.4s ease,
              transform 0.4s ease,
              visibility 0s linear 0.4s;
}
.hero-copy.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  /* incoming: wait for the outgoing copy to clear, then rise in */
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              visibility 0s;
}

/* --- slider: dots (vertical, pinned to the far right edge) --- */
.hero-dots {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 100px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.65); }
.hero-dot.is-active { height: 34px; background: var(--yellow); }
.hero-dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

.hero-r-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,15,15,0.28) 0%, rgba(15,15,15,0) 24%),
    linear-gradient(76deg, rgba(15,15,15,0.96) 0%, rgba(15,15,15,0.88) 30%, rgba(15,15,15,0.55) 58%, rgba(15,15,15,0.12) 88%),
    linear-gradient(to top, rgba(15,15,15,0.88) 0%, rgba(15,15,15,0) 50%);
}

.hero-r-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 46px 92px;
}

.hero-r-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px 9px 14px;
  margin-bottom: 30px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero-r-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,214,0,0.22);
}

.hero-r h1 {
  font-size: clamp(52px, 5.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -3px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-r h1 em {
  font-size: 1.1em;
  line-height: 1.08;
  color: var(--yellow);
  display: inline-block;
  padding-bottom: 2px;
}

.hero-r p {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  max-width: 46ch;
  margin-bottom: 40px;
}

.hero-r-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-r-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-r-ghost span { transition: transform 0.3s ease; }
.hero-r-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
}
.hero-r-ghost:hover span { transform: translateX(5px); }

/* Header sits above the rounded stage on the page background, not over it */
.nav--float {
  background: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease;
}
.nav--float.scrolled {
  background: var(--white);
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
}
.nav--float .nav-links a { color: var(--gray-700); }
.nav--float .nav-links a:hover {
  color: var(--charcoal);
  background: rgba(0,0,0,0.04);
}
.nav--float .nav-links a.active {
  color: var(--charcoal);
  position: relative;
}
.nav--float .nav-links a.active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
}
.nav--float .nav-links a.nav-cta {
  color: var(--charcoal);
  background: var(--yellow);
}
.nav--float .nav-links a.nav-cta:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ===== TRUSTED PARTNERS (replaces the yellow ticker) ===== */
.partners {
  padding: 44px 0 48px;
  background: var(--white);
}
.partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 26px;
}
.partners-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: marquee 46s linear infinite;
}
.partners-track-wrap:hover .partners-track { animation-play-state: paused; }

.partner-chip {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--gray-100);
  border: 1px solid rgba(0,0,0,0.06);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--gray-700);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.partner-chip:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .hero-r-media,
  .hero-slide.is-active .hero-r-media { animation: none; transform: scale(1.06); }
  .hero-slide, .hero-copy, .hero-dot { transition: none; }
  .marquee-inner, .partners-track { animation: none; }
}

/* ===== NUMBER LABELS (shared throughout) ===== */
.cap-label, .intro-label, .fp-label, .scale-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-700);
}
.label-num {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow-dark);
  letter-spacing: 0;
}

.meta-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  padding: 10px 0;
  margin-top: 32px;
  border-bottom: 2px solid var(--yellow);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.meta-link:hover { color: var(--yellow-dark); }

/* ===== CAPABILITIES (service cards) ===== */
.capabilities {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}

.cap-header {
  max-width: 760px;
  margin-bottom: 64px;
}
.cap-header .cap-label { margin-bottom: 20px; }

/* Yellow rule above the title, matching the section-header pattern elsewhere */
.cap-header .accent-line { margin-bottom: 26px; }

.cap-title {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 24px;
}

/* Accent word: serif italic, underscored with a fine yellow rule */
.cap-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--charcoal);
  background: none;
  padding: 0 0 4px;
  border-radius: 0;
  border-bottom: 3px solid var(--yellow);
}

.cap-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray-700);
  max-width: 56ch;
}

.cap-foot {
  margin-top: 64px;
}

/* ==========================================================================
   HOW WE BUILD — scroll-driven road cross-section
   ========================================================================== */
.roadbuild {
  background: var(--charcoal);
  color: var(--white);
  padding: 140px 0 0;
  position: relative;
}

.rb-head { max-width: 760px; margin-bottom: 20px; }
.rb-head .cap-label { color: rgba(255,255,255,0.62); margin-bottom: 20px; }
.rb-head .accent-line { margin-bottom: 26px; }
.rb-title {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.rb-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--yellow);
  border-bottom: 3px solid rgba(255,214,0,0.35);
  padding-bottom: 4px;
}
.rb-sub {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  max-width: 58ch;
}

.rb-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
  margin-top: 64px;
  padding-bottom: 140px;
}

/* --- the cross-section slab --- */
.rb-diagram { position: relative; }

.rb-slab {
  display: flex;
  flex-direction: column-reverse; /* DOM order 01..05 renders bottom-up */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.03) 0 6px,
      transparent 6px 12px);
}

.rb-layer {
  position: relative;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
  border-top: 1px dashed rgba(255,255,255,0.10);
}
.rb-layer:first-child { border-top: none; }

/* Plays once on a timer when the section comes into view. No scroll capture. */
.rb-build.is-live .rb-layer { clip-path: inset(0 0 0 0); }
.rb-build.is-live .rb-layer[data-i="1"] { transition-delay: 0.05s; }
.rb-build.is-live .rb-layer[data-i="2"] { transition-delay: 0.28s; }
.rb-build.is-live .rb-layer[data-i="3"] { transition-delay: 0.51s; }
.rb-build.is-live .rb-layer[data-i="4"] { transition-delay: 0.74s; }
.rb-build.is-live .rb-layer[data-i="5"] { transition-delay: 0.97s; }

/* Hover a spec row to isolate that layer */
.rb-slab.has-focus .rb-layer { opacity: 0.28; }
.rb-slab.has-focus .rb-layer.is-focus { opacity: 1; }

.rb-layer--subgrade {
  height: 92px;
  background:
    repeating-linear-gradient(45deg,
      rgba(0,0,0,0.22) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, #6B5238, #55402B);
}
.rb-layer--subbase {
  height: 78px;
  background:
    radial-gradient(circle at 18% 34%, rgba(255,255,255,0.20) 1.6px, transparent 2px),
    radial-gradient(circle at 62% 68%, rgba(255,255,255,0.16) 1.8px, transparent 2.2px),
    radial-gradient(circle at 84% 22%, rgba(255,255,255,0.14) 1.4px, transparent 1.8px),
    linear-gradient(180deg, #8A8A85, #6E6E69);
  background-size: 34px 30px, 44px 38px, 28px 26px, 100% 100%;
}
.rb-layer--base {
  height: 64px;
  background:
    radial-gradient(circle at 26% 44%, rgba(255,255,255,0.16) 2.2px, transparent 2.6px),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.12) 2.4px, transparent 2.8px),
    linear-gradient(180deg, #5C5C58, #47474400);
  background-color: #4E4E4A;
  background-size: 40px 34px, 52px 44px, 100% 100%;
}
.rb-layer--binder {
  height: 36px;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0 3px, transparent 3px 9px),
    linear-gradient(180deg, #2E2E2E, #242424);
}
.rb-layer--wearing {
  height: 30px;
  background: linear-gradient(180deg, #1E1E1E, #141414);
}

/* layer index ticks down the left edge */
.rb-tick {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0;
}

/* the painted centre line, revealed last */
.rb-marking {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  height: 5px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0 44px,
    transparent 44px 78px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.rb-build.is-live .rb-marking {
  clip-path: inset(0 0 0 0);
  transition-delay: 1.3s;
}

.rb-ground {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
}

/* --- spec legend --- */
.rb-legend { counter-reset: rb; }
.rb-item {
  position: relative;
  padding: 16px 0 16px 26px;
  border-left: 2px solid rgba(255,255,255,0.10);
  opacity: 0;
  transform: translateX(-12px);
  cursor: default;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease, background 0.3s ease;
}
.rb-build.is-live .rb-item {
  opacity: 1;
  transform: none;
  border-left-color: var(--yellow);
}
.rb-build.is-live .rb-item[data-i="1"] { transition-delay: 0.05s; }
.rb-build.is-live .rb-item[data-i="2"] { transition-delay: 0.28s; }
.rb-build.is-live .rb-item[data-i="3"] { transition-delay: 0.51s; }
.rb-build.is-live .rb-item[data-i="4"] { transition-delay: 0.74s; }
.rb-build.is-live .rb-item[data-i="5"] { transition-delay: 0.97s; }
.rb-build.is-live .rb-item[data-i="6"] { transition-delay: 1.30s; }

.rb-item:hover {
  background: rgba(255,255,255,0.04);
  border-left-color: var(--yellow);
  transition-delay: 0s;
}
.rb-item-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 5px;
}
.rb-item-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.rb-item-spec {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 3px 10px;
  border: 1px solid rgba(255,214,0,0.3);
  border-radius: 100px;
  white-space: nowrap;
}
.rb-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* Reduced motion: show the finished road immediately, no animation */
@media (prefers-reduced-motion: reduce) {
  .rb-layer, .rb-marking { clip-path: none !important; transition: none !important; }
  .rb-item {
    opacity: 1 !important;
    transform: none !important;
    border-left-color: var(--yellow);
    transition: none !important;
  }
}

/* ===== FEATURED PROJECT ===== */
.featured-project {
  padding: 140px 0;
  background: var(--white);
}

.fp-label {
  margin-bottom: 60px;
}

.fp-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 80px;
}

.fp-image {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}
.fp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-image:hover img { transform: scale(1.03); }

.fp-image-tag {
  position: absolute;
  top: 32px;
  left: 32px;
  background: var(--white);
  padding: 12px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.fp-image-tag .tag-year { color: var(--gray-700); }
.fp-image-tag .tag-client {
  color: var(--charcoal);
  padding-left: 20px;
  border-left: 1px solid rgba(0,0,0,0.15);
}

.fp-content {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  padding: 80px 72px;
}
.fp-content-inner { width: 100%; }
.fp-headline {
  font-size: 72px;
  line-height: 0.95;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -2.5px;
  margin-bottom: 32px;
}
.fp-headline em { font-size: 80px; }
.fp-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 460px;
}

.fp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 40px;
}
.fp-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.fp-stat-num sup {
  font-size: 14px;
  vertical-align: super;
}
.fp-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.fp-content .btn-dark {
  background: var(--yellow);
  color: var(--charcoal);
}
.fp-content .btn-dark:hover {
  background: var(--white);
  transform: translateY(-3px);
}

/* fp-more cards */
.fp-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fp-more-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-more-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--yellow);
}
.fp-more-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-more-card:hover img { transform: scale(1.05); }
.fp-more-body {
  padding: 24px 28px 28px;
}
.fp-more-client {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.fp-more-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

/* ===== SCALE STATEMENT ===== */
.scale-statement {
  padding: 140px 0;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.scale-statement::before {
  content: 'KALLCO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 340px;
  font-weight: 900;
  color: rgba(0,0,0,0.02);
  letter-spacing: -12px;
  pointer-events: none;
  line-height: 1;
}
.scale-label { margin-bottom: 40px; }
.scale-headline {
  margin-bottom: 100px;
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.scale-headline h2 {
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 700;
  color: var(--charcoal);
}
.scale-headline em { font-size: 56px; }

.scale-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.scale-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.scale-num {
  font-size: 96px;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -4px;
}
.scale-num sup {
  font-size: 40px;
  vertical-align: super;
  color: var(--yellow-dark);
  font-weight: 700;
}
.scale-divider {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.scale-label-txt {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTORS — asymmetric photo bento on dark
   ========================================================================== */
.sectors {
  padding: 140px 0;
  background: var(--charcoal);
}

.sectors-head { max-width: 760px; margin-bottom: 56px; }
.sectors-head .cap-label { color: rgba(255,255,255,0.62); margin-bottom: 20px; }
.sectors-head .accent-line { margin-bottom: 26px; }

.sectors-title {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
}
.sectors-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--yellow);
  border-bottom: 3px solid rgba(255,214,0,0.35);
  padding-bottom: 4px;
}
.sectors-sub {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  max-width: 56ch;
}

/* 3 items, 3 cells: one tall lead tile + two stacked */
.sect-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 660px;
}
.sect-tile--lead { grid-row: span 2; }

.sect-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sect-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45);
}

.sect-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.sect-tile:hover img { transform: scale(1.06); }

/* lighter scrim than the service cards, so imagery stays vivid on dark */
.sect-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(15,15,15,0.94) 0%,
    rgba(15,15,15,0.62) 38%,
    rgba(15,15,15,0.14) 72%,
    rgba(15,15,15,0.02) 100%);
  transition: background 0.45s ease;
}
.sect-tile:hover::after {
  background: linear-gradient(to top,
    rgba(15,15,15,0.96) 0%,
    rgba(15,15,15,0.72) 45%,
    rgba(15,15,15,0.26) 78%,
    rgba(15,15,15,0.06) 100%);
}

.sect-body {
  position: relative;
  z-index: 2;
  padding: 36px;
  width: 100%;
}
.sect-tile--lead .sect-body { padding: 44px; }

.sect-rule {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  margin-bottom: 18px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.sect-tile:hover .sect-rule { width: 62px; }

.sect-body h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--white);
  margin-bottom: 10px;
}
.sect-tile--lead .sect-body h3 { font-size: 38px; letter-spacing: -1.2px; }

.sect-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  margin: 0;
  max-width: 42ch;
}
.sect-tile--lead .sect-body p { font-size: 16px; max-width: 46ch; }

/* capability list, lead tile only */
.sect-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sect-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}
.sect-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--yellow);
}

.sect-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 5px;
  border-bottom: 2px solid var(--yellow);
}
.sect-go .arw { transition: transform 0.3s ease; }
.sect-tile:hover .sect-go .arw { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .sect-tile, .sect-tile img, .sect-rule, .sect-go .arw { transition: none; }
  .sect-tile:hover { transform: none; }
  .sect-tile:hover img { transform: none; }
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.tstm {
  padding: 140px 0;
  background: var(--gray-100);
}

.tstm-head { max-width: 760px; margin-bottom: 56px; }
.tstm-head .cap-label { margin-bottom: 20px; }
.tstm-head .accent-line { margin-bottom: 26px; }
.tstm-title {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--charcoal);
}
.tstm-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 4px;
}

.tstm-slider {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 64px 72px 40px;
  overflow: hidden;
}

.tstm-mark {
  position: absolute;
  top: 6px;
  right: 44px;
  font-family: 'Fraunces', serif;
  font-size: 200px;
  line-height: 1;
  font-weight: 700;
  color: var(--yellow);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

/* grid-stack so the box height follows the tallest quote, no jumping */
.tstm-stack { display: grid; }

.tstm-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s ease,
              transform 0.4s ease,
              visibility 0s linear 0.4s;
}
.tstm-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              visibility 0s;
}

.tstm-slide p {
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: -0.4px;
  color: var(--charcoal);
  font-weight: 500;
  margin: 0 0 32px;
  max-width: 40ch;
  position: relative;
  z-index: 2;
}
/* star rating */
.tstm-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.tstm-stars svg {
  width: 19px;
  height: 19px;
  fill: var(--yellow);
}

/* attribution row: avatar + name + source */
.tstm-person {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.tstm-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* initials fallback, used whenever no <img> is supplied */
.tstm-avatar::after {
  content: attr(data-initials);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--charcoal);
}
/* a supplied photo simply paints over the initials */
.tstm-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.tstm-person-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tstm-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.2px;
}
.tstm-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-500);
}
.tstm-g {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tstm-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.tstm-dots { display: flex; align-items: center; gap: 10px; }
.tstm-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 100px;
  background: rgba(0,0,0,0.16);
  cursor: pointer;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.tstm-dot:hover { background: rgba(0,0,0,0.3); }
.tstm-dot.is-active { width: 34px; background: var(--yellow-dark); }
.tstm-dot:focus-visible { outline: 2px solid var(--yellow-dark); outline-offset: 4px; }

.tstm-arrows { display: flex; gap: 10px; }
.tstm-arrow {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.25s ease;
}
.tstm-arrow:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}
.tstm-arrow:active { transform: translateY(1px); }
.tstm-arrow:focus-visible { outline: 2px solid var(--yellow-dark); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .tstm-slide, .tstm-dot { transition: none; }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* shorter rounded hero for inner pages */
.hero-r--page {
  height: auto;
  min-height: 480px;
  max-height: 540px;
}
.hero-r--page .hero-r-inner { padding-bottom: 64px; }
.hero-r--page h1 { font-size: clamp(42px, 4.4vw, 66px); }
.hero-r--page .breadcrumb { margin-bottom: 18px; }
.hero-r--page p { font-size: 18px; margin-bottom: 0; }

/* shared About section header */
.ab-head { max-width: 760px; margin-bottom: 56px; }
.ab-head .cap-label { margin-bottom: 20px; }
.ab-head .accent-line { margin-bottom: 26px; }
.ab-title {
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--charcoal);
}
.ab-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 4px;
}
.ab-sub {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray-700);
  max-width: 58ch;
}

/* --- Stats as a rounded panel, so it sits with the hero above it --------- */
.stats-bar--panel { background: var(--white); padding: 26px 0 0; }
.stats-bar--panel .stats-grid {
  background: #111111;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats-bar--panel .stat-item { padding: 44px 32px; }
.stats-bar--panel .stat-number { font-size: 46px; }

/* --- Portfolio ledger: one list, filtered by client ----------------------
   Six headings over fifty near-identical rows is a wall nobody reads. As a
   single filterable ledger the same content answers "have you worked for
   someone like me?" in one click.
   ------------------------------------------------------------------------ */
.pl { padding: 118px 0 130px; background: var(--white); }

.pl-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 40px;
}
.pl-h {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--charcoal);
  text-wrap: balance;
  margin: 0;
}
.pl-h em {
  font-style: normal;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 2px;
}
.pl-sub {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--gray-700);
  text-wrap: pretty;
  margin: 0;
}

.pl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 44px;
}
.pl-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(15,15,15,0.14);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.pl-chip span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gray-700);
  transition: color 0.25s ease;
}
.pl-chip:hover { border-color: var(--charcoal); }
.pl-chip:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.pl-chip.is-active { background: #111111; border-color: #111111; color: #FFFFFF; }
.pl-chip.is-active span { color: var(--yellow); }

.pl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

.pl-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15,15,15,0.09);
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.pl-row[hidden] { display: none; }
.pl-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pl-row:hover { padding-left: 16px; }
.pl-row:hover::before { opacity: 1; }

.pl-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.pl-name {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--charcoal);
  text-wrap: pretty;
}

/* filtered rows fade in rather than snapping */
@keyframes plIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.pl-grid.is-anim .pl-row:not([hidden]) { animation: plIn 0.34s ease both; }

.pl-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--gray-700);
}
.pl-note a { color: var(--charcoal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pl-note[hidden] { display: none; }

@media (max-width: 1000px) {
  .pl-head { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .pl-grid { grid-template-columns: 1fr; column-gap: 0; }
  .stats-bar--panel .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .pl-grid.is-anim .pl-row:not([hidden]) { animation: none; }
  .pl-row { transition: none; }
  .pl-row:hover { padding-left: 0; }
}

/* --- Services: an index on the left, the chosen discipline on the right --
   Seven near-identical image+text rows read as filler. As a catalogue the
   list is scannable in one screen and the panel does the showing.
   ------------------------------------------------------------------------ */
.svc { padding: 118px 0 130px; background: var(--white); }

.svc-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}
.svc-h {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--charcoal);
  text-wrap: balance;
  margin: 0;
}
.svc-h em {
  font-style: normal;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 2px;
}
.svc-sub {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--gray-700);
  text-wrap: pretty;
  margin: 0;
}

.svc-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* the index */
.svc-menu { display: flex; flex-direction: column; }

.svc-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 21px 6px;
  font: inherit;
  text-align: left;
  color: var(--charcoal);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(15,15,15,0.1);
  cursor: pointer;
  transition: padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item:first-child { border-top: 1px solid rgba(15,15,15,0.1); }
.svc-item:focus-visible { outline: 2px solid var(--charcoal); outline-offset: -2px; }

/* a marker, so the active row is legible without a coloured side rule */
.svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--yellow);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item.is-active { padding-left: 22px; }
.svc-item.is-active::before { opacity: 1; transform: none; }

.svc-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gray-700);
}
.svc-item.is-active .svc-num { color: var(--charcoal); }

.svc-name {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.svc-arrow {
  color: var(--charcoal);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item.is-active .svc-arrow { opacity: 1; transform: none; }

/* the panel — all seven share one cell, so nothing jumps on switch */
.svc-stage { display: grid; }

.svc-panel {
  grid-area: 1 / 1;
  background: #111111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  /* outgoing clears fast so the arriving panel never sits on top of it */
  transition: opacity 0.22s ease, transform 0.3s ease, visibility 0s linear 0.22s;
}
.svc-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s ease 0.2s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, visibility 0s;
}

.svc-panel-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
}

.svc-panel-body { padding: 32px 36px 38px; }
.svc-panel-body h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 12px;
}
.svc-panel-body p {
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(255,255,255,0.7);
  text-wrap: pretty;
  margin: 0 0 26px;
}

/* the capability list reads better as chips than as bullets */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-tags li {
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
}

@media (max-width: 1000px) {
  .svc-head { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .svc-layout { grid-template-columns: 1fr; gap: 40px; }
  .svc-panel-media img { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-item,
  .svc-item::before,
  .svc-arrow,
  .svc-panel { transition: opacity 0.2s ease, visibility 0.2s; }
  .svc-panel { transform: none; }
}

/* --- Our story: header, a wide band, then the chronology as a rail ------- */
.ab-story { padding: 118px 0 130px; background: var(--white); }

.story-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 52px;
}
.story-h {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--charcoal);
  text-wrap: balance;
  margin: 0;
}
.story-h em {
  font-style: normal;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 2px;
}
.story-intro p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--gray-700);
  text-wrap: pretty;
  margin: 0;
}
.story-intro p + p { margin-top: 16px; }

.story-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 72px;
}
.story-band img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.story-band:hover img { transform: scale(1.03); }

/* the years are a real sequence, so the rail carries them */
.tl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-year {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  padding-right: 44px;
  margin-bottom: 18px;
}

.tl-rail {
  position: relative;
  height: 2px;
  background: rgba(15,15,15,0.10);
  margin-bottom: 26px;
}
/* the line runs off the end rather than stopping short */
.tl-step:last-child .tl-rail {
  background: linear-gradient(to right, rgba(15,15,15,0.10) 46%, rgba(15,15,15,0));
}
.tl-rail::before {
  content: '';
  position: absolute;
  left: 0;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  outline: 3px solid var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-step:hover .tl-rail::before { transform: scale(1.35); }

.tl-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  padding-right: 44px;
  margin: 0 0 8px;
}
.tl-what {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray-700);
  padding-right: 44px;
  text-wrap: pretty;
  margin: 0;
}

@media (max-width: 1000px) {
  .story-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .story-band img { height: 260px; }
  .tl { grid-template-columns: 1fr; gap: 34px; }
  .tl-step:last-child .tl-rail { background: rgba(15,15,15,0.10); }
}

@media (prefers-reduced-motion: reduce) {
  .story-band img,
  .tl-rail::before { transition: none; }
  .story-band:hover img { transform: none; }
}

/* --- Mission & Vision: single panel, two-column split -------------------- */
.mv-split {
  padding: 130px 0 140px;
  background: var(--white);
}

.mv-heading {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--charcoal);
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: 52px;
}

.mv-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: #111111;
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  gap: 0;
}

.mv-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 52px;
  align-self: stretch;
}

.mv-label {
  display: inline-block;
  padding: 7px 13px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 5px;
  background: var(--yellow);
  color: #111111;
}
.mv-label--alt {
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
}

.mv-statement {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.26;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #FFFFFF;
  text-wrap: balance;
  margin: 0 0 36px;
}

.mv-spec { border-top: 1px solid rgba(255,255,255,0.12); margin: 0; }

.mv-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mv-row:last-child { border-bottom: none; }

.mv-row dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}
.mv-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .mv-panel {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .mv-divider {
    width: 100%;
    height: 1px;
    margin: 36px 0;
  }
}



/* About page reuses the left-aligned header on the kept sections */
.section--gray .ab-head .ab-title,
.section .ab-head .ab-title { color: var(--charcoal); }

/* ===== MANIFESTO (moved to About page) ===== */
.manifesto {
  padding: 160px 0;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.manifesto-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(1);
}
.manifesto-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--charcoal) 75%);
}
.manifesto-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-mark {
  font-family: 'Fraunces', serif;
  font-size: 200px;
  line-height: 0.5;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 20px;
  height: 80px;
}
.manifesto-text {
  font-family: 'Fraunces', serif;
  font-size: 46px;
  line-height: 1.35;
  color: var(--white);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 56px;
}
.manifesto-text em {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--yellow);
}
.manifesto-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.attr-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}
.attr-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.attr-role {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 140px 0;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.fc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fc-content .cap-label { color: var(--charcoal); margin-bottom: 32px; }
.fc-content .cap-label .label-num { color: var(--charcoal) !important; }

.fc-title {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -2.5px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.fc-title em { font-size: 80px; color: var(--charcoal); }
.fc-desc {
  font-size: 18px;
  color: rgba(15,15,15,0.7);
  line-height: 1.7;
  max-width: 480px;
}

.fc-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fc-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 32px;
  background: rgba(15,15,15,0.05);
  border: 1px solid rgba(15,15,15,0.1);
  transition: all 0.3s ease;
  color: var(--charcoal);
}
.fc-detail:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateX(-6px);
}
.fc-detail:hover .fc-detail-label { color: rgba(255,255,255,0.5); }
.fc-detail-label {
  font-size: 11px;
  color: rgba(15,15,15,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s ease;
}
.fc-detail-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.fc-detail--primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.fc-detail--primary .fc-detail-label { color: rgba(255,255,255,0.5); }
.fc-detail--primary:hover { background: var(--white); color: var(--charcoal); }
.fc-detail--primary:hover .fc-detail-label { color: rgba(15,15,15,0.5); }

