:root {
  --navy-950: #020d19;
  --navy-900: #031325;
  --navy-850: #051a2f;
  --navy-800: #072039;
  --cyan: #08e4e7;
  --cyan-soft: #58f4ef;
  --blue: #0b63ff;
  --white: #f8fbff;
  --muted: #a8bac9;
  --line: rgba(112, 190, 231, .18);
  --max: 1240px;
  --gutter: clamp(22px, 5vw, 72px);
  --display: "Manrope", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body { margin: 0; color: var(--white); background: var(--navy-950); font-family: var(--body); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 50% -10%, rgba(17, 84, 139, .2), transparent 35%), url("brand-assets/mranalytics-navy-texture.svg") center / 480px 480px repeat; opacity: .88; }
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; background: url("brand-assets/mranalytics-navy-texture.svg") center / 480px 480px repeat; opacity: .055; mix-blend-mode: screen; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
section[id] { scroll-margin-top: 84px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; color: #001520; background: var(--cyan); border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 34px; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: height .3s, background .3s, border-color .3s; }
.site-header.is-scrolled { height: 72px; background: rgba(2, 13, 25, .9); border-color: var(--line); backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--display); font-size: 18px; font-weight: 300; letter-spacing: .045em; }
.wordmark b { font-weight: 700; }
.wordmark img { width: 52px; height: 30px; object-fit: contain; object-position: center; }
nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 45px); }
nav a { position: relative; font-size: 14px; color: #dce8f1; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--cyan); transition: right .25s; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; padding: 12px 24px; border: 1px solid rgba(8,228,231,.72); font-size: 14px; transition: color .25s, background .25s, box-shadow .25s; }
.header-cta:hover, .header-cta:focus-visible { color: #001722; background: var(--cyan); box-shadow: 0 0 30px rgba(8,228,231,.22); }
.menu-button { display: none; }

.hero { position: relative; min-height: min(940px, 100svh); padding: 180px var(--gutter) 100px; display: grid; align-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(circle at 76% 42%, rgba(12,102,230,.2), transparent 34%), linear-gradient(110deg, #020d19 0%, #04182d 57%, #020d19 100%); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,13,25,.97) 0%, rgba(2,13,25,.62) 42%, transparent 69%), linear-gradient(0deg, rgba(2,13,25,.48), transparent 38%); }
.hero-mark { position: absolute; z-index: 1; right: -4%; top: 19%; width: min(62vw, 900px); height: auto; filter: saturate(1.12) drop-shadow(0 25px 45px rgba(0,71,215,.32)); }
.hero-wave { position: absolute; z-index: 2; left: -6%; bottom: -9%; width: 112%; height: 24%; object-fit: fill; opacity: .72; filter: saturate(1.12) contrast(1.04); }
.hero-copy { width: min(660px, 54vw); }
.descriptor, .section-label { margin: 0 0 30px; color: var(--cyan); font-size: 12px; font-weight: 600; letter-spacing: .34em; }
.hero h1 { margin: 0; max-width: 680px; font-family: var(--display); font-size: clamp(46px, 5.35vw, 78px); font-weight: 300; line-height: 1.08; letter-spacing: -.048em; text-wrap: balance; }
.hero-lead { max-width: 530px; margin: 30px 0 0; color: #c1ced8; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; gap: 18px; margin-top: 40px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 23px; border: 1px solid var(--cyan); font-size: 15px; font-weight: 500; transition: transform .25s, color .25s, background .25s, box-shadow .25s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(0, 214, 226, .18); }
.button-primary { color: #001722; background: var(--cyan); }
.button-ghost { background: rgba(3, 19, 37, .45); }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 16px; color: #8ca2b4; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 72px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

.solutions { position: relative; overflow: hidden; padding: 130px var(--gutter) 30px; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.section-wave::before { content: ""; position: absolute; inset: 8% -12vw auto -12vw; height: 88%; z-index: 0; pointer-events: none; background: url("brand-assets/mranalytics-data-flow.svg?v=8") -90px center / calc(100% + 320px) 46% repeat-y; opacity: .36; transform: rotate(-1deg); filter: saturate(1.08); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.section-intro, .solution-list { position: relative; z-index: 1; max-width: var(--max); margin-inline: auto; }
.section-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; margin-bottom: 92px; }
.section-intro h2, .cases-heading h2, .tech-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(48px, 6vw, 88px); font-weight: 300; line-height: 1.05; letter-spacing: -.055em; }
.solution-row { min-height: 265px; display: grid; grid-template-columns: 90px minmax(320px, 1fr) minmax(260px, .65fr) 54px; align-items: center; gap: 34px; border-top: 1px solid var(--line); }
.solution-row:last-child { border-bottom: 1px solid var(--line); }
.solution-number, .case-index { color: var(--cyan); font-size: 11px; font-weight: 600; letter-spacing: .23em; }
.solution-row h3 { margin: 0; font-family: var(--display); font-size: clamp(52px, 6vw, 82px); font-weight: 300; line-height: .98; letter-spacing: -.05em; }
.solution-row p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.row-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(8,228,231,.44); color: var(--cyan); font-size: 21px; border-radius: 50%; transition: transform .3s, background .3s, color .3s; }
.solution-row:hover .row-arrow { transform: rotate(45deg); color: #001722; background: var(--cyan); }

.cases { position: relative; padding: 170px var(--gutter) 80px; overflow: hidden; background: var(--navy-950); }
.cases::before { content: ""; position: absolute; inset: 360px -12vw 130px -12vw; opacity: .56; background: url("brand-assets/mranalytics-data-flow.svg?v=8") -90px center / calc(100% + 320px) 28% repeat-y; transform: rotate(5deg); filter: saturate(1.1); mask-image: linear-gradient(180deg, transparent 1%, #000 12%, #000 88%, transparent); }
.cases-heading, .case-stream { position: relative; z-index: 1; width: min(100%, var(--max)); margin-inline: auto; }
.cases-heading { margin-bottom: 110px; }
.cases-heading h2 { width: min(900px, 90%); }
.case-stream { display: grid; }
.case-row { width: 58%; min-height: 245px; padding: 48px 34px 54px; border-top: 1px solid var(--line); text-shadow: 0 2px 20px var(--navy-950); }
.case-right { justify-self: end; text-align: right; }
.case-row h3 { margin: 19px 0 12px; font-family: var(--display); font-size: clamp(34px, 4vw, 56px); font-weight: 300; letter-spacing: -.04em; }
.case-row p { max-width: 560px; margin: 0 0 20px; color: #b1c0cc; font-size: 16px; line-height: 1.55; }
.case-right p { margin-left: auto; }
.case-row strong { color: var(--white); font-size: 18px; font-weight: 500; }

.technologies { padding: 130px var(--gutter) 150px; background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.tech-heading, .tech-rail { width: min(100%, var(--max)); margin-inline: auto; }
.tech-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; align-items: start; margin-bottom: 100px; }
.tech-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.tech-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 12px rgba(8,228,231,.5); }
.tech-rail article { position: relative; padding-top: 40px; }
.tech-rail article > span { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; background: var(--cyan); border: 2px solid #b9ffff; border-radius: 50%; box-shadow: 0 0 20px var(--cyan); }
.tech-rail h3 { margin: 0 0 20px; font-family: var(--display); font-size: 29px; font-weight: 300; }
.tech-rail p { margin: 0; color: var(--muted); line-height: 1.65; }

.about { position: relative; min-height: 800px; display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; align-items: center; overflow: hidden; padding: 110px var(--gutter); border-block: 1px solid var(--line); background: radial-gradient(circle at 78% 45%, rgba(12, 93, 209, .24), transparent 38%), var(--navy-950); }
.about::after { content: ""; position: absolute; left: -12vw; right: -12vw; bottom: -12%; height: 42%; opacity: .4; background: url("brand-assets/mranalytics-data-flow.svg?v=8") -90px center / calc(100% + 320px) 66% no-repeat; pointer-events: none; }
.about-copy { position: relative; z-index: 2; max-width: 600px; }
.about h2 { margin: 0 0 40px; font-family: var(--display); font-size: clamp(62px, 7.8vw, 112px); font-weight: 300; line-height: .9; letter-spacing: -.065em; }
.about h2 b { font-weight: 700; }
.about-copy > p:not(.section-label) { max-width: 540px; color: #bdcbd5; font-size: 18px; line-height: 1.7; }
.text-link { display: inline-flex; gap: 22px; margin-top: 24px; padding-bottom: 9px; border-bottom: 1px solid var(--cyan); color: var(--cyan-soft); }
.about-art { position: absolute; right: -12%; top: 3%; width: 70%; z-index: 1; opacity: .92; filter: saturate(1.1) drop-shadow(0 30px 50px rgba(0,68,180,.35)); transform: rotate(-7deg); }
.about-art img { width: 100%; }

.contact { position: relative; min-height: 780px; display: grid; place-items: center; overflow: hidden; padding: 130px var(--gutter) 110px; text-align: center; background: var(--navy-900); }
.contact::before { content: ""; position: absolute; inset: auto -12vw -14% -12vw; height: 54%; background: url("brand-assets/mranalytics-data-flow.svg?v=8") -90px bottom / calc(100% + 320px) 66% no-repeat; opacity: .55; mask-image: linear-gradient(180deg, transparent, #000 24%); }
.contact-inner { position: relative; z-index: 1; width: min(100%, 1060px); }
.contact h2 { margin: 0 auto; max-width: 980px; font-family: var(--display); font-size: clamp(45px, 6.6vw, 88px); font-weight: 300; line-height: 1.08; letter-spacing: -.052em; text-wrap: balance; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 70px 0 48px; }
.contact-grid a { min-height: 105px; display: grid; place-items: center; align-content: center; gap: 16px; padding: 12px; border-right: 1px solid var(--line); color: #dce8f1; transition: color .25s; }
.contact-grid a:last-child { border-right: 0; }
.contact-grid a:hover, .contact-grid a:focus-visible { color: var(--cyan-soft); }
.contact-grid svg { width: 31px; height: 31px; fill: none; stroke: var(--cyan); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.contact-button { min-width: 290px; }

footer { min-height: 245px; display: grid; place-items: center; align-content: center; gap: 22px; padding: 60px var(--gutter); text-align: center; border-top: 1px solid var(--line); background: #020b15; }
.footer-mark { font-size: 27px; }
.footer-mark img { width: 82px; height: 46px; }
footer p { margin: 0; color: #bdcad4; font-size: 11px; letter-spacing: .42em; }
footer p i { color: var(--cyan); font-style: normal; }
footer small { color: #62788a; }

.profile-hero { position: relative; min-height: 720px; display: grid; align-items: end; overflow: hidden; padding: 180px var(--gutter) 110px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 40%, rgba(10, 100, 230, .23), transparent 37%), var(--navy-950); }
.profile-hero::before { content: ""; position: absolute; right: -14%; top: 6%; width: 68%; height: 90%; background: url("brand-assets/mranalytics-isotipo-transparent.png") center / contain no-repeat; opacity: .78; transform: rotate(-8deg); filter: drop-shadow(0 30px 60px rgba(0,84,220,.4)); }
.profile-hero::after { content: ""; position: absolute; inset: auto -12vw -18% -12vw; height: 52%; background: url("brand-assets/mranalytics-data-flow.svg?v=8") -90px bottom / calc(100% + 320px) 66% no-repeat; opacity: .4; mask-image: linear-gradient(180deg, transparent, #000 30%); }
.profile-hero > div { position: relative; z-index: 1; width: min(100%, var(--max)); margin-inline: auto; }
.profile-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(74px, 10vw, 150px); font-weight: 300; line-height: .9; letter-spacing: -.07em; }
.profile-hero .hero-lead { max-width: 700px; }
.profile-story { padding: 130px var(--gutter); background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.profile-grid { width: min(100%, var(--max)); margin-inline: auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(60px, 9vw, 130px); }
.profile-grid h2 { margin: 0 0 38px; font-family: var(--display); font-size: clamp(45px, 6vw, 78px); font-weight: 300; line-height: 1.06; letter-spacing: -.055em; }
.profile-grid p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.profile-aside { padding-left: 40px; border-left: 1px solid var(--line); }
.profile-aside .section-label { margin-top: 46px; margin-bottom: 14px; }
.profile-aside .section-label:first-child { margin-top: 0; }
.profile-aside a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: #dce8f1; }
.profile-aside a:hover { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; padding: 16px var(--gutter) 26px; background: rgba(2,13,25,.97); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; }
  .site-header nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; padding: 0; color: var(--white); background: transparent; border: 1px solid var(--line); }
  .menu-button span { width: 21px; height: 1px; display: block; background: currentColor; transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-cta { display: none; }
  .solution-row { grid-template-columns: 60px 1fr 1fr 44px; }
  .case-row { width: 67%; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; gap: 14px; }
  .wordmark { font-size: 15px; }
  .wordmark img { width: 43px; height: 25px; }
  .hero { min-height: 820px; padding-top: 120px; align-items: start; }
  .hero-mark { top: 14%; right: -43%; width: 128%; opacity: .66; }
  .hero-wave { left: -8%; width: 116%; height: 15%; bottom: -2%; opacity: .48; }
  .hero-art::after { background: linear-gradient(180deg, rgba(2,13,25,.45), rgba(2,13,25,.65) 37%, rgba(2,13,25,.96) 67%, var(--navy-950)); }
  .hero-copy { width: 100%; padding-top: 250px; }
  .descriptor { margin-bottom: 18px; font-size: 9px; letter-spacing: .26em; }
  .hero h1 { font-size: clamp(39px, 11.7vw, 54px); line-height: 1.03; }
  .hero-lead { margin-top: 22px; font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: stretch; margin-top: 28px; }
  .button { min-height: 50px; gap: 14px; padding-inline: 17px; font-size: 13px; }
  .scroll-cue { display: none; }
  .solutions, .cases, .technologies { padding-top: 95px; }
  .section-intro, .tech-heading { display: block; margin-bottom: 60px; }
  .section-label { margin-bottom: 22px; font-size: 10px; }
  .section-intro h2, .cases-heading h2, .tech-heading h2 { font-size: clamp(43px, 13vw, 60px); }
  .solution-row { min-height: 0; grid-template-columns: 42px 1fr 36px; gap: 16px; padding: 42px 0; }
  .solution-row h3 { font-size: clamp(41px, 13vw, 58px); }
  .solution-row p { grid-column: 2 / -1; font-size: 15px; }
  .row-arrow { width: 35px; height: 35px; }
  .cases { padding-bottom: 40px; }
  .cases::before { inset: 430px -25% 10% -25%; background-size: 110% 22%; opacity: .4; }
  .cases-heading { margin-bottom: 70px; }
  .cases-heading h2 { width: 100%; }
  .case-row { width: 90%; min-height: 0; padding: 44px 0 52px; }
  .case-right { text-align: left; justify-self: end; }
  .case-right p { margin-left: 0; }
  .case-row h3 { font-size: 38px; }
  .tech-rail { grid-template-columns: 1fr; gap: 0; }
  .tech-rail::before { left: 4px; right: auto; bottom: 0; width: 1px; height: auto; }
  .tech-rail article { padding: 0 0 52px 35px; }
  .tech-rail article > span { top: 7px; }
  .about { min-height: 870px; display: block; padding-top: 360px; }
  .about-art { top: 18px; right: -36%; width: 125%; opacity: .78; }
  .about h2 { font-size: clamp(62px, 19vw, 86px); }
  .about-copy > p:not(.section-label) { font-size: 16px; }
  .contact { min-height: 880px; padding-top: 100px; }
  .contact h2 { font-size: clamp(43px, 12.5vw, 62px); }
  .contact-grid { grid-template-columns: 1fr; margin: 50px 0 35px; }
  .contact-grid a { min-height: 86px; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-grid a:last-child { border-bottom: 0; }
  footer { min-height: 220px; }
  .footer-mark { font-size: 21px; }
  footer p { font-size: 8px; letter-spacing: .28em; }
  .profile-hero { min-height: 710px; padding-top: 120px; }
  .profile-hero::before { top: -1%; right: -58%; width: 145%; height: 62%; opacity: .7; }
  .profile-hero h1 { font-size: clamp(70px, 22vw, 96px); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-story { padding-top: 95px; }
  .profile-grid h2 { font-size: 46px; }
  .profile-grid p { font-size: 16px; }
  .profile-aside { padding-left: 0; padding-top: 45px; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 430px) {
  .hero { min-height: 880px; }
  .hero-copy { padding-top: 230px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .solution-number { align-self: start; padding-top: 8px; }
  .about { padding-top: 320px; }
}

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