/* Meridian Strategic Insights – Professional Regional Advisory */
:root {
  --bg: #0a0f1a;
  --bg-soft: #111827;
  --surface: #161f2e;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #0d9488; /* teal – professional & regionally resonant */
  --accent-soft: #14b8a6;
  --border: rgba(255,255,255,0.08);
  --card-bg: #1a2332;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.15em;
}

.logo span {
  color: var(--accent);
  font-size: 0.9em;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

.search, .hamburger {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 2.5rem 6rem;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 26, 0.25) 0%,
    rgba(10, 15, 26, 0.5) 35%,
    rgba(10, 15, 26, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.crumb {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-soft);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.75rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

.button:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.button b {
  font-weight: 400;
}

.button.light {
  background: #fff;
  color: var(--bg);
}

.button.light:hover {
  background: #e2e8f0;
}

/* Statement */
.statement {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.statement h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.statement p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 640px;
}

/* Services */
.services {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-top {
  margin-bottom: 3.5rem;
}

.section-top h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-top: 0.75rem;
  letter-spacing: -0.01em;
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.service:hover {
  background: rgba(255,255,255,0.02);
}

.service span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.service h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.service p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 540px;
}

.service b {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.service:hover b {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* Regions */
.regions {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 560px;
  background: var(--bg-soft);
}

.region-image {
  position: relative;
  overflow: hidden;
}

.region-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.region-content {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.region-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.75rem 0 1.25rem;
  letter-spacing: -0.01em;
}

.region-content > p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.region-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.region-grid a:hover {
  color: var(--accent-soft);
}

.region-grid a span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Insights */
.insights {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.insight-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.75rem 0 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.insight-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.insight-title a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.insight-title a:hover {
  color: var(--accent-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cards article {
  background: var(--card-bg);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
}

.cards article:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cards article:hover .card-image img {
  transform: scale(1.04);
}

.cards .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 1.25rem 1.25rem 0.5rem;
}

.cards h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 1.25rem 0.75rem;
  line-height: 1.35;
}

.cards p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 1.25rem 1rem;
  line-height: 1.55;
}

.cards small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 1.25rem 1.5rem;
  opacity: 0.8;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--bg-soft);
  min-height: 480px;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-content {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.75rem 0 1.5rem;
  letter-spacing: -0.01em;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.under {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--accent-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.under:hover {
  border-color: var(--accent-soft);
}

/* Contact */
.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.01em;
}

.contact p {
  color: var(--text-muted);
  max-width: 420px;
}

/* Footer */
footer {
  padding: 3.5rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--accent);
}

footer > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

footer small {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 960px) {
  .statement {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .region-image {
    min-height: 320px;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

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

  .about-image {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 1.25rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  nav.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .search {
    display: none;
  }

  .hero {
    padding: 0 1.25rem 4rem;
    min-height: 90vh;
  }

  .services,
  .insights,
  .statement,
  .contact {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .region-content,
  .about-content {
    padding: 2.5rem 1.5rem;
  }

  .service {
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
  }

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

/* Detailed Services */
.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.service-list.detailed {
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.service-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 0.2rem;
}

.service-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.service-item .cn {
  font-size: 0.9rem;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.service-item p:not(.cn) {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
}

/* Clients */
.clients {
  background: var(--bg-soft);
  padding: 6rem 2.5rem;
}

.clients-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.clients h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.01em;
}

.clients-intro {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

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

.client-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s;
}

.client-card:hover {
  border-color: rgba(255,255,255,0.15);
}

.client-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.client-card p {
  font-size: 0.9rem;
  color: var(--accent-soft);
}

/* Careers */
.careers {
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--border);
}

.careers-inner {
  max-width: 900px;
  margin: 0 auto;
}

.careers h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.75rem 0 2rem;
  letter-spacing: -0.01em;
}

.careers-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.careers-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.careers-content .cn {
  font-size: 0.95rem;
  color: var(--accent-soft);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.careers-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
  max-width: 680px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-item {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

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

  .clients,
  .careers {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
