:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-2: #10b981;
  --dark: #020617;
  --dark-soft: #0f172a;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand-title { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.72rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.2em; margin-top: 2px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: #475569; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--text); }
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(16,185,129,0.15), transparent 25%),
    radial-gradient(circle at bottom left, rgba(15,23,42,0.08), transparent 24%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 45%, #ecfdf5 100%);
}
.hero-grid, .two-col, .contact-grid { display: grid; gap: 44px; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; padding: 40px 0 72px; align-items: start; }
.badges, .pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.badge, .pill {
  display: inline-block;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 600;
}
.badge.brand { background: #d1fae5; color: #065f46; }
.badge.soft, .pill { background: #e2e8f0; color: #334155; }

.hero h1 {
  font-size: clamp(2.0rem, 3.0vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}


.hero p.lead, .section-copy { font-size: 1.08rem; color: #475569; max-width: 760px; }

.hero-copy-lift {
  margin-top: 0;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 20px; border-radius: 18px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; transition: 0.2s ease;
}
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: #111827; transform: translateY(-1px); }
.btn-outline { border-color: #cbd5e1; color: var(--text); background: rgba(255,255,255,0.78); }
.btn-outline:hover { border-color: #94a3b8; transform: translateY(-1px); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.card-body { padding: 28px; }
.metric-grid, .services-grid, .cards-3, .cards-2, .contact-mini-grid { display: grid; gap: 18px; }
.metric-grid { grid-template-columns: repeat(2, 1fr); }
.metric, .mini-card {
  background: var(--surface-2);
  border-radius: 18px;
  padding: 18px;
}
.metric small, .label { display: block; color: #64748b; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; }
.metric strong { display: block; margin-top: 10px; font-size: 1.02rem; }
.dark-panel {
  background: var(--dark-soft);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
}
.eyebrow { color: var(--brand); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 10px; }
.section { padding: 76px 0; }
.section.alt { background: rgba(248,250,252,0.9); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--dark); color: #fff; border-top: 1px solid #0f172a; border-bottom: 1px solid #0f172a; }
.section.dark .section-copy, .section.dark .muted, .section.dark p { color: #cbd5e1; }
.section h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 16px; }
.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
.services-grid { grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.service-card .icon {
  width: 54px; height: 54px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #d1fae5; color: #065f46; font-size: 1.5rem; margin-bottom: 18px;
}
.service-card h3, .cards-3 h3, .cards-2 h3 { margin: 0 0 10px; font-size: 1.28rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.feature-box { border-radius: 24px; padding: 24px; background: #f8fafc; }
.feature-box.brand { background: #ecfdf5; }
.feature-box .icon { font-size: 1.6rem; }
.checklist { display: grid; gap: 14px; }
.check { background: #f8fafc; border-radius: 18px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.check .tick { color: var(--brand-2); font-weight: 800; }
.contact-card { overflow: hidden; }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; }
.contact-mini-grid { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.dark-action-list p { margin: 0 0 12px; color: #cbd5e1; }
.footer {
  background: #f8fafc; border-top: 1px solid var(--line); padding: 28px 0 42px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer small { color: #64748b; }
.page-hero { padding: 40px 0 32px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.kicker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.placeholder-image {
  min-height: 220px; border-radius: 24px; border: 2px dashed #cbd5e1; background: linear-gradient(135deg, #f8fafc, #ecfdf5);
  display: flex; align-items: center; justify-content: center; text-align: center; color: #475569; padding: 24px;
}
.notice {
  background: #fff7ed; color: #9a3412; border: 1px solid #fdba74; border-radius: 18px; padding: 16px 18px; margin-top: 16px;
}
@media (max-width: 1000px) {
  .hero-grid, .two-col, .contact-grid, .services-grid, .cards-3, .cards-2, .kicker-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
.header-inner{flex-direction:column; align-items:flex-start; gap:12px}
  .nav{display:flex; flex-wrap:wrap; gap:10px 16px; width:100%}
  .nav a{font-size:0.92rem; line-height:1.3}
  .hero-grid, .two-col, .contact-grid, .services-grid, .cards-3, .cards-2, .metric-grid, .contact-mini-grid, .kicker-grid{grid-template-columns:1fr}
  .section, .hero-grid{padding-top:54px; padding-bottom:54px}
  .card-body{padding:22px}
  .btn{width:100%; justify-content:center}
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.about-intro {
  align-items: start;
}

.about-image-wrap {
  padding-top: 70px; /* pushes image down to align with top of body text */
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== EXPERIENCE HERO FIX ===== */
.experience-hero {
  max-width: 1280px;
}

.experience-title {
  max-width: 1180px;
  margin-bottom: 28px;
}

.experience-copy-wrap {
  width: 100%;
  max-width: 1180px;
}

.experience-copy,
.experience-hero .section-copy {
  max-width: 1180px !important;
  width: 100%;
  line-height: 1.65;
  display: block;
}

/* ===== SYSTEMS HERO FIX ===== */
.systems-hero {
  max-width: 1280px;
}

.systems-title {
  max-width: 1200px;
  width: 100%;
  line-height: 1.1;
}

.systems-intro,
.systems-hero p {
  max-width: 1150px !important;
  width: 100%;
  display: block;
}

/* ===== SERVICES HERO FIX ===== */

.services-hero {
  max-width: 1280px;
}

.services-hero h1 {
  max-width: 1180px;
}

.services-intro {
  max-width: 1180px;
  width: 100%;
  line-height: 1.65;
  text-align: justify;
  display: block;
}

/* override narrow global rules */
.services-hero p {
  max-width: 1180px !important;
  width: 100%;
}

.image-caption {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 8px;
  text-align: center;
}

/* ===== CORE SYSTEM TEXT FIX ===== */
.core-intro {
  max-width: 1180px;
  width: 100%;
  text-align: justify;
  text-justify: inter-word;
}

/* ===== INSIGHTS HERO FIX ===== */
.insights-hero {
  max-width: 1280px;
}

.insights-title {
  max-width: 1180px;
}

.insights-intro {
  max-width: 1180px;
  width: 100%;
  display: block;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

/* override narrow global hero paragraph rules */
.insights-hero p {
  max-width: 1180px !important;
  width: 100%;
}

/* ===== CONTACT HERO FIX ===== */
.contact-hero {
  max-width: 1280px;
}

.contact-title {
  max-width: 1180px;
}

.contact-intro {
  max-width: 1180px;
  width: 100%;
  display: block;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

/* override narrow global hero paragraph rules */
.contact-hero p {
  max-width: 1180px !important;
  width: 100%;
}

/* ===== INDEX SERVICES TEXT FIX ===== */
.index-services {
  max-width: 1280px;
}

.index-services-title {
  max-width: 1180px;
}

.index-services-intro {
  max-width: 1180px;
  width: 100%;
  display: block;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

/* override narrow global section text rules */
.index-services .section-copy,
.index-services p {
  max-width: 1180px !important;
  width: 100%;
}

.systems-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.insights-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  display: inline-block;
  margin: 0 0 12px 0;
  line-height: 1;
}

.insight-meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 14px;
  line-height: 1.5;
  font-style: italic;
}

.page-hero .eyebrow,
.hero-left .eyebrow,
.hero-grid > div:first-child .eyebrow {
  position: relative;
  top: 0;
}

.insights-cards-section {
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.insight-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.insight-head .label {
  margin-bottom: 0;
}

.insight-type {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding-left: 14px;
  border-left: 3px solid #e34b3f;
}

.type-brief,
.type-energy,
.type-global {
  color: #e34b3f;
}

.insight-meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 14px;
  line-height: 1.5;
  font-style: italic;
}

.contact-card-section {
  margin-top: -70px;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.contact-form-block {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #e6d6c6;
  border-radius: 14px;
  background: #fffaf5;
}

.contact-form-block h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #17233c;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dce5;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: #17233c;
  box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #9aa8bf;
}

.contact-form .btn {
  align-self: start;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}.image-caption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
  line-height: 1.4;
}






/* ===== HERO / EYEBROW ALIGNMENT FIX ===== */
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  line-height: 1;
}

.page-hero .eyebrow,
.hero-grid > div:first-child .eyebrow {
  position: relative;
  top: 0;
}

@media (max-width: 760px) {
  .page-hero { padding: 34px 0 28px; }
}

.justified-text {
  text-align: justify;
}

/* Fix for mobile */
@media (max-width: 768px) {
  .justified-text {
    text-align: left;
  }
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

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

.leadership-intro {
  max-width: 100%;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ===== TEAM PROFILE IMAGE STANDARDIZATION ===== */
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* ===== FULL-WIDTH INTRO TEXT FIX ===== */
.section-copy.wide-intro,
.section-copy.index-services-intro {
  max-width: 1180px !important;
  width: 100%;
  display: block;
  text-align: left;
  line-height: 1.7;
}

.figure-caption {
  margin-top: 12px;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.6;
  text-align: justify;
}

@media (max-width: 768px) {
  .figure-caption {
    text-align: left;
  }
}

.dark-panel-copy {
  margin: 0;
  color: #cbd5e1;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .dark-panel-copy {
    text-align: left;
  }
}

.card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  display: block;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}