/* Meridian Technical Sales — fresh static site styles */
:root {
  --navy: #0b1f4d;
  --navy-deep: #071638;
  --navy-ink: #0a1836;
  --red: #cf1f2e;
  --red-dark: #a81624;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-tint: #eaf0f8;
  --text: #1b2434;
  --muted: #5c6b82;
  --line: #dfe6f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 77, 0.10);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--navy-ink); margin: 0 0 0.6em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-logo { height: 48px; width: auto; display: block; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 55%, var(--red) 130%);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  display: grid; place-items: center;
}

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--red); }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--red); font-weight: 600; }
.site-nav .nav-cta {
  background: var(--red); color: #fff !important; border: 0; border-radius: 999px;
  padding: 0.55rem 1.15rem; font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--red-dark); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.55rem 0.6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1100px 420px at 85% -10%, rgba(207,31,46,0.14), transparent 60%),
              linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 78%);
  color: #fff; padding: 4.5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -1px -10%; height: 70px;
  background: var(--bg); clip-path: polygon(0 100%, 100% 100%, 100% 25%, 0 100%);
  opacity: 0.06;
}
.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ffd9dd; border: 1px solid rgba(255,255,255,0.28);
  padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; max-width: 16ch; }
.hero h1 .accent { color: #ff6b76; }
.hero p.lede { color: #d7e0f0; font-size: 1.12rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px;
  padding: 0.75rem 1.6rem; font-size: 1rem; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.years-badge {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 2.2rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 0.7rem 1.1rem;
}
.years-badge strong { font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1; }
.years-badge span { color: #d7e0f0; font-size: 0.9rem; line-height: 1.35; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); color: #fff; padding: 3rem 0 2.6rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.35rem; }
.page-hero p { color: #c9d5ea; margin: 0; max-width: 62ch; }

/* ---------- sections ---------- */
.section { padding: 3.6rem 0; }
.section.soft { background: var(--bg-soft); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-sub { color: var(--muted); max-width: 64ch; }
.kicker { color: var(--red); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.5rem; }

/* process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.8rem; }
.process-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; box-shadow: var(--shadow); position: relative;
}
.process-card .step {
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--red); text-transform: uppercase;
}
.process-card h3 { margin: 0.45rem 0 0.4rem; font-size: 1.25rem; }
.process-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* logo strip (home principals teaser) */
.principal-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.principal-strip a {
  text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem;
}
.principal-strip a:hover { border-color: var(--red); color: var(--red); }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #12305f); color: #fff; border-radius: 20px; padding: 2.6rem 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: #c9d5ea; margin: 0; }

/* ---------- line card ---------- */
.principal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2rem; }
.principal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.9rem;
}
.logo-tile {
  height: 92px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 0.7rem 1.2rem; overflow: hidden;
}
.logo-tile img { height: 58px; width: auto; max-width: 100%; object-fit: contain; }
.logo-tile img.logo-wide { height: 46px; max-width: 240px; }
.logo-tile .tile-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.12rem; text-align: center; line-height: 1.25; }
.logo-tile .tile-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.principal-card h3 { margin: 0; font-size: 1.3rem; }
.principal-card p { color: var(--muted); font-size: 0.96rem; margin: 0; flex: 1; }
.principal-card .visit { font-weight: 600; color: var(--red); text-decoration: none; font-size: 0.95rem; }
.principal-card .visit:hover { text-decoration: underline; }

/* ---------- distributors ---------- */
.dist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2rem; }
.dist-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.dist-card h3 { margin: 0 0 0.7rem; font-size: 1.2rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--bg-tint); }
.dist-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dist-links a {
  text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--navy);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 0.42rem 0.8rem;
}
.dist-links a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.dist-note { margin-top: 2rem; background: var(--bg-tint); border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2rem; }
.member-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.member-photo { aspect-ratio: 3 / 3.4; background: var(--bg-soft); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member-info { padding: 1.05rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.28rem; flex: 1; }
.member-info h3 { margin: 0; font-size: 1.06rem; }
.member-title { color: var(--red); font-weight: 600; font-size: 0.83rem; letter-spacing: 0.02em; }
.member-contact { margin-top: 0.45rem; display: flex; flex-direction: column; gap: 0.22rem; font-size: 0.88rem; }
.member-contact a { color: var(--muted); text-decoration: none; word-break: break-all; }
.member-contact a:hover { color: var(--red); text-decoration: underline; }
.member-linkedin { margin-top: 0.55rem; }
.member-linkedin a {
  display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem;
}
.member-linkedin a:hover { border-color: var(--navy); background: var(--bg-soft); }
.member-linkedin svg { width: 16px; height: 16px; fill: #0a66c2; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; align-items: start; margin-top: 1.6rem; }
.fact-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.fact-box h3 { color: #fff; margin-bottom: 1rem; }
.fact-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid rgba(255,255,255,0.16); font-size: 0.95rem; }
.fact-row strong { font-family: var(--font-display); font-size: 1.15rem; }
.fact-row span { color: #c9d5ea; text-align: right; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; margin-top: 2rem; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 1rem; }
.contact-line { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.65rem 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; background: var(--bg-tint); display: grid; place-items: center; font-size: 1rem; }
.contact-line a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-line a:hover { color: var(--red); text-decoration: underline; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c6dd; }
.footer-inner { padding: 2.6rem 0 1.6rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav a { color: #b9c6dd; text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.footer-era-line { display: inline-flex; align-items: center; gap: 0.7rem; }
.footer-era img { height: 30px; width: auto; display: block; }
.footer-linkedin { display: inline-flex; align-items: center; gap: 0.5rem; color: #b9c6dd; text-decoration: none; font-weight: 600; }
.footer-linkedin:hover { color: #fff; }
.footer-linkedin svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .principal-grid, .dist-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,31,77,0.12);
    padding: 0.6rem 4%;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0.2rem; border-bottom: 1px solid var(--bg-soft); }
  .site-nav a.active { border-bottom: 1px solid var(--bg-soft); border-left: 3px solid var(--red); padding-left: 0.6rem; }
  .site-nav .nav-cta { text-align: center; margin: 0.6rem 0; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 3rem 0 2.8rem; }
  .cta-band { padding: 2rem 1.4rem; }
}
@media (max-width: 460px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .member-info h3 { font-size: 0.98rem; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- contact banner ---------- */
.contact-banner { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #12305f); margin-top: 4rem; }
.contact-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.6rem 0; }
.contact-banner h2 { color: #fff; margin: 0 0 0.35rem; font-size: 1.9rem; }
.contact-banner p { color: #c9d5ea; margin: 0; }
.contact-banner-links { display: flex; flex-direction: column; gap: 0.4rem; text-align: right; }
.contact-phone { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: #fff; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-site { color: #c9d5ea; font-weight: 600; text-decoration: none; }
.contact-site:hover { color: #fff; text-decoration: underline; }
@media (max-width: 720px) {
  .contact-banner-links { text-align: left; }
  .contact-banner h2 { font-size: 1.6rem; }
  .contact-phone { font-size: 1.4rem; }
}
