/* MET Consulting LLC — brand from logo: #304945 deep forest charcoal-teal */
:root {
  --brand: #304945;
  --brand-dark: #243833;
  --brand-soft: #4a6561;
  --brand-muted: #6b7f7b;
  --brand-tint: #e8eeed;
  --brand-wash: #f4f7f6;
  --text: #1c2422;
  --text-muted: #5a6865;
  --border: #d5dedc;
  --white: #ffffff;
  --max: 1080px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(48, 73, 69, 0.08);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1.05rem; line-height: 1.65;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--white);
  padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1.25rem;
  padding: 0.65rem 0;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.logo img {
  display: block;
  width: auto;
  height: 84px;
  margin: 0;
}

.nav { display: flex; align-items: center; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--border);
  border-radius: 8px; background: var(--white); cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 1.1rem; height: 2px; margin-inline: auto; background: var(--brand);
}
.nav-menu { display: flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  color: var(--brand-dark); text-decoration: none; font-weight: 500; font-size: 0.9rem;
}
.nav-menu a:hover { color: var(--brand); }

.hero {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, var(--brand-wash) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  margin: 0 0 1rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-soft);
}
.hero h1 {
  margin: 0 0 1.25rem; max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.6rem); line-height: 1.02;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-dark); font-weight: 700;
}
.hero-lead { margin: 0 0 2rem; max-width: 44rem; color: var(--text-muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header brand row: MET logo + Export Services chip */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  min-width: 0;
}
.header-export {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--brand-wash);
  color: #1f6b45;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.header-export:hover {
  background: var(--brand-tint);
  border-color: #1f6b45;
  color: #165334;
}

/* In-page Export Services section */
.export-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.export-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}
.export-list-marker {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: #1f6b45;
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .export-list {
    grid-template-columns: 1fr 1fr;
  }
  .export-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.35rem; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--brand-wash); border-block: 1px solid var(--border); }
.section-header { max-width: 44rem; margin-bottom: 2.5rem; }
.section-header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.08; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-dark); font-weight: 700;
}
.section-header p { margin: 0; color: var(--text-muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.65rem; font-size: 1.05rem; color: var(--brand); }
.card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

.note-secondary {
  margin: 2rem 0 0; padding: 1rem 1.15rem; font-size: 0.9rem; color: var(--brand-muted);
  background: var(--brand-tint); border-radius: 8px; border-left: 3px solid var(--brand-soft);
}
.note-secondary strong { color: var(--brand-dark); }

.scale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.scale-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.scale-card h3 { margin: 0 0 0.6rem; font-size: 1.05rem; color: var(--brand); }
.scale-card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

.lane-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem;
}
.lane-grid li {
  display: grid; gap: 0.2rem; padding: 1.1rem 1.25rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.lane-grid strong { color: var(--brand-dark); font-size: 0.98rem; }
.lane-grid span { color: var(--text-muted); font-size: 0.9rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  background: var(--brand); color: var(--white); font-weight: 700; font-size: 0.95rem;
}
.steps h3 { margin: 0.15rem 0 0.35rem; font-size: 1.05rem; color: var(--brand-dark); }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

.affiliate-grid { display: grid; gap: 1.5rem; }
.affiliate-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.affiliate-media img {
  width: 100%; height: 220px; object-fit: cover; object-position: center right;
}
.affiliate-body { padding: 1.5rem 1.6rem 1.75rem; }
.affiliate-tag {
  margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-muted);
}
.affiliate-body h3 { margin: 0 0 0.65rem; color: var(--brand-dark); font-size: 1.25rem; }
.affiliate-body p { margin: 0 0 1.15rem; color: var(--text-muted); }
.affiliate-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.affiliate-thumb { margin: 0; }
.affiliate-thumb img {
  width: 100%; max-height: 180px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border);
}
.affiliate-thumb figcaption { margin-top: 0.45rem; font-size: 0.78rem; color: var(--brand-muted); }

/* Affiliate logo (Maddox) — constrained, not full-bleed photo crop */
.affiliate-media.affiliate-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  min-height: 120px;
}
.affiliate-media.affiliate-logo img {
  width: auto;
  max-width: 280px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
}

