:root {
  --navy-950: #041126;
  --navy-900: #071a37;
  --navy-800: #0a2c56;
  --blue-600: #087ad9;
  --blue-500: #1596f5;
  --cyan-400: #18d4ee;
  --violet-500: #9e49ff;
  --green-500: #21b873;
  --rose-500: #b46d74;
  --rose-200: #f0d9d7;
  --ink: #0d2341;
  --muted: #5d6c80;
  --line: #dfe8f1;
  --surface: #f6f9fc;
  --white: #fff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(8, 37, 76, .12);
  --shadow-soft: 0 14px 42px rgba(8, 37, 76, .08);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(21, 150, 245, .2); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: #fff; color: var(--navy-900); padding: 10px 14px; border-radius: 10px;
  box-shadow: var(--shadow-soft); transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.container { width: var(--container); margin-inline: auto; }
.section-pad { padding: 112px 0; position: relative; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(9,43,84,.08);
  box-shadow: 0 8px 30px rgba(8,37,76,.05);
}
.nav-wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 46px; height: 46px; border-radius: 12px; }
.brand strong { font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; color: #34506d; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue-600); }
.site-nav .nav-cta { background: var(--navy-900); color: #fff; padding: 11px 17px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: #fff; background: var(--blue-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy-900); border-radius: 4px; }

.hero { min-height: 760px; padding-top: 150px; display: flex; align-items: center; overflow: hidden; background:
  radial-gradient(circle at 86% 15%, rgba(24,212,238,.12), transparent 26%),
  radial-gradient(circle at 72% 48%, rgba(158,73,255,.07), transparent 24%),
  linear-gradient(180deg, #fbfdff 0%, #fff 100%);
}
.hero::after { content: ""; position: absolute; inset: 80px 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(16,69,116,.08), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 66px; align-items: center; position: relative; z-index: 2; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 340px; height: 340px; right: -120px; top: 210px; background: rgba(30,172,244,.10); }
.hero-glow-two { width: 250px; height: 250px; left: -120px; bottom: 50px; background: rgba(133,83,245,.07); }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 11px; color: var(--blue-600); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow > span { width: 34px; height: 2px; background: linear-gradient(90deg,var(--blue-500),var(--cyan-400)); }
.eyebrow.light { color: #9fd5ff; }
.eyebrow.light > span { background: #63d5ff; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 690px; font-size: clamp(45px, 5vw, 72px); line-height: 1.02; letter-spacing: -.052em; color: var(--navy-950); }
h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; color: var(--navy-950); }
h3 { margin: 0; line-height: 1.2; color: var(--navy-950); }
.gradient-text { background: linear-gradient(90deg, var(--blue-500), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 28px 0 0; max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; text-decoration: none; border: 0; cursor: pointer; font-weight: 750; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); box-shadow: 0 14px 30px rgba(8,122,217,.22); }
.btn-secondary { color: var(--navy-900); background: #fff; border: 1px solid #dbe7f2; box-shadow: 0 10px 24px rgba(9,43,84,.06); }
.btn-light { background: #fff; color: var(--navy-900); width: 100%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-proof span { border: 1px solid #e2ebf3; background: rgba(255,255,255,.8); color: #52667b; border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 700; }

.brand-panel { position: relative; background: rgba(255,255,255,.82); border: 1px solid rgba(219,232,244,.9); padding: 28px; border-radius: 34px; box-shadow: var(--shadow); overflow: hidden; }
.brand-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21,150,245,.05), transparent 42%, rgba(158,73,255,.04)); pointer-events: none; }
.panel-accent { position: absolute; left: 9%; right: 9%; top: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan-400), var(--blue-500), var(--violet-500), transparent); }
.hero-logo { width: 100%; height: auto; border-radius: 20px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mini-cards div { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 14px; background: #f6f9fc; border: 1px solid #e7eef6; color: #50657b; font-size: 11px; }
.mini-cards strong { color: var(--blue-600); font-size: 15px; }

.capability-strip { border-block: 1px solid #e9eff5; background: #fbfdff; }
.strip-grid { display: grid; grid-template-columns: repeat(4,1fr); min-height: 78px; align-items: center; }
.strip-grid span { text-align: center; color: #617387; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border-right: 1px solid #e4ecf4; }
.strip-grid span:last-child { border-right: 0; }

.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; max-width: 700px; margin: 20px 0 0; }
.section-heading.compact { margin-bottom: 44px; }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.service-card { position: relative; padding: 32px; border: 1px solid #e2eaf2; border-radius: var(--radius-md); background: #fff; box-shadow: 0 12px 30px rgba(9,43,84,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -55px; bottom: -55px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(21,150,245,.07), transparent 68%); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #cbddea; }
.service-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(21,150,245,.09); color: var(--blue-600); margin-bottom: 26px; }
.service-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-icon-purple { background: rgba(158,73,255,.09); color: var(--violet-500); }
.service-icon-green { background: rgba(33,184,115,.1); color: var(--green-500); }
.service-number { position: absolute; top: 30px; right: 30px; margin: 0; font-size: 12px; letter-spacing: .13em; color: #9babba; font-weight: 800; }
.service-card h3 { font-size: 24px; letter-spacing: -.025em; }
.service-card > p:not(.service-number) { color: var(--muted); margin: 14px 0 20px; }
.service-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.service-card li { color: #3d5269; font-size: 14px; }
.service-card li::before { content: "✓"; color: var(--blue-600); margin-right: 9px; font-weight: 900; }

.alt-section { background: var(--surface); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.about-visual img { width: min(360px, 78%); border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 28px 70px rgba(9,43,84,.14); }
.orbit { position: absolute; border: 1px solid rgba(21,150,245,.22); border-radius: 50%; }
.orbit-a { width: 470px; height: 470px; }
.orbit-b { width: 590px; height: 350px; transform: rotate(-20deg); border-color: rgba(158,73,255,.18); }
.orbit-label { position: absolute; z-index: 3; font-size: 10px; font-weight: 900; letter-spacing: .14em; color: #47708e; background: #fff; border: 1px solid #dce8f1; border-radius: 999px; padding: 8px 12px; box-shadow: 0 10px 30px rgba(9,43,84,.08); }
.label-one { top: 10%; left: 12%; }
.label-two { right: 6%; top: 45%; color: #8151c8; }
.label-three { bottom: 9%; left: 18%; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 22px 0 0; }
.feature-list { display: grid; gap: 14px; margin-top: 32px; }
.feature-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #dfe8f1; }
.feature-list span { color: var(--blue-600); font-size: 12px; font-weight: 900; letter-spacing: .1em; padding-top: 2px; }
.feature-list p { margin: 0; color: #52677d; font-size: 14px; }
.feature-list strong { color: var(--ink); }

.family-section { background: linear-gradient(135deg, var(--navy-950), #0a315d 74%, #0a3b72); color: #fff; overflow: hidden; }
.family-section::before { content: "MCJL"; position: absolute; right: -30px; bottom: -120px; font-size: 300px; font-weight: 900; letter-spacing: -.08em; color: rgba(255,255,255,.025); line-height: 1; }
.family-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.family-copy h2 { color: #fff; }
.family-copy > p:not(.eyebrow) { max-width: 650px; color: #b8cbe0; font-size: 17px; margin: 23px 0 0; }
.family-copy strong { color: #fff; }
.mcjl-wordmark { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 34px; }
.mcjl-wordmark span { display: flex; flex-direction: column; color: #a9bed4; font-size: 11px; }
.mcjl-wordmark b { font-size: 36px; line-height: 1; color: #fff; margin-bottom: 7px; background: linear-gradient(180deg,#fff,#66d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.role-stack { display: grid; gap: 12px; }
.role-stack article { display: grid; grid-template-columns: 14px 1fr; gap: 18px; padding: 21px 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.role-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; box-shadow: 0 0 0 7px rgba(255,255,255,.04); }
.role-blue { background: #32c8ff; }
.role-purple { background: #a968ff; }
.role-rose { background: #df9d9c; }
.role-stack small { color: #83b4dd; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.role-stack h3 { color: #fff; font-size: 19px; margin-top: 2px; }
.role-stack p { color: #afc3d7; font-size: 13px; margin: 6px 0 0; }

.ch-card { min-height: 530px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, #fff8f7, #fff, #f8f2fb); border: 1px solid #efe1e2; box-shadow: var(--shadow-soft); }
.ch-copy { padding: 58px 0 58px 64px; position: relative; z-index: 2; }
.ch-eyebrow { color: #a65f68; }
.ch-eyebrow > span { background: linear-gradient(90deg,#b46d74,#d7a4a5); }
.ch-monogram { margin: 0 0 4px; font-family: Georgia, serif; color: #b46d74; font-size: 64px; letter-spacing: -.08em; line-height: 1; }
.ch-copy h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.03em; color: #74484f; }
.ch-copy > p:not(.eyebrow):not(.ch-monogram) { color: #7d6063; max-width: 610px; font-size: 16px; }
.ch-note { padding-left: 16px; border-left: 2px solid #d7a4a5; font-style: italic; }
.text-link { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 800; text-decoration: none; color: var(--blue-600); }
.ch-link { color: #9d5c64; }
.ch-art { position: relative; height: 100%; min-height: 530px; display: grid; place-items: center; overflow: hidden; }
.ch-art > span { position: relative; z-index: 3; font-family: Georgia, serif; font-size: 128px; color: rgba(143,84,92,.82); letter-spacing: -.1em; transform: translateX(-10px); }
.ch-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(180,109,116,.22); }
.ring-one { width: 280px; height: 280px; }
.ring-two { width: 380px; height: 380px; border-style: dashed; transform: rotate(25deg); }
.ring-three { width: 560px; height: 250px; transform: rotate(-28deg); border-color: rgba(158,73,255,.1); }

.process-section { padding-top: 40px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-grid article { padding: 24px; border-top: 2px solid #dce8f1; }
.process-grid span { color: var(--blue-600); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.process-grid h3 { font-size: 21px; margin-top: 14px; }
.process-grid p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.contact-section { background: #f6f9fc; }
.contact-card { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, var(--navy-950), #0a3870); box-shadow: var(--shadow); }
.contact-copy { padding: 64px; align-self: center; color: #fff; }
.contact-copy h2 { color: #fff; font-size: clamp(34px, 4vw, 48px); }
.contact-copy > p:not(.eyebrow):not(.contact-status) { color: #b9cee1; font-size: 16px; margin-top: 20px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.contact-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); text-decoration: none; color: #fff; font-size: 13px; }
.contact-status { margin: 20px 0 0; color: #88abc9; font-size: 12px; max-width: 480px; }
.contact-form { margin: 16px; padding: 32px; border-radius: 24px; background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #3a5068; font-size: 12px; font-weight: 800; }
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4), .contact-form .btn, .form-note, .form-result { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #dbe5ef; border-radius: 12px; background: #f9fbfd; color: var(--ink); padding: 12px 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 124px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(21,150,245,.09); }
.contact-form .btn { background: linear-gradient(135deg, var(--blue-600), #075ab4); color: #fff; }
.form-note { margin: -4px 0 0; color: #7b8b9d; font-size: 11px; }
.form-result { background: #f2f8fd; border: 1px solid #dceaf5; border-radius: 14px; padding: 14px; }
.form-result p { margin: 0 0 10px; color: #52687e; font-size: 12px; white-space: pre-wrap; }
.copy-message { border: 0; border-radius: 9px; background: var(--navy-900); color: #fff; padding: 8px 11px; font-size: 11px; cursor: pointer; }

.site-footer { background: #fff; border-top: 1px solid #e8eef4; }
.footer-grid { min-height: 132px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; align-items: center; color: #66788a; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 13px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--navy-900); font-size: 15px; }
.footer-brand span { font-size: 11px; }
.legal { text-align: right; }
.legal strong { color: #425973; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .section-pad { padding: 86px 0; }
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: rgba(255,255,255,.98); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .22s ease; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { font-size: 18px; }
  .hero { padding-top: 126px; }
  .hero-grid, .about-grid, .family-grid { grid-template-columns: 1fr; gap: 54px; }
  .brand-panel { max-width: 670px; margin-inline: auto; }
  .about-visual { order: 2; }
  .family-grid { gap: 45px; }
  .ch-card { grid-template-columns: 1fr; }
  .ch-copy { padding: 50px; }
  .ch-art { min-height: 330px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-copy { padding-bottom: 24px; }
  .contact-form { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; padding: 32px 0; gap: 14px; }
  .legal { text-align: left; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section-pad { padding: 72px 0; }
  .nav-wrap { height: 72px; }
  .brand span { font-size: 15px; }
  .hero { min-height: auto; padding-top: 116px; }
  h1 { font-size: clamp(40px, 13vw, 56px); }
  h2 { font-size: clamp(31px, 10vw, 43px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .brand-panel { padding: 13px; border-radius: 24px; }
  .mini-cards { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .mini-cards div { padding: 8px 3px; flex-direction: column; gap: 0; }
  .strip-grid { grid-template-columns: repeat(2,1fr); padding: 10px 0; }
  .strip-grid span { min-height: 46px; display: grid; place-items: center; padding: 0 8px; border-bottom: 1px solid #e4ecf4; }
  .strip-grid span:nth-child(2n) { border-right: 0; }
  .strip-grid span:nth-child(3), .strip-grid span:nth-child(4) { border-bottom: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .about-visual { min-height: 390px; }
  .orbit-a { width: 340px; height: 340px; }
  .orbit-b { width: 400px; height: 250px; }
  .orbit-label { font-size: 8px; }
  .mcjl-wordmark { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .ch-copy { padding: 36px 26px; }
  .ch-art { min-height: 280px; }
  .ch-art > span { font-size: 96px; }
  .ring-one { width: 210px; height: 210px; }
  .ring-two { width: 290px; height: 290px; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-copy { padding: 38px 26px 20px; }
  .contact-form { margin: 12px; padding: 22px; grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
}
