:root {
  --ink: #07111f;
  --navy: #0b1c36;
  --navy-2: #123055;
  --blue: #1261aa;
  --cyan: #00a9c7;
  --green: #55a942;
  --gold: #f5b500;
  --red: #df2935;
  --paper: #ffffff;
  --mist: #f3f6f9;
  --line: #dce4ec;
  --text: #26374a;
  --muted: #607086;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.018em; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  background: var(--paper); color: var(--ink); padding: .7rem 1rem; font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: var(--red); }
.lede { max-width: 730px; font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--muted); line-height: 1.65; }
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-sm { padding: clamp(3.5rem, 6vw, 5rem) 0; }
.section-dark { background: var(--ink); color: #cfdae7; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .eyebrow { color: #8ed9e7; }
.section-mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,228,236,.9); backdrop-filter: blur(14px);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 124px; height: 64px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { position: relative; text-decoration: none; color: #24364a; font-size: .92rem; font-weight: 750; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: var(--blue); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.15rem;
  border: 1px solid var(--blue); background: var(--blue); color: white !important; text-decoration: none; font-weight: 820;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.nav-cta:hover, .button:hover { transform: translateY(-2px); background: #0d4f8e; border-color: #0d4f8e; }
.button.secondary { background: transparent; border-color: rgba(255,255,255,.42); }
.button.secondary:hover { background: rgba(255,255,255,.1); border-color: white; }
.button.light { color: var(--ink) !important; background: white; border-color: white; }
.button.light:hover { background: #eef5fa; }
.menu-button { display: none; border: 0; background: transparent; padding: .6rem; color: var(--ink); }
.menu-button svg { width: 28px; height: 28px; }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); background: var(--ink); overflow: hidden; }
.hero-copy { display: flex; align-items: center; padding: 5.5rem max(2.5rem, calc((100vw - var(--max))/2)); padding-right: clamp(2rem, 5vw, 5rem); }
.hero-copy h1 { color: white; max-width: 760px; }
.hero-copy .eyebrow { color: #86d8e8; margin-bottom: 1.3rem; }
.hero-copy p { color: #c9d6e4; max-width: 690px; margin: 1.8rem 0 2.1rem; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual { position: relative; min-height: 540px; background: #17314f url('/assets/mosaic-supply-chain-solutions-last-mile-logistics-operations.webp') center / cover no-repeat; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 28%), linear-gradient(0deg, rgba(7,17,31,.5), transparent 50%); }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0 0; height: 12px; background: linear-gradient(90deg, var(--red), #e79916 26%, var(--green) 54%, var(--cyan) 75%, #8147a4); }
.visual-note { position: absolute; right: 2rem; bottom: 2.3rem; max-width: 255px; color: white; border-left: 3px solid var(--cyan); padding-left: 1rem; font-size: .92rem; font-weight: 720; }

.proof-rail { background: white; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 2.2rem 2rem; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-value { color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 900; line-height: 1; letter-spacing: -.045em; }
.proof-label { margin-top: .65rem; color: var(--muted); font-size: .84rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { position: relative; min-height: 285px; padding: 2.1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.principle .number { color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.principle h3 { margin: 3.2rem 0 1rem; }
.principle p { color: var(--muted); margin: 0; }
.principle::after { content: ""; position: absolute; left: 2.1rem; bottom: 0; width: 52px; height: 4px; background: var(--accent, var(--blue)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.statement { border-left: 4px solid var(--cyan); padding-left: 1.7rem; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.45; color: white; font-weight: 720; }
.check-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.check-list li { position: relative; padding: .85rem 0 .85rem 2rem; border-top: 1px solid rgba(255,255,255,.13); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #75d384; font-weight: 900; }

.cta-band { position: relative; overflow: hidden; background: var(--blue); color: white; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -240px; border: 80px solid rgba(255,255,255,.09); transform: rotate(35deg); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 4rem 0; }
.cta-inner h2 { max-width: 720px; color: white; font-size: clamp(2rem, 4vw, 3.2rem); }

.page-hero { background: var(--ink); color: white; padding: clamp(5rem, 10vw, 8.5rem) 0; border-bottom: 10px solid transparent; border-image: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--cyan), #8147a4) 1; }
.page-hero h1 { max-width: 920px; color: white; font-size: clamp(3rem, 6.7vw, 5.8rem); }
.page-hero p { max-width: 760px; color: #c6d4e2; font-size: 1.22rem; margin: 1.5rem 0 0; }
.page-hero .eyebrow { color: #87d9e8; margin-bottom: 1.1rem; }

.timeline { margin-top: 3.5rem; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 3rem 2.5rem; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: .4rem; width: 12px; height: 12px; background: var(--blue); border: 3px solid white; box-shadow: 0 0 0 1px var(--blue); }
.timeline-year { color: var(--blue); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.timeline-item h3 { margin: .45rem 0 .75rem; }
.timeline-item p { max-width: 740px; color: var(--muted); }

.capabilities-banner {
  position: relative; min-height: clamp(320px, 38vw, 450px); overflow: hidden; display: flex; align-items: flex-end;
  margin-bottom: 1.2rem; background: var(--ink); box-shadow: var(--shadow); isolation: isolate;
}
.capabilities-banner-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.capabilities-banner::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(5,12,22,.95) 0%, rgba(7,17,31,.82) 34%, rgba(7,17,31,.24) 64%, rgba(7,17,31,.08) 100%), linear-gradient(0deg, rgba(5,12,22,.72) 0%, transparent 62%);
}
.capabilities-banner::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--red), #e79916 26%, var(--green) 54%, var(--cyan) 75%, #8147a4); }
.capabilities-banner-content {
  width: 100%; display: flex; align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.4rem, 5.5vw, 4.5rem);
}
.capabilities-banner-copy { max-width: 590px; }
.capabilities-banner h2 { max-width: 660px; color: white; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.capabilities-banner .eyebrow { color: #8ed9e7; margin-bottom: .9rem; }
.capabilities-banner .lede { margin: 1.2rem 0 0; color: #e0e8f0; text-shadow: 0 1px 5px rgba(0,0,0,.65); }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capability { background: white; padding: clamp(2rem, 4vw, 3.2rem); }
.capability-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--mist); color: var(--blue); font-weight: 900; margin-bottom: 2rem; }
.capability h3 { margin-bottom: .85rem; }
.capability p { color: var(--muted); margin: 0; }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.role { border: 1px solid var(--line); padding: 2rem; background: white; }
.role h3 { margin-bottom: .8rem; }
.role p { color: var(--muted); }
.role small { color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.notice { border: 1px solid #bdd7ea; background: #eff8ff; padding: 1.5rem; color: #173b5b; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 3rem; }
.contact-card { border: 1px solid var(--line); padding: 2.2rem; }
.contact-card h3 { margin-bottom: .8rem; }
.contact-card p { color: var(--muted); }
.contact-link { color: var(--blue); font-weight: 850; text-underline-offset: 4px; }
.details { margin: 0; }
.details div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.details dt { font-weight: 850; color: var(--ink); }
.details dd { margin: 0; color: var(--muted); }

.site-footer { background: #050c16; color: #aebdcd; padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand img { width: min(100%, 250px); height: auto; object-fit: contain; }
.footer-brand p { max-width: 460px; margin-top: 1.3rem; }
.footer-col h3 { color: white; font-size: .9rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: #c4d1de; text-decoration: none; padding: .35rem 0; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #243141; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 2rem; color: #8697aa; font-size: .86rem; }
.footer-bottom a { color: #b9c8d6; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 1.2rem; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .8rem; }
  .site-nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 1.4rem; }
  .hero-visual { min-height: 430px; }
  .section-head, .split { grid-template-columns: 1fr; gap: 2rem; }
  .capabilities-banner { min-height: 430px; }
  .capabilities-banner-content { grid-template-columns: 1fr; gap: 1.4rem; }
  .principles, .role-grid { grid-template-columns: 1fr; }
  .capability-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 2rem), var(--max)); }
  .header-inner { height: 72px; }
  .brand img { width: 104px; height: 56px; }
  .site-nav { top: 72px; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-visual { min-height: 330px; }
  .capabilities-banner { min-height: 460px; }
  .capabilities-banner-image { object-position: 58% center; }
  .capabilities-banner::before { background: linear-gradient(0deg, rgba(5,12,22,.96) 0%, rgba(7,17,31,.78) 58%, rgba(7,17,31,.35) 100%); }
  .visual-note { left: 1.2rem; right: 1.2rem; bottom: 1.5rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child { padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .details div { grid-template-columns: 1fr; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.mtc-context { background: #eef4f8; border-top: 1px solid #d8e1e8; }
.mtc-context-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.mtc-context-grid h2 { max-width: 680px; }
.mtc-context-grid p + p { margin-top: 1.1rem; color: #52677a; }

@media (max-width: 820px) {
  .mtc-context-grid { grid-template-columns: 1fr; }
}