.leader-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 760px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  overflow: hidden;
}
.leader-mark img { width: 88px; height: auto; }
.leader-photo {
  width: 140px;
  max-width: 100%;
}
.leader-photo img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.leader-card > div:last-child {
  min-width: 0; /* critical: allow text to wrap inside grid/flex */
  overflow-wrap: anywhere;
  word-break: break-word;
}
.leader-card h3 { margin: 0 0 0.25rem; color: var(--brand-dark); font-size: 1.3rem; }
.leader-role { margin: 0 0 0.85rem; font-weight: 600; color: var(--brand); font-size: 0.95rem; }
.leader-card p { margin: 0 0 0.85rem; color: var(--text-muted); }
.leader-email {
  margin: 0 !important;
  color: var(--brand) !important;
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-inner { max-width: 640px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.contact-list { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list div { display: grid; gap: 0.2rem; }
.contact-list dt {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-muted);
}
.contact-list dd { margin: 0; color: var(--text); }

.site-footer {
  border-top: 1px solid var(--border); padding: 1.75rem 0;
  background: var(--brand-dark); color: #c5d2cf; font-size: 0.9rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.site-footer a { color: #dce6e3; }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 0; }

.page-hero {
  padding: 3rem 0 2rem; background: var(--brand-wash); border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2rem); color: var(--brand-dark); }
.prose { padding: 2.5rem 0 4rem; max-width: 40rem; }
.prose h2 { margin: 2rem 0 0.75rem; font-size: 1.15rem; color: var(--brand); }
.prose p { color: var(--text-muted); }

@media (max-width: 900px) {
  .card-grid, .scale-grid, .lane-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav { position: relative; }
  .nav-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 0.5rem);
    flex-direction: column; gap: 0; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); min-width: 13rem; padding: 0.5rem 0;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { display: block; padding: 0.7rem 1rem; }
  .hero { padding: 3rem 0 2.75rem; }
  .logo img { height: 56px; }
  .header-brand { gap: 0.55rem; }
  .header-export {
    font-size: 0.68rem;
    padding: 0.28rem 0.55rem;
    letter-spacing: 0.03em;
  }
  .site-header { padding-left: max(0.75rem, env(safe-area-inset-left)); padding-right: max(0.75rem, env(safe-area-inset-right)); }
  .header-inner { min-height: 3.75rem; padding: 0.5rem 0; gap: 0.75rem; }
  .container { width: min(100% - 1.75rem, var(--max)); }
  .leader-card {
    grid-template-columns: 1fr;
    padding: 1.15rem;
    gap: 1rem;
  }
  .leader-photo,
  .leader-photo img,
  .leader-photo-initials {
    width: 96px;
    height: 96px;
  }
  .leader-photo-initials { font-size: 1.75rem; }
  .leader-card h3 { font-size: 1.15rem; }
  .affiliate-media img { height: 180px; }
}

.meta-chips{
  list-style:none;margin:1rem 0 1.25rem;padding:0;
  display:flex;flex-wrap:wrap;gap:.5rem .75rem;
}
.meta-chips li{
  font-size:.85rem;background:var(--wash,#f4f7f6);border:1px solid rgba(48,73,69,.12);
  border-radius:999px;padding:.35rem .75rem;color:#243833;
}
.meta-chips strong{margin-right:.35rem;color:var(--primary,#304945);letter-spacing:.04em;font-size:.72rem;text-transform:uppercase;}

/* All-caps display titles — body stays sentence case */
h1, h2, .card h3, .affiliate-body h3, .lane-card h3, .leader-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.card h3, .affiliate-body h3, .lane-card h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.07em;
}
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.nav-menu a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
}
.logo img {
  height: 72px;
  width: auto;
  display: block;
  margin: 0;
  image-rendering: -webkit-optimize-contrast;
}
.affiliate-media img, .affiliate-thumb img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
}

.muted { opacity: 0.7; font-weight: 400; font-size: 0.9em; }
.contact-soon { margin-top: 1rem; color: var(--muted, #6b7280); font-size: 0.95rem; }

.contact-affiliates { margin-top: 0.5rem; font-size: 0.9rem; color: #666; }
.contact-affiliates a { color: #304945; }

.leader-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: #304945;
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 2.25rem;
  letter-spacing: 0.05em;
}

.leader-copy { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }


/* Team grid — distinct circular headshots */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-card img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 0.85rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid #304945;
  background: #e8eeec;
}
.team-card:nth-child(2n) img { border-color: #4a6b64; }
.team-card:nth-child(3n) img { border-color: #243833; }
.team-card:nth-child(4n) img { border-color: #6b8f86; }
.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--brand-dark);
}
.team-role {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
}
.team-email {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .team-card { padding: 0.9rem 0.65rem 1rem; }
  .team-card img { width: 96px; height: 96px; }
}

/* Insights hub */
.insights-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.insights-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; box-shadow: var(--shadow); text-decoration: none; color: inherit;
}
.insights-card:hover { border-color: var(--brand-soft); }
.insights-card img {
  width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border);
}
.insights-card h2 {
  margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--brand-dark);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.15;
}
.insights-meta { margin: 0 0 0.65rem; font-size: 0.85rem; color: var(--brand-muted); font-weight: 600; }
.insights-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.insights-card a.stretched { color: inherit; text-decoration: none; }

.article-hero { padding: 3rem 0 1.5rem; background: var(--brand-wash); border-bottom: 1px solid var(--border); }
.article-hero .eyebrow { margin-bottom: 0.75rem; }
.article-hero h1 {
  margin: 0 0 1rem; max-width: 22ch;
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.08; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-dark); font-weight: 700;
}
.article-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin: 1.25rem 0 0;
}
.article-byline img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--brand);
}
.article-byline-text { display: grid; gap: 0.15rem; }
.article-byline-text strong { color: var(--brand-dark); }
.article-byline-text span { font-size: 0.9rem; color: var(--text-muted); }

.article-body { padding: 2.5rem 0 4rem; max-width: 42rem; }
.article-body p { color: var(--text-muted); margin: 0 0 1.15rem; }
.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display); font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-dark);
}
.article-body ul { margin: 0 0 1.25rem; padding-left: 1.25rem; color: var(--text-muted); }
.article-body li { margin-bottom: 0.45rem; }
.article-footer-nav {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

@media (max-width: 720px) {
  .insights-card { grid-template-columns: 1fr; }
  .insights-card img { width: 96px; height: 96px; }
}
