:root{--ink:#071522;--ink2:#0d2234;--blue:#08a8ff;--blue2:#006ae8;--gold:#cda45d;--white:#fff;--muted:#657487;--paper:#f5f8fb;--line:#dfe7ef;--radius:26px;--shadow:0 20px 60px rgba(5,21,34,.12);--header:78px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 14px)}body{margin:0;font-family:"Segoe UI",system-ui,-apple-system,"Noto Sans Arabic",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.8;-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.relative{position:relative}.skip-link{position:fixed;top:-100px;right:16px;background:#fff;color:#000;padding:10px 16px;z-index:9999}.skip-link:focus{top:10px}.site-header{height:var(--header);position:fixed;inset:0 0 auto;z-index:1000;background:rgba(5,18,29,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.1)}.nav-shell{height:100%;width:min(1240px,calc(100% - 32px));margin:auto;display:flex;align-items:center;gap:24px}.brand{min-width:188px;margin-left:auto;display:flex;align-items:center;gap:10px}.brand img{width:48px;height:48px;object-fit:contain}.brand-wordmark{display:flex;flex-direction:column;line-height:1;color:#fff;direction:ltr}.brand-wordmark strong{font-size:20px;letter-spacing:.06em}.brand-wordmark small{font-size:8px;letter-spacing:.28em;color:#9fdcff;margin-top:5px}.main-nav{display:flex;align-items:center;justify-content:center;gap:24px;flex:1;color:#e8f1f8;font-size:14px}.main-nav a{padding:26px 0 21px;position:relative;white-space:nowrap}.main-nav a::after{content:"";position:absolute;bottom:14px;right:50%;width:0;height:2px;background:var(--blue);transition:.25s}.main-nav a:hover::after,.main-nav a.active::after{width:100%;right:0}.lang-toggle{border:1px solid rgba(255,255,255,.25);background:#0d2234;color:#fff;border-radius:999px;padding:4px;display:flex;gap:3px;cursor:pointer}.lang-toggle b,.lang-toggle span{padding:4px 9px;border-radius:999px;font-size:12px}.lang-toggle b{background:var(--blue2)}.nav-toggle{display:none;background:none;border:0;width:42px;height:42px;padding:8px}.nav-toggle span{height:2px;background:#fff;display:block;margin:6px 0}.hero{height:min(760px,100svh);min-height:620px;position:relative;overflow:hidden;background:#071522}.hero-media,.hero-media img{position:absolute;inset:0;width:100%;height:100%}.hero-media img{object-fit:cover;object-position:center}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,14,23,.04) 0%,rgba(3,14,23,.26) 45%,rgba(3,14,23,.88) 100%)}.hero-content{height:100%;display:flex;align-items:center;position:relative;padding-top:var(--header)}.hero-copy{width:min(580px,52%);margin-right:auto;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}.eyebrow,.section-kicker{color:var(--blue);font-weight:800;letter-spacing:.03em}.hero h1{font-size:clamp(46px,6vw,82px);line-height:1.05;margin:12px 0 5px}.latin-name{font-size:clamp(22px,2.6vw,36px);font-weight:800}.hero-lead{font-size:clamp(17px,1.5vw,21px);max-width:640px;color:#eef6fc}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 26px;font-weight:800;border:1px solid transparent;cursor:pointer;transition:.25s}.btn.primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 10px 30px rgba(0,140,255,.28)}.btn.primary:hover{transform:translateY(-2px)}.btn.ghost{color:#fff;border-color:rgba(255,255,255,.55);background:rgba(7,21,34,.35)}.section{padding:100px 0;scroll-margin-top:calc(var(--header) + 12px);overflow:hidden}.split{display:grid;grid-template-columns:1.02fr .98fr;gap:64px;align-items:center}.visual-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#0c1c2a}.visual-card img{width:100%;height:100%;object-fit:cover}.about-visual{height:550px}.about-visual img{width:190%;max-width:none;height:100%;object-fit:cover;object-position:left center}.section-copy h2,.section-heading h2{font-size:clamp(32px,4vw,54px);line-height:1.25;margin:8px 0 24px;color:var(--ink)}.section-copy>p,.section-heading>p{font-size:17px;color:#516274}.about-values{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:30px}.value-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.value-card strong{display:block;font-size:17px;margin-bottom:4px}.value-card span{font-size:13px;color:var(--muted)}.dark{background:#071522;color:#fff;position:relative}.section-bg{position:absolute;inset:0}.section-bg img{width:100%;height:100%;object-fit:cover}.section-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,18,29,.94),rgba(5,18,29,.87) 62%,rgba(5,18,29,.7))}.light-heading h2,.light-heading p{color:#fff}.light-heading>p{color:#c9d7e3}.section-heading{max-width:820px;margin-bottom:52px}.timeline{position:relative;display:grid;gap:22px}.timeline::before{content:"";position:absolute;right:18px;top:10px;bottom:10px;width:2px;background:linear-gradient(var(--blue),rgba(8,168,255,.1))}.exp-card{position:relative;margin-right:56px;padding:30px;border:1px solid rgba(255,255,255,.13);background:rgba(12,35,52,.78);border-radius:22px;backdrop-filter:blur(12px)}.exp-card::before{content:"";position:absolute;right:-46px;top:34px;width:14px;height:14px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 7px rgba(8,168,255,.14)}.exp-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.exp-card h3{font-size:24px;margin:0}.exp-meta{color:#8fd8ff;font-weight:700;white-space:nowrap}.exp-card p{color:#d1dbe4;margin:10px 0}.exp-card ul{margin:12px 0 0;padding-right:20px;color:#e4edf4}.skills-layout{grid-template-columns:1.1fr .9fr}.skills-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:28px}.skill-card{padding:20px;border-radius:20px;background:var(--paper);border:1px solid var(--line)}.skill-card h3{margin:0 0 8px;font-size:18px}.skill-card p{margin:0;color:var(--muted);font-size:14px}.skills-visual{height:590px}.project-showcase{border-radius:30px;overflow:hidden;margin-bottom:28px;border:1px solid rgba(255,255,255,.12)}.project-showcase img{width:100%;max-height:540px;object-fit:cover}.projects-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project-card{padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:rgba(11,33,50,.82)}.project-card .num{color:var(--blue);font-weight:900}.project-card h3{font-size:24px;margin:6px 0}.project-card p{color:#c9d7e3}.tags{display:flex;flex-wrap:wrap;gap:8px}.tag{font-size:12px;padding:5px 10px;border-radius:999px;background:rgba(8,168,255,.12);color:#8fd8ff;border:1px solid rgba(8,168,255,.2)}.education-layout{grid-template-columns:.85fr 1.15fr}.education-visual{height:560px}.education-list{display:grid;gap:14px;margin-top:28px}.edu-item{padding:20px 22px;border:1px solid var(--line);border-radius:18px;background:#fff;position:relative}.edu-item::before{content:"";position:absolute;right:0;top:18px;bottom:18px;width:4px;background:linear-gradient(var(--blue),var(--blue2));border-radius:6px}.edu-item h3{margin:0 0 4px;font-size:19px}.edu-item p{margin:0;color:var(--muted)}.articles-layout{grid-template-columns:1fr 1fr}.articles-visual{height:600px}.articles-list{display:grid;gap:12px;margin-top:28px}.article-item{border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:18px;background:rgba(12,35,52,.66)}.article-item h3{margin:0 0 4px}.article-item p{margin:0;color:#bccbd7;font-size:14px}.contact{position:relative;color:#fff;min-height:650px;display:flex;align-items:center}.contact-bg,.contact-bg img{position:absolute;inset:0;width:100%;height:100%}.contact-bg img{object-fit:cover}.contact-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,18,29,.5),rgba(5,18,29,.94) 64%)}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}.contact-copy h2{font-size:clamp(36px,4vw,56px);line-height:1.2;margin:10px 0}.contact-copy p{color:#d1dbe4;font-size:17px}.contact-items{display:grid;gap:10px;margin-top:30px}.contact-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:26px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(4,16,27,.72);backdrop-filter:blur(15px)}.contact-form label{display:grid;gap:7px}.contact-form input,.contact-form textarea{width:100%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;border-radius:12px;padding:12px 14px;outline:none}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--blue)}.full{grid-column:1/-1}.form-note{font-size:12px;color:#9fb0bd;margin:0}.footer{background:#04101a;color:#b7c5d0;border-top:1px solid rgba(255,255,255,.08)}.footer-inner{min-height:110px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand img{width:70px;height:56px;object-fit:contain}.footer p{margin:0;font-size:13px}.back-top{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#10283a;color:#fff}.ltr{direction:ltr}.ltr .brand{margin-left:0;margin-right:auto}.ltr .hero-copy{margin-right:0;margin-left:auto}.ltr .timeline::before{right:auto;left:18px}.ltr .exp-card{margin-right:0;margin-left:56px}.ltr .exp-card::before{right:auto;left:-46px}.ltr .exp-card ul{padding-right:0;padding-left:20px}.ltr .edu-item::before{right:auto;left:0}
@media(max-width:980px){:root{--header:70px}.nav-toggle{display:block}.main-nav{position:absolute;top:70px;right:16px;left:16px;background:#071522;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:12px;display:none;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 20px 60px rgba(0,0,0,.25)}.main-nav.open{display:flex}.main-nav a{padding:12px 14px}.main-nav a::after{display:none}.brand{width:92px}.brand img{height:50px}.hero{min-height:700px;height:90svh}.hero-media img{object-position:32% center}.hero-overlay{background:linear-gradient(180deg,rgba(4,16,27,.13) 10%,rgba(4,16,27,.8) 68%,rgba(4,16,27,.97))}.hero-content{align-items:flex-end;padding-bottom:60px}.hero-copy{width:100%;margin:0!important}.split,.contact-grid{grid-template-columns:1fr;gap:38px}.about-visual,.skills-visual,.education-visual,.articles-visual{height:min(520px,70vw)}.skills-layout .skills-visual{order:-1}.projects-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-shade{background:rgba(4,16,27,.9)}.section{padding:78px 0}.section-heading{margin-bottom:36px}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.nav-shell{width:calc(100% - 24px);gap:10px}.lang-toggle b,.lang-toggle span{padding:3px 6px}.hero{min-height:640px}.hero-media img{object-position:28% center}.hero h1{font-size:44px}.hero-lead{font-size:16px}.hero-actions{display:grid}.btn{width:100%}.section{padding:64px 0}.section-copy h2,.section-heading h2{font-size:34px}.about-visual{height:390px}.about-visual img{width:210%;object-position:left center}.about-values,.skills-grid{grid-template-columns:1fr}.exp-card{margin-right:36px;padding:22px}.timeline::before{right:11px}.exp-card::before{right:-31px}.exp-top{display:block}.exp-meta{display:block;margin-top:4px}.project-showcase img{min-height:280px;object-fit:cover}.education-visual,.skills-visual,.articles-visual{height:360px}.contact-form{padding:18px}.footer-inner{padding:24px 0;flex-wrap:wrap}.ltr .exp-card{margin-left:36px}.ltr .timeline::before{left:11px}.ltr .exp-card::before{left:-31px}}

/* NEXUS brand story + meteor animation */
.nexus-brand{background:radial-gradient(circle at 75% 35%,#0c3352 0,#071522 37%,#040d15 100%);position:relative;isolation:isolate}
.nexus-brand::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(8,168,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(8,168,255,.04) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 80%,transparent);pointer-events:none}
.nexus-brand-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.02fr .98fr;gap:64px;align-items:center}
.nexus-story h2{font-size:clamp(34px,4.3vw,58px);line-height:1.18;margin:8px 0 20px;color:#fff;max-width:720px}.nexus-intro{color:#c6d7e3;font-size:17px;max-width:760px}.nexus-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}.nexus-service-card{padding:18px 18px 16px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045);border-radius:18px;min-height:150px;transition:.25s}.nexus-service-card:hover{transform:translateY(-4px);border-color:rgba(8,168,255,.5);background:rgba(8,168,255,.07)}.service-no{font-size:12px;color:#56c6ff;font-weight:900}.nexus-service-card h3{margin:4px 0 8px;color:#fff;font-size:18px}.nexus-service-card p{margin:0;color:#9fb4c3;font-size:13px;line-height:1.7}
.nexus-motion{height:590px;position:relative;border-radius:32px;overflow:hidden;border:1px solid rgba(118,205,255,.18);background:radial-gradient(circle at 50% 60%,rgba(0,128,255,.24),transparent 34%),linear-gradient(180deg,#071724,#020b12);box-shadow:inset 0 0 90px rgba(0,126,255,.09),0 30px 80px rgba(0,0,0,.26)}
.nexus-motion::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.7) 0 1px,transparent 1.5px),radial-gradient(circle at 72% 16%,rgba(255,255,255,.4) 0 1px,transparent 1.5px),radial-gradient(circle at 84% 54%,rgba(85,194,255,.6) 0 1px,transparent 1.5px),radial-gradient(circle at 34% 75%,rgba(255,255,255,.35) 0 1px,transparent 1.5px);background-size:170px 150px,220px 190px,260px 210px,300px 260px;opacity:.42}
.meteor-logo{position:absolute;left:50%;top:-180px;transform:translateX(-50%) rotate(-12deg) scale(.34);display:flex;align-items:center;gap:12px;z-index:8;opacity:0;filter:drop-shadow(0 0 30px rgba(0,191,255,.85))}.meteor-logo img{width:92px;height:92px;object-fit:contain}.meteor-wordmark{display:flex;flex-direction:column;direction:ltr;color:#fff;line-height:1}.meteor-wordmark strong{font-size:34px;letter-spacing:.04em}.meteor-wordmark span{font-size:10px;letter-spacing:.35em;color:#87d9ff;margin-top:7px}
.meteor-trail{position:absolute;left:50%;top:-30%;height:290px;width:4px;background:linear-gradient(to bottom,transparent,#fff 44%,#00b9ff 70%,transparent);filter:blur(.2px) drop-shadow(0 0 12px #00b9ff);transform-origin:bottom;opacity:0}.trail-one{transform:translateX(-70px) rotate(20deg)}.trail-two{transform:translateX(32px) rotate(20deg);width:2px;opacity:0}
.impact-ring{position:absolute;left:50%;top:54%;width:40px;height:40px;border:2px solid #69dcff;border-radius:50%;transform:translate(-50%,-50%) scale(.1);opacity:0;box-shadow:0 0 28px #08a8ff}.ring-b{border-color:#fff}.nexus-pulse{position:absolute;left:50%;top:54%;width:10px;height:10px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);opacity:0;box-shadow:0 0 80px 32px rgba(0,166,255,.8)}
.idea-orbit{position:absolute;inset:0;z-index:6}.idea-node{position:absolute;display:grid;place-items:center;min-width:92px;height:40px;padding:0 14px;border-radius:999px;background:rgba(7,21,34,.82);border:1px solid rgba(91,205,255,.45);color:#dff7ff;font-size:11px;font-weight:900;letter-spacing:.04em;opacity:0;transform:scale(.4);box-shadow:0 0 24px rgba(0,160,255,.14);backdrop-filter:blur(10px)}.node-ai{left:12%;top:27%}.node-code{right:10%;top:27%}.node-data{left:7%;top:58%}.node-business{right:6%;top:58%}.node-strategy{left:25%;bottom:10%}.node-research{right:23%;bottom:10%}.motion-caption{position:absolute;left:50%;bottom:33%;transform:translateX(-50%);margin:0;color:#9edfff;font-weight:700;opacity:0;white-space:nowrap}
.nexus-motion.play .meteor-logo{animation:meteorDrop 1.45s cubic-bezier(.2,.72,.22,1) forwards}.nexus-motion.play .trail-one{animation:trailFlash 1.15s ease .05s forwards}.nexus-motion.play .trail-two{animation:trailFlash 1.1s ease .16s forwards}.nexus-motion.play .ring-a{animation:impactRing 1.1s ease 1.35s forwards}.nexus-motion.play .ring-b{animation:impactRing 1.45s ease 1.46s forwards}.nexus-motion.play .nexus-pulse{animation:pulseImpact .9s ease 1.26s forwards}.nexus-motion.play .idea-node{animation:ideasIn .6s cubic-bezier(.2,.8,.2,1) forwards}.nexus-motion.play .node-ai{animation-delay:1.65s}.nexus-motion.play .node-code{animation-delay:1.75s}.nexus-motion.play .node-data{animation-delay:1.85s}.nexus-motion.play .node-business{animation-delay:1.95s}.nexus-motion.play .node-strategy{animation-delay:2.05s}.nexus-motion.play .node-research{animation-delay:2.15s}.nexus-motion.play .motion-caption{animation:captionIn .7s ease 2.35s forwards}
@keyframes meteorDrop{0%{top:-180px;opacity:0;transform:translateX(-50%) rotate(-14deg) scale(.28)}18%{opacity:1}72%{top:45%;transform:translateX(-50%) rotate(-4deg) scale(.7)}100%{top:43%;opacity:1;transform:translateX(-50%) rotate(0) scale(1)}}
@keyframes trailFlash{0%{opacity:0;top:-35%}20%{opacity:.95}80%{opacity:.75;top:22%}100%{opacity:0;top:40%}}
@keyframes impactRing{0%{opacity:.95;transform:translate(-50%,-50%) scale(.1)}100%{opacity:0;transform:translate(-50%,-50%) scale(8)}}
@keyframes pulseImpact{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}28%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(10)}}
@keyframes ideasIn{0%{opacity:0;transform:scale(.35)}70%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@keyframes captionIn{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:980px){.brand{min-width:0;width:auto}.brand-wordmark{display:none}.brand img{width:48px;height:48px}.nexus-brand-grid{grid-template-columns:1fr;gap:36px}.nexus-motion{height:520px}.nexus-services{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.nexus-brand{padding-top:74px;padding-bottom:74px}.nexus-services{grid-template-columns:1fr}.nexus-motion{height:500px;border-radius:24px}.meteor-logo{gap:6px}.meteor-logo img{width:72px;height:72px}.meteor-wordmark strong{font-size:26px}.meteor-wordmark span{font-size:8px}.idea-node{min-width:78px;height:36px;font-size:9px}.node-ai{left:5%;top:25%}.node-code{right:4%;top:25%}.node-data{left:3%;top:62%}.node-business{right:2%;top:62%}.node-strategy{left:9%;bottom:9%}.node-research{right:7%;bottom:9%}.motion-caption{bottom:34%;font-size:12px}}
@media(prefers-reduced-motion:reduce){.nexus-motion .meteor-logo{top:43%;opacity:1;transform:translateX(-50%) scale(1)}.nexus-motion .idea-node,.nexus-motion .motion-caption{opacity:1;transform:none}.meteor-trail,.impact-ring,.nexus-pulse{display:none}}

/* ===== POLISH V3 — typography, spacing, images and continuous NEXUS motion ===== */
:root{--radius:22px;--shadow:0 18px 50px rgba(5,21,34,.11)}
body{font-family:Tahoma,Arial,"Segoe UI",sans-serif;font-size:16px;line-height:1.85;letter-spacing:0}
.main-nav{font-size:13px;gap:20px}.main-nav a{font-weight:600}
.hero{height:clamp(650px,82vh,780px);min-height:650px}.hero-media img{object-position:center center}.hero-overlay{background:linear-gradient(90deg,rgba(3,14,23,.05) 0%,rgba(3,14,23,.18) 42%,rgba(3,14,23,.82) 78%,rgba(3,14,23,.94) 100%)}
.hero-content{padding-top:var(--header)}.hero-copy{width:min(540px,46%);padding:26px 0}.hero h1{font-size:clamp(42px,4.4vw,64px);line-height:1.12;margin:10px 0 5px}.latin-name{font-size:clamp(21px,2vw,30px)}.hero-lead{font-size:clamp(16px,1.25vw,19px);line-height:1.85;margin-top:18px}.eyebrow,.section-kicker{font-size:13px}
.section{padding:88px 0}.split{gap:56px}.section-copy h2,.section-heading h2{font-size:clamp(31px,3.5vw,48px);line-height:1.35;margin:8px 0 20px}.section-copy>p,.section-heading>p{font-size:16px;line-height:1.9}.section-heading{margin-bottom:40px}
.about-grid{grid-template-columns:.95fr 1.05fr}.about-visual{height:520px}.about-visual img{width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center 42%}.about-values{gap:14px;margin-top:26px}.value-card{padding:19px 20px}.value-card strong{font-size:16px}.value-card span{font-size:13px;line-height:1.7}
.nexus-brand-grid{gap:52px}.nexus-story h2{font-size:clamp(32px,3.7vw,50px);line-height:1.3}.nexus-intro{font-size:16px;line-height:1.9}.nexus-service-card{min-height:138px;padding:18px}.nexus-service-card h3{font-size:17px}.nexus-service-card p{font-size:13px;line-height:1.75}.nexus-motion{height:540px}
/* continuous 10s brand story */
.nexus-motion.play .meteor-logo{animation:meteorCycle 10s cubic-bezier(.2,.72,.22,1) infinite!important}.nexus-motion.play .trail-one{animation:trailCycle 10s ease infinite!important}.nexus-motion.play .trail-two{animation:trailCycle2 10s ease infinite!important}.nexus-motion.play .ring-a{animation:ringCycle 10s ease infinite!important}.nexus-motion.play .ring-b{animation:ringCycle2 10s ease infinite!important}.nexus-motion.play .nexus-pulse{animation:pulseCycle 10s ease infinite!important}.nexus-motion.play .idea-node{animation:nodeCycle 10s ease-in-out infinite!important}.nexus-motion.play .node-ai{animation-delay:.0s!important}.nexus-motion.play .node-code{animation-delay:.12s!important}.nexus-motion.play .node-data{animation-delay:.24s!important}.nexus-motion.play .node-business{animation-delay:.36s!important}.nexus-motion.play .node-strategy{animation-delay:.48s!important}.nexus-motion.play .node-research{animation-delay:.60s!important}.nexus-motion.play .motion-caption{animation:captionCycle 10s ease infinite!important}
@keyframes meteorCycle{0%{top:-180px;opacity:0;transform:translateX(-50%) rotate(-14deg) scale(.28)}4%{opacity:1}14%{top:43%;opacity:1;transform:translateX(-50%) rotate(0) scale(1)}20%{top:43%;transform:translateX(-50%) scale(1)}45%{top:41.5%;transform:translateX(-50%) scale(1.035)}70%{top:43%;transform:translateX(-50%) scale(1)}82%{top:42%;opacity:1;transform:translateX(-50%) scale(1.02)}92%{top:43%;opacity:1}100%{top:47%;opacity:0;transform:translateX(-50%) scale(.86)}}
@keyframes trailCycle{0%,2%{opacity:0;top:-35%}5%{opacity:.95}12%{opacity:.75;top:22%}16%,100%{opacity:0;top:40%}}
@keyframes trailCycle2{0%,4%{opacity:0;top:-40%}7%{opacity:.75}13%{opacity:.55;top:20%}17%,100%{opacity:0;top:42%}}
@keyframes ringCycle{0%,13%{opacity:0;transform:translate(-50%,-50%) scale(.1)}14%{opacity:.95}23%{opacity:0;transform:translate(-50%,-50%) scale(8)}100%{opacity:0}}
@keyframes ringCycle2{0%,14%{opacity:0;transform:translate(-50%,-50%) scale(.1)}15%{opacity:.75}26%{opacity:0;transform:translate(-50%,-50%) scale(10)}100%{opacity:0}}
@keyframes pulseCycle{0%,12%{opacity:0;transform:translate(-50%,-50%) scale(.3)}14%{opacity:1}20%{opacity:0;transform:translate(-50%,-50%) scale(10)}100%{opacity:0}}
@keyframes nodeCycle{0%,16%{opacity:0;transform:scale(.45) translateY(8px)}22%{opacity:1;transform:scale(1) translateY(0)}40%{opacity:1;transform:scale(1.03) translateY(-3px)}60%{opacity:1;transform:scale(.99) translateY(2px)}80%{opacity:1;transform:scale(1.02) translateY(-2px)}92%{opacity:1}100%{opacity:0;transform:scale(.8) translateY(7px)}}
@keyframes captionCycle{0%,22%{opacity:0;transform:translate(-50%,10px)}28%{opacity:1;transform:translate(-50%,0)}88%{opacity:1}100%{opacity:0;transform:translate(-50%,6px)}}
/* experience: clean cards, no timeline clutter */
.timeline{max-width:980px;margin:0 auto;gap:18px}.timeline::before,.exp-card::before{display:none}.exp-card{margin:0!important;padding:26px 30px;border-radius:20px;background:rgba(9,31,48,.86)}.exp-top{align-items:center}.exp-card h3{font-size:21px;line-height:1.5}.exp-meta{font-size:13px}.exp-card p{font-size:14px;line-height:1.85}.exp-card ul{font-size:14px;line-height:1.85;margin-top:8px}
.skills-layout{grid-template-columns:1fr 1fr;gap:52px}.skills-grid{gap:16px}.skill-card{padding:22px;min-height:130px}.skill-card h3{font-size:17px}.skill-card p{font-size:13px;line-height:1.75}.skills-visual{height:520px}.skills-visual img{object-position:center}
.project-showcase{margin-bottom:24px}.project-showcase img{max-height:470px}.projects-grid{gap:16px}.project-card{padding:24px}.project-card h3{font-size:21px}.project-card p{font-size:14px;line-height:1.8}.tag{font-size:11px}
.education-layout{grid-template-columns:.9fr 1.1fr;gap:52px}.education-visual{height:500px}.edu-item{padding:18px 22px}.edu-item h3{font-size:17px}.edu-item p{font-size:13px}.articles-layout{gap:54px}.articles-visual{height:520px}.article-item{padding:17px 18px}.article-item h3{font-size:16px}.article-item p{font-size:13px;line-height:1.75}
.contact{min-height:610px}.contact-grid{gap:54px}.contact-copy h2{font-size:clamp(34px,3.7vw,50px)}.contact-copy p{font-size:16px}.contact-form{padding:24px}
@media(max-width:1100px){.main-nav{gap:14px;font-size:12px}.brand{min-width:155px}.hero-copy{width:min(500px,50%)}.hero h1{font-size:52px}}
@media(max-width:980px){.hero{height:780px;min-height:720px}.hero-media img{object-position:35% center}.hero-content{align-items:flex-end;padding-bottom:54px}.hero-copy{width:100%;max-width:620px;padding:0}.hero h1{font-size:48px}.hero-overlay{background:linear-gradient(180deg,rgba(4,16,27,.14) 0%,rgba(4,16,27,.35) 48%,rgba(4,16,27,.96) 82%)}.about-grid,.skills-layout,.education-layout,.articles-layout{grid-template-columns:1fr}.about-visual,.skills-visual,.education-visual,.articles-visual{height:460px}.about-visual{order:-1}.nexus-motion{height:500px}.exp-card{padding:24px}.section{padding:72px 0}}
@media(max-width:640px){body{font-size:15px}.hero{height:720px;min-height:680px}.hero-media img{object-position:29% center}.hero h1{font-size:40px}.latin-name{font-size:22px}.hero-lead{font-size:15px}.hero-actions{margin-top:22px}.section{padding:58px 0}.section-copy h2,.section-heading h2,.nexus-story h2{font-size:30px}.section-copy>p,.section-heading>p,.nexus-intro{font-size:14px}.about-visual{height:370px}.about-visual img{object-position:center 40%}.nexus-services{grid-template-columns:1fr}.nexus-motion{height:450px}.meteor-logo img{width:66px;height:66px}.meteor-wordmark strong{font-size:24px}.idea-node{min-width:72px;height:34px;padding:0 9px;font-size:8px}.motion-caption{font-size:11px}.skills-visual,.education-visual,.articles-visual{height:330px}.exp-card{padding:20px}.exp-card h3{font-size:18px}.exp-card p,.exp-card ul{font-size:13px}.project-card{padding:20px}.contact{min-height:auto}.contact-grid{gap:30px}.contact-copy h2{font-size:32px}}
\n\n/* ===== NEXUS POLISH V4 — layout reset, image integrity, clearer type ===== */\nhtml{scroll-padding-top:92px}\nbody{font-family:Tahoma,Arial,sans-serif;font-size:16px;line-height:1.85}\n.container{width:min(1220px,calc(100% - 56px))}\n.section{padding:96px 0;overflow:clip}\n.section-heading{max-width:900px;margin:0 0 42px}\n.section-copy h2,.section-heading h2,.nexus-story h2{font-weight:800;letter-spacing:-.02em}\n.section-copy>p,.section-heading>p,.nexus-intro{max-width:760px}\n\n/* Header: copy uses the empty right side of the approved hero, never the face */\n.hero{height:clamp(680px,84vh,820px);min-height:680px}\n.hero-content{justify-content:flex-start}\n.hero-copy{width:min(570px,46%);margin:0;padding:30px 0;text-align:right}\n.hero h1{font-size:clamp(44px,4.6vw,66px);line-height:1.08}\n.hero-lead{font-size:18px;max-width:560px}\n.hero-overlay{background:linear-gradient(90deg,rgba(3,14,23,.00) 0%,rgba(3,14,23,.06) 38%,rgba(3,14,23,.55) 66%,rgba(3,14,23,.92) 100%)}\n.ltr .hero-content{justify-content:flex-end}.ltr .hero-copy{text-align:left;margin:0}\n\n/* About: show the approved image intact — no 190% zoom and no face crop */\n.about-grid{grid-template-columns:1fr 1fr;gap:70px}\n.about-visual{height:auto;aspect-ratio:4/3;background:#eef3f7}\n.about-visual img{width:100%!important;max-width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}\n.about-values{grid-template-columns:repeat(2,minmax(0,1fr))}\n\n/* Brand section: cleaner balance */\n.nexus-brand-grid{grid-template-columns:1.05fr .95fr;gap:64px}\n.nexus-services{gap:14px}.nexus-service-card{min-height:132px}\n.nexus-motion{height:560px}\n\n/* Continuous NEXUS motion: meteor event repeats, logo and ideas keep moving */\n.nexus-motion.play .meteor-logo{animation:nexusMeteorV4 12s cubic-bezier(.2,.72,.22,1) infinite!important}\n.nexus-motion.play .trail-one{animation:nexusTrailV4 12s ease infinite!important}\n.nexus-motion.play .trail-two{animation:nexusTrail2V4 12s ease infinite!important}\n.nexus-motion.play .ring-a{animation:nexusRingV4 12s ease infinite!important}\n.nexus-motion.play .ring-b{animation:nexusRing2V4 12s ease infinite!important}\n.nexus-motion.play .nexus-pulse{animation:nexusPulseV4 12s ease infinite!important}\n.nexus-motion.play .idea-node{opacity:1!important;animation:nexusNodeV4 3.2s ease-in-out infinite alternate!important}\n.nexus-motion.play .node-ai{animation-delay:.0s!important}.nexus-motion.play .node-code{animation-delay:.35s!important}.nexus-motion.play .node-data{animation-delay:.7s!important}.nexus-motion.play .node-business{animation-delay:1.05s!important}.nexus-motion.play .node-strategy{animation-delay:1.4s!important}.nexus-motion.play .node-research{animation-delay:1.75s!important}\n.nexus-motion.play .motion-caption{opacity:1!important;animation:nexusCaptionV4 3.6s ease-in-out infinite alternate!important}\n@keyframes nexusMeteorV4{0%{top:-180px;opacity:0;transform:translateX(-50%) rotate(-12deg) scale(.32)}4%{opacity:1}14%{top:43%;opacity:1;transform:translateX(-50%) rotate(0) scale(1)}25%{top:42%;transform:translateX(-50%) scale(1.035)}42%{top:43.2%;transform:translateX(-50%) scale(.99)}60%{top:41.8%;transform:translateX(-50%) scale(1.025)}78%{top:43%;transform:translateX(-50%) scale(1)}94%{top:42%;opacity:1;transform:translateX(-50%) scale(1.02)}100%{top:45%;opacity:0;transform:translateX(-50%) scale(.9)}}\n@keyframes nexusTrailV4{0%,1%{opacity:0;top:-38%}4%{opacity:.95}12%{opacity:.6;top:24%}16%,100%{opacity:0;top:42%}}\n@keyframes nexusTrail2V4{0%,3%{opacity:0;top:-42%}6%{opacity:.7}13%{opacity:.45;top:22%}17%,100%{opacity:0;top:44%}}\n@keyframes nexusRingV4{0%,13%{opacity:0;transform:translate(-50%,-50%) scale(.1)}14%{opacity:.9}22%{opacity:0;transform:translate(-50%,-50%) scale(8)}100%{opacity:0}}\n@keyframes nexusRing2V4{0%,14%{opacity:0;transform:translate(-50%,-50%) scale(.1)}15%{opacity:.7}25%{opacity:0;transform:translate(-50%,-50%) scale(10)}100%{opacity:0}}\n@keyframes nexusPulseV4{0%,12%{opacity:0;transform:translate(-50%,-50%) scale(.3)}14%{opacity:1}21%{opacity:0;transform:translate(-50%,-50%) scale(10)}100%{opacity:0}}\n@keyframes nexusNodeV4{from{transform:translateY(-5px) scale(.98);filter:drop-shadow(0 0 5px rgba(8,168,255,.18))}to{transform:translateY(6px) scale(1.035);filter:drop-shadow(0 0 14px rgba(8,168,255,.5))}}\n@keyframes nexusCaptionV4{from{transform:translateX(-50%) translateY(-3px);color:#79d3ff}to{transform:translateX(-50%) translateY(4px);color:#d8f4ff}}\n\n/* Experience: large readable cards, no decorative timeline collisions */\n.experience .section-heading{max-width:840px}.timeline{max-width:1040px;gap:20px}.exp-card{padding:28px 32px!important;border-radius:18px}.exp-top{display:block}.exp-card h3{font-size:22px}.exp-meta{display:block;margin-top:4px;font-size:13px}.exp-card p,.exp-card ul{font-size:15px;line-height:1.9}\n\n/* Skills: prevent section-title clipping and keep the artwork contained */\n.skills-layout{grid-template-columns:1.08fr .92fr;align-items:center;gap:64px}.skills-visual{height:auto;aspect-ratio:4/3}.skills-visual img{width:100%;height:100%;object-fit:cover}.skills-grid{align-items:stretch}.skill-card{min-height:138px}.skill-card h3{font-size:18px}.skill-card p{font-size:14px}\n\n/* Projects */\n.projects .section-heading{max-width:880px}.project-showcase img{width:100%;height:auto;max-height:none;object-fit:contain}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{min-height:210px}\n\n/* Education: no dates and stable image ratio */\n.education-layout{grid-template-columns:.92fr 1.08fr;gap:64px}.education-visual{height:auto;aspect-ratio:4/3}.education-visual img{width:100%;height:100%;object-fit:cover}.edu-item{padding:20px 24px}.edu-item h3{font-size:18px}\n\n/* Articles */\n.articles-layout{grid-template-columns:1fr 1fr;gap:64px}.articles-visual{height:auto;aspect-ratio:4/3}.articles-visual img{width:100%;height:100%;object-fit:cover}\n\n/* Mobile/tablet: every section becomes a clean vertical stack */\n@media(max-width:980px){\n .container{width:min(100% - 36px,760px)}.section{padding:76px 0}\n .hero{height:760px;min-height:720px}.hero-content{align-items:flex-end;justify-content:flex-start;padding-bottom:48px}.hero-copy{width:100%;max-width:650px;text-align:right}.hero-media img{object-position:34% center}.hero-overlay{background:linear-gradient(180deg,rgba(3,14,23,.05) 0%,rgba(3,14,23,.16) 45%,rgba(3,14,23,.9) 78%,rgba(3,14,23,.97) 100%)}\n .about-grid,.skills-layout,.education-layout,.articles-layout,.nexus-brand-grid{grid-template-columns:1fr;gap:38px}\n .about-visual,.skills-visual,.education-visual,.articles-visual{width:100%;height:auto;aspect-ratio:4/3}\n .about-visual{order:-1}.nexus-motion{height:500px}.projects-grid{grid-template-columns:1fr}\n}\n@media(max-width:640px){\n .container{width:min(100% - 28px,560px)}.section{padding:62px 0}\n .hero{height:700px;min-height:660px}.hero h1{font-size:39px}.hero-lead{font-size:15px;line-height:1.8}.hero-actions{gap:10px}.btn{padding:10px 17px;font-size:13px}\n .section-copy h2,.section-heading h2,.nexus-story h2{font-size:29px;line-height:1.35}.section-copy>p,.section-heading>p,.nexus-intro{font-size:14px}\n .about-values,.skills-grid{grid-template-columns:1fr}.nexus-motion{height:440px}.exp-card{padding:20px!important}.exp-card h3{font-size:18px}.exp-card p,.exp-card ul{font-size:13px}\n .contact-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-form .full{grid-column:auto}\n}\n
/* =========================================================
   V5 — Split hero + premium interactive services
   ========================================================= */
:root{--royal-gold:#c9a457;--royal-gold-soft:#f2dc9a}

/* The hero is a true split layout: image left, copy right. */
.hero.hero-split{height:auto;min-height:0;background:#06131f;overflow:hidden;padding-top:var(--header)}
.hero-frame{min-height:650px;display:grid;grid-template-columns:minmax(0,58%) minmax(380px,42%);direction:ltr;background:#071522}
.hero-panel{min-width:0;position:relative}
.hero-image-panel{grid-column:1;overflow:hidden;min-height:650px}
.hero-image-panel .hero-media,.hero-image-panel .hero-media img{position:absolute;inset:0;width:100%;height:100%}
.hero-image-panel .hero-media img{object-fit:cover;object-position:left center;transform:scale(1.015)}
.hero-image-panel::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 74%,#071522 100%);pointer-events:none}
.hero-copy-panel{grid-column:2;display:flex;align-items:center;direction:rtl;padding:64px clamp(38px,5vw,88px) 64px 42px;background:radial-gradient(circle at 90% 16%,rgba(8,168,255,.15),transparent 30%),linear-gradient(145deg,#0a2032 0%,#071522 52%,#040d15 100%)}
.hero-copy-panel::before{content:"";position:absolute;right:0;top:16%;bottom:16%;width:3px;background:linear-gradient(transparent,var(--blue),var(--royal-gold),transparent);box-shadow:0 0 26px rgba(8,168,255,.35)}
.hero-copy{width:100%;max-width:570px;margin:0;color:#fff;text-shadow:none}
.hero h1{font-size:clamp(48px,5vw,76px);line-height:1.08;margin:10px 0 4px;letter-spacing:-.035em}
.latin-name{font-size:clamp(20px,2vw,30px);color:#cfe2ef}
.hero-lead{font-size:clamp(16px,1.25vw,20px);line-height:1.9;margin:24px 0 0;color:#d6e3ec;max-width:560px}
.hero-actions{margin-top:28px}
.hero-trust{margin-top:30px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#8eabbf;font-size:11px;letter-spacing:.09em;direction:ltr}
.hero-trust i{width:4px;height:4px;border-radius:50%;background:var(--royal-gold)}
.ltr .hero-copy-panel{direction:ltr;padding-left:clamp(38px,5vw,88px);padding-right:42px}
.ltr .hero-copy-panel::before{right:auto;left:0}

/* What we do: focused service discovery rather than a wall of text. */
.nexus-brand-grid{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:72px;align-items:start}
.nexus-story h2{font-size:clamp(42px,5vw,68px);margin-bottom:14px;color:#fff}
.nexus-intro{font-size:17px;line-height:1.95;max-width:760px;color:#c7d7e4}
.services-hint{margin:18px 0 0;color:#76cef8;font-size:13px;font-weight:700}
.nexus-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
.nexus-service-card{appearance:none;-webkit-appearance:none;width:100%;text-align:inherit;color:inherit;cursor:pointer;display:grid;grid-template-columns:54px 1fr 28px;align-items:start;gap:14px;padding:20px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border-radius:20px;min-height:164px;transition:transform .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease;position:relative;overflow:hidden}
.nexus-service-card::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 48%,rgba(201,164,87,.06) 55%,transparent 62%);transform:translateX(-120%);transition:transform .65s ease}
.nexus-service-card:hover,.nexus-service-card:focus-visible{transform:translateY(-5px);border-color:rgba(201,164,87,.48);background:linear-gradient(145deg,rgba(13,47,72,.85),rgba(6,26,41,.9));box-shadow:0 18px 44px rgba(0,0,0,.2),inset 0 0 0 1px rgba(8,168,255,.08);outline:none}
.nexus-service-card:hover::before,.nexus-service-card:focus-visible::before{transform:translateX(120%)}
.service-icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;border:1px solid rgba(201,164,87,.34);background:linear-gradient(145deg,rgba(201,164,87,.15),rgba(8,168,255,.08));color:var(--royal-gold-soft);position:relative;z-index:1}
.service-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service-copy{position:relative;z-index:1;min-width:0}.service-no{display:block;color:#4ec9ff;font-size:10px;letter-spacing:.12em;margin-bottom:2px}.nexus-service-card h3{font-size:18px;margin:0 0 8px;color:#fff}.nexus-service-card p{font-size:13px;line-height:1.75;color:#a9bdca;margin:0}.service-open{align-self:center;justify-self:end;color:var(--royal-gold-soft);font-size:20px;position:relative;z-index:1;transition:.25s}.nexus-service-card:hover .service-open{transform:translate(2px,-2px)}
.ltr .nexus-service-card{text-align:left}.ltr .service-open{transform:scaleX(-1)}

/* Premium single-focus service modal */
body.modal-open{overflow:hidden}.service-modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:26px;visibility:hidden;opacity:0;transition:opacity .28s ease,visibility .28s ease}.service-modal.open{visibility:visible;opacity:1}.service-modal-backdrop{position:absolute;inset:0;background:rgba(0,7,13,.86);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.service-modal-panel{position:relative;z-index:1;width:min(900px,100%);max-height:min(840px,calc(100svh - 52px));overflow:auto;color:#fff;padding:44px 46px 40px;border-radius:30px;border:1px solid rgba(201,164,87,.38);background:radial-gradient(circle at 85% 0,rgba(8,168,255,.16),transparent 28%),linear-gradient(145deg,#0b2335 0%,#071522 58%,#040c13 100%);box-shadow:0 40px 120px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.025)}
.service-modal-panel::before{content:"";position:absolute;inset:0;border-radius:30px;pointer-events:none;background:linear-gradient(120deg,rgba(201,164,87,.1),transparent 30% 70%,rgba(8,168,255,.07))}
.service-modal-close{position:absolute;top:20px;left:20px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#fff;font-size:26px;line-height:1;cursor:pointer;z-index:2}.service-modal-close:hover{background:rgba(255,255,255,.12)}
.ltr .service-modal-close{left:auto;right:20px}
.modal-brand-line{display:flex;align-items:center;gap:10px;direction:ltr;color:#b8d5e8;font-size:11px;letter-spacing:.16em;margin-bottom:28px}.modal-brand-line img{width:38px;height:38px;object-fit:contain}.modal-service-no{color:var(--royal-gold);font-size:12px;font-weight:900;letter-spacing:.18em}.service-modal-panel h2{font-size:clamp(32px,4vw,52px);line-height:1.2;margin:7px 0 12px}.modal-service-lead{font-size:17px;line-height:1.9;color:#bdd0dc;max-width:760px;margin:0 0 28px}.modal-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.modal-detail-card{padding:19px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035)}.modal-detail-card span,.modal-deliverables>span{display:block;color:var(--royal-gold-soft);font-size:12px;font-weight:800;margin-bottom:8px}.modal-detail-card p{margin:0;color:#d2dee6;font-size:14px;line-height:1.85}.modal-deliverables{margin-top:14px;padding:20px;border-radius:18px;border:1px solid rgba(8,168,255,.18);background:rgba(8,168,255,.045)}.modal-deliverables>div{display:flex;flex-wrap:wrap;gap:9px}.modal-deliverables>div span{padding:8px 12px;border-radius:999px;background:#102d42;color:#c7ecff;border:1px solid rgba(8,168,255,.18);font-size:12px}.modal-cta{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border-radius:15px;background:linear-gradient(135deg,#0ca8ff,#0877de);color:#fff;font-weight:800;position:relative;z-index:1}.modal-cta b{font-size:20px}

/* Responsive split hero and modal */
@media(max-width:980px){
 .hero.hero-split{padding-top:var(--header)}.hero-frame{grid-template-columns:1fr;min-height:0;direction:ltr}.hero-copy-panel{grid-column:1;grid-row:1;direction:rtl;min-height:auto;padding:54px 28px 46px}.hero-copy-panel::before{top:auto;left:12%;right:12%;bottom:0;width:auto;height:2px}.hero-image-panel{grid-column:1;grid-row:2;min-height:470px}.hero-image-panel::after{background:linear-gradient(180deg,#071522 0,transparent 16%)}.hero-image-panel .hero-media img{object-position:left center}.hero-copy{max-width:720px;margin:auto}.hero h1{font-size:clamp(42px,8vw,64px)}.hero-trust{margin-top:22px}
 .ltr .hero-copy-panel{direction:ltr;padding:54px 28px 46px}
 .nexus-brand-grid{grid-template-columns:1fr;gap:42px}.nexus-motion{order:-1;height:460px}.nexus-services{grid-template-columns:1fr 1fr}
 .modal-detail-grid{grid-template-columns:1fr}.service-modal-panel{padding:38px 28px 30px}
}
@media(max-width:640px){
 .hero-copy-panel{padding:42px 20px 36px}.hero-image-panel{min-height:390px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-trust{font-size:9px;gap:7px}
 .nexus-services{grid-template-columns:1fr}.nexus-service-card{min-height:0;grid-template-columns:48px 1fr 24px;padding:17px}.service-icon{width:44px;height:44px}.nexus-service-card h3{font-size:17px}.nexus-service-card p{font-size:12.5px}
 .service-modal{padding:12px}.service-modal-panel{max-height:calc(100svh - 24px);border-radius:22px;padding:34px 20px 24px}.service-modal-panel h2{font-size:30px}.modal-service-lead{font-size:14px}.service-modal-close{top:12px;left:12px}.ltr .service-modal-close{right:12px}.modal-brand-line{margin-bottom:20px}.modal-detail-card{padding:16px}.modal-cta{font-size:14px}
}


/* =========================================================
   V6 FINAL OVERRIDES — keep true split hero on laptop widths
   ========================================================= */
@media (min-width:721px){
  .hero.hero-split{padding-top:var(--header)!important;height:auto!important;min-height:0!important;overflow:hidden!important}
  .hero-frame{display:grid!important;grid-template-columns:minmax(0,58%) minmax(360px,42%)!important;direction:ltr!important;min-height:650px!important}
  .hero-copy-panel{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;direction:rtl!important;min-height:650px!important;padding:56px clamp(30px,4vw,72px) 56px 36px!important;background:radial-gradient(circle at 88% 15%,rgba(8,168,255,.14),transparent 32%),linear-gradient(145deg,#0a2032 0%,#071522 55%,#040d15 100%)!important}
  .hero-image-panel{grid-column:1!important;grid-row:1!important;min-height:650px!important;position:relative!important;overflow:hidden!important}
  .hero-image-panel .hero-media,.hero-image-panel .hero-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .hero-image-panel .hero-media img{object-fit:cover!important;object-position:left center!important;transform:none!important}
  .hero-image-panel::after{background:linear-gradient(90deg,transparent 76%,#071522 100%)!important}
  .hero-copy{width:100%!important;max-width:560px!important;margin:0!important;color:#fff!important;text-align:right!important}
  .hero h1{font-size:clamp(42px,4.4vw,68px)!important;line-height:1.08!important;margin:10px 0 4px!important}
  .hero-lead{font-size:clamp(15px,1.15vw,19px)!important;line-height:1.9!important}
  .ltr .hero-copy-panel{direction:ltr!important;padding-left:clamp(30px,4vw,72px)!important;padding-right:36px!important}
  .ltr .hero-copy{text-align:left!important}
}
@media (max-width:720px){
  .hero-frame{display:grid!important;grid-template-columns:1fr!important;min-height:0!important}
  .hero-copy-panel{grid-column:1!important;grid-row:1!important;min-height:auto!important;padding:38px 20px 32px!important}
  .hero-image-panel{grid-column:1!important;grid-row:2!important;min-height:360px!important}
  .hero-image-panel::after{background:linear-gradient(180deg,#071522 0,transparent 15%)!important}
  .hero-actions{grid-template-columns:1fr 1fr!important}
}

/* Service section clarity */
.nexus-story > .section-kicker{display:inline-block;margin-bottom:6px}
.nexus-story h2{margin-top:0}
.nexus-service-card{isolation:isolate}
.nexus-service-card:focus-visible{outline:2px solid var(--royal-gold-soft);outline-offset:3px}

/* =========================================================
   V7 DESIGN SYSTEM — visual hierarchy, rhythm, case studies
   ========================================================= */
:root{
  --ink:#071522;
  --ink-soft:#10283a;
  --blue:#0ba7f7;
  --blue-deep:#0876d8;
  --gold:#c8a461;
  --gold-soft:#e2c68a;
  --paper:#f7f9fb;
  --line:#e5ebf0;
  --muted:#667789;
  --radius:24px;
  --section-space:clamp(84px,8vw,132px);
}
body{font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.9;letter-spacing:0;background:#fff}
.container{width:min(1200px,calc(100% - 48px))}
.section{padding:var(--section-space) 0}
.section-kicker{font-size:12px;letter-spacing:.04em;margin-bottom:10px;display:inline-block}
.section-copy h2,.section-heading h2,.nexus-story h2,.contact-copy h2{font-weight:800;letter-spacing:-.02em}
.section-copy>p,.section-heading>p,.nexus-intro{max-width:68ch}

/* Header: calmer and more premium */
.site-header{background:rgba(4,15,25,.93);border-bottom-color:rgba(255,255,255,.07)}
.nav-shell{width:min(1280px,calc(100% - 40px));gap:18px}
.main-nav{gap:20px;font-size:13px}.main-nav a{font-weight:700}
.brand{min-width:170px}.brand img{width:42px;height:42px}.brand-wordmark strong{font-size:18px}

/* Split hero: image and message must never compete */
@media(min-width:721px){
  .hero-frame{grid-template-columns:minmax(0,55%) minmax(420px,45%)!important;min-height:680px!important}
  .hero-image-panel{min-height:680px!important}
  .hero-copy-panel{min-height:680px!important;padding:70px clamp(42px,5vw,88px) 64px 44px!important;background:radial-gradient(circle at 82% 15%,rgba(11,167,247,.15),transparent 31%),linear-gradient(145deg,#0a2032,#06131f 72%)!important}
  .hero-copy{max-width:590px!important}
  .hero h1{font-size:clamp(48px,4.7vw,72px)!important;letter-spacing:-.025em!important}
  .latin-name{font-size:clamp(20px,2vw,30px)!important;color:#d7e8f3;margin-top:4px}
  .hero-lead{max-width:52ch;font-size:clamp(16px,1.2vw,19px)!important;color:#c9d8e2!important}
  .hero-image-panel .hero-media img{object-position:38% center!important}
  .hero-image-panel::after{background:linear-gradient(90deg,transparent 70%,rgba(6,19,31,.95) 100%)!important}
}
.hero-actions{margin-top:28px}.btn{padding:12px 24px;font-size:14px}.hero-trust{opacity:.82}

/* About: remove accidental crop and give the text room */
.about{background:#fff}.about-grid{grid-template-columns:.95fr 1.05fr;gap:76px}.about-visual{height:560px;background:#f2f4f6}.about-visual img{width:100%!important;max-width:100%!important;height:100%;object-fit:cover;object-position:center center!important}.about-values{gap:14px}.value-card{padding:20px 22px;background:#fbfcfd}.value-card strong{font-size:16px}.value-card span{line-height:1.7}

/* Services: content-first, motion second */
.nexus-brand{background:linear-gradient(180deg,#071522 0%,#06111b 100%)}
.nexus-brand-grid{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:84px;align-items:center}
.nexus-story h2{font-size:clamp(42px,4.6vw,64px)}
.nexus-services{gap:16px}.nexus-service-card{min-height:170px;padding:22px;border-radius:22px}.nexus-service-card h3{font-size:18px}.nexus-service-card p{font-size:13px;line-height:1.8}.nexus-motion{border:1px solid rgba(255,255,255,.08);border-radius:30px;background:radial-gradient(circle at 50% 50%,rgba(8,168,255,.08),transparent 45%),rgba(255,255,255,.015);box-shadow:inset 0 0 80px rgba(0,0,0,.2)}

/* Experience: remove noisy timeline and use editorial cards */
.experience{background:#081724}.experience .section-bg{opacity:.14;filter:saturate(.55) blur(.4px)}.experience .section-shade{background:linear-gradient(180deg,rgba(6,19,31,.88),rgba(6,19,31,.98))}
.experience .section-heading{max-width:900px;margin-bottom:48px}.timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.timeline::before,.exp-card::before{display:none}.exp-card{margin:0;padding:28px 30px;background:rgba(13,39,58,.78);border-radius:22px;border-color:rgba(255,255,255,.09);min-height:100%}.exp-card:hover{border-color:rgba(11,167,247,.32);transform:translateY(-2px)}.exp-card h3{font-size:21px;line-height:1.5}.exp-top{display:block}.exp-meta{display:block;margin-top:6px;font-size:12px;color:#76cef8}.exp-card p,.exp-card li{font-size:14px;line-height:1.85}.exp-card ul{padding-right:18px}

/* Skills */
.skills{background:#f8fafc}.skills-layout{grid-template-columns:1.08fr .92fr;gap:72px}.skills-grid{gap:14px}.skill-card{background:#fff;border-radius:18px;padding:21px 22px;box-shadow:0 8px 24px rgba(7,21,34,.035)}.skill-card h3{font-size:17px}.skill-card p{font-size:13.5px;line-height:1.8}.skills-visual{height:570px}.skills-visual img{object-position:center}

/* Projects: case-study rhythm instead of small cards */
.projects{background:#061522}.projects .section-heading{max-width:900px;margin-bottom:64px}.projects-list{display:grid;gap:92px}.project-case{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:64px;align-items:center}.project-case.reverse .project-media{order:2}.project-case.reverse .project-content{order:1}.project-media{border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#07131e;box-shadow:0 28px 70px rgba(0,0,0,.28)}.project-media picture,.project-media img{display:block;width:100%;height:100%}.project-media{aspect-ratio:16/10}.project-media img{object-fit:cover;transition:transform .7s ease}.project-case:hover .project-media img{transform:scale(1.025)}.project-content{max-width:560px}.project-index{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(200,164,97,.35);border-radius:50%;color:var(--gold-soft);font-weight:900;font-size:12px;margin-bottom:16px}.project-subtitle{font-size:12px;color:#78d1fb;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;direction:ltr;text-align:right}.ltr .project-subtitle{text-align:left}.project-content h3{font-size:clamp(28px,3.2vw,44px);line-height:1.15;margin:0 0 18px;color:#fff;direction:ltr;text-align:right}.ltr .project-content h3{text-align:left}.project-desc{font-size:16px;line-height:1.9;color:#c9d7e3;margin:0 0 20px}.project-bullets{margin:0 0 22px;padding-right:20px;color:#e2eaf0}.project-bullets li{margin:7px 0;font-size:14px;line-height:1.75}.project-case .tags{gap:8px}.project-case .tag{background:rgba(11,167,247,.08);border-color:rgba(11,167,247,.17);color:#9fe0ff;padding:6px 11px}

/* Education */
.education{background:#fff}.education-layout{gap:76px}.education-visual{height:580px}.education-list{gap:12px}.edu-item{padding:22px 24px;background:#fbfcfd}.edu-item h3{font-size:18px;line-height:1.55}.edu-item p{font-size:13.5px}

/* Articles */
.articles{background:linear-gradient(180deg,#071522,#081b2a)}.articles-layout{gap:72px}.articles-list{gap:14px}.article-item{padding:20px 22px;background:rgba(255,255,255,.035)}.article-item h3{font-size:17px}.article-item p{line-height:1.8}.articles-visual{height:570px}

/* Contact */
.contact{min-height:720px}.contact-shade{background:linear-gradient(90deg,rgba(5,18,29,.72),rgba(5,18,29,.95) 62%)}.contact-grid{grid-template-columns:.9fr 1.1fr;gap:76px}.contact-form{padding:30px;border-radius:26px}.contact-form input,.contact-form textarea{padding:13px 15px}

/* More consistent responsive behavior */
@media(max-width:980px){
  .container{width:min(100% - 32px,760px)}
  .section{padding:78px 0}
  .split,.about-grid,.skills-layout,.education-layout,.articles-layout,.contact-grid,.nexus-brand-grid{grid-template-columns:1fr;gap:42px}
  .about-visual,.skills-visual,.education-visual,.articles-visual{height:auto;aspect-ratio:16/10}
  .timeline{grid-template-columns:1fr}
  .project-case,.project-case.reverse{grid-template-columns:1fr;gap:30px}.project-case.reverse .project-media,.project-case.reverse .project-content{order:initial}.project-content{max-width:none}.projects-list{gap:68px}
  .project-media{aspect-ratio:16/9}
}
@media(max-width:720px){
  body{font-size:15px}.container{width:min(100% - 24px,620px)}.section{padding:66px 0}
  .section-copy h2,.section-heading h2,.nexus-story h2,.contact-copy h2{font-size:clamp(30px,9vw,42px);line-height:1.28}
  .hero-copy-panel{padding:38px 22px 34px!important}.hero h1{font-size:clamp(38px,12vw,54px)!important}.hero-lead{font-size:15px!important}.hero-image-panel{min-height:390px!important}
  .about-values,.skills-grid,.nexus-services{grid-template-columns:1fr}
  .project-media{border-radius:20px}.project-content h3{font-size:30px}.project-desc{font-size:15px}.projects-list{gap:58px}
  .contact-form{grid-template-columns:1fr;padding:22px}.contact-form .full{grid-column:1}
}


/* ===== V7.2 EDUCATION SECTION FIX ===== */
.education{background:#fff;overflow:hidden}
.education-shell{position:relative}
.education-heading{
  max-width:860px;
  margin:0 0 44px auto;
  text-align:right;
}
.education-heading .section-kicker{display:inline-block;margin-bottom:10px}
.education-heading h2{
  margin:0;
  color:#071522;
  font-size:clamp(34px,4.25vw,56px);
  line-height:1.2;
  letter-spacing:-.025em;
  font-weight:800;
  max-width:820px;
}
.education-layout-v72{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);
  gap:72px;
  align-items:start;
}
.education-content{min-width:0}
.education-list{display:grid;gap:14px;margin:0}
.education-visual{
  width:100%;
  height:auto!important;
  aspect-ratio:4/3;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(6,21,34,.14);
  align-self:start;
}
.education-visual picture,.education-visual img{display:block;width:100%;height:100%}
.education-visual img{object-fit:cover;object-position:center}
.edu-item{
  position:relative;
  padding:22px 26px 22px 30px!important;
  background:#fbfcfd!important;
  border:1px solid #e6edf3;
  border-radius:18px;
  box-shadow:0 8px 26px rgba(8,24,38,.035);
  min-height:104px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.edu-item::after{
  content:"";
  position:absolute;
  inset:18px auto 18px 0;
  width:4px;
  border-radius:8px;
  background:linear-gradient(180deg,#11b8ff,#0878ff);
}
.edu-item h3{margin:0 0 6px;font-size:19px;line-height:1.45;color:#071522;font-weight:800}
.edu-item p{margin:0;color:#68798a;font-size:14px;line-height:1.7}

@media(max-width:980px){
  .education-heading{max-width:none;margin-bottom:32px}
  .education-layout-v72{grid-template-columns:1fr;gap:34px}
  .education-visual{order:-1;aspect-ratio:16/10;max-height:520px}
  .education-heading h2{font-size:clamp(30px,6.5vw,44px)}
}
@media(max-width:640px){
  .education-heading{margin-bottom:24px}
  .education-heading h2{font-size:30px;line-height:1.28}
  .education-layout-v72{gap:24px}
  .education-visual{aspect-ratio:4/3;border-radius:20px}
  .edu-item{padding:18px 22px 18px 24px!important;min-height:auto}
  .edu-item h3{font-size:17px}
  .edu-item p{font-size:13px}
}

/* =========================================================
   V7.3 — BALANCED MEDIA GRID
   Pull all side visuals inward so every section follows the
   same optical grid instead of hugging the page edge.
   ========================================================= */
@media (min-width:981px){
  /* RTL desktop: visuals that sit on the LEFT move inward/right */
  body:not(.ltr) .skills-visual,
  body:not(.ltr) .education-visual,
  body:not(.ltr) .articles-visual,
  body:not(.ltr) .project-case.reverse .project-media{
    transform:translateX(30px);
  }

  /* RTL desktop: visuals that sit on the RIGHT move inward/left */
  body:not(.ltr) .about-visual,
  body:not(.ltr) .project-case:not(.reverse) .project-media{
    transform:translateX(-30px);
  }

  /* LTR keeps the same optical rule mirrored */
  body.ltr .about-visual,
  body.ltr .project-case:not(.reverse) .project-media{
    transform:translateX(30px);
  }
  body.ltr .skills-visual,
  body.ltr .education-visual,
  body.ltr .articles-visual,
  body.ltr .project-case.reverse .project-media{
    transform:translateX(-30px);
  }

  /* Keep the text/image relationship calm after the inward shift */
  .about-grid,.skills-layout,.articles-layout{column-gap:88px}
  .education-layout-v72{column-gap:88px}
  .project-case{column-gap:82px}

  /* Consistent visual treatment */
  .about-visual,.skills-visual,.education-visual,.articles-visual,.project-media{
    box-shadow:0 24px 58px rgba(4,16,27,.12);
    transition:transform .28s ease,box-shadow .28s ease;
  }
}

/* Tablet/mobile: no manual horizontal nudges; preserve safe viewport spacing. */
@media (max-width:980px){
  .about-visual,.skills-visual,.education-visual,.articles-visual,.project-media{
    transform:none!important;
    margin-inline:auto;
    width:min(100%,720px);
  }
}
