/*
Theme Name: MJ-RSD Editorial
Theme URI: https://mj-rsd.com/
Author: MJ-RSD
Description: One-page editorial theme for MJ-RSD robotics and simulation consultancy.
Version: 1.0.3
Requires at least: 6.0
Text Domain: mj-rsd
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#102332;background:#f4f7f7;font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,a{outline-offset:4px}.shell{max-width:1440px;margin:auto;padding-left:clamp(24px,5vw,78px);padding-right:clamp(24px,5vw,78px)}.site-header{height:84px;display:flex;align-items:center;gap:45px;padding:0 clamp(24px,5vw,78px);background:#07131f;color:#eaf5f7;border-bottom:1px solid #29404b;position:relative;z-index:10}.brand{display:flex;flex-direction:column;line-height:1;min-width:240px}.brand-mark{font:700 26px 'Space Grotesk',sans-serif;letter-spacing:-.06em}.brand-dot{color:#38d4dd;margin:0 2px}.brand-caption{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8fa8b2;margin-top:7px}.site-header nav{display:flex;gap:36px;margin-left:auto}.site-header nav a{font-size:14px;color:#b9cbd0}.site-header nav a:hover,.text-link:hover{color:#36d5dd}.header-contact{border:1px solid #4c6b74;padding:12px 19px;font-size:14px;white-space:nowrap}.header-contact:hover{background:#15333e}.hero{min-height:690px;background:#07131f;color:#f5fafb;position:relative;display:grid;grid-template-columns:1fr .85fr;align-items:center;overflow:hidden}.hero-copy{position:relative;z-index:2;padding:80px 0 105px}.eyebrow,.kicker{color:#178b9b;letter-spacing:.19em;text-transform:uppercase;font-size:12px;font-weight:700}.eyebrow{color:#75c7cf;display:flex;align-items:center;gap:12px}.signal{display:inline-block;width:8px;height:8px;border-radius:100%;background:#39d5df;box-shadow:0 0 15px #39d5df}.hero h1,h2,h3{font-family:'Space Grotesk',Arial,sans-serif}.hero h1{font-size:clamp(48px,5.15vw,84px);line-height:1.05;letter-spacing:-.065em;margin:28px 0}.hero h1 em{font-style:normal;color:#49d7df}.hero-lede{font-size:19px;line-height:1.6;color:#b1c6cb;max-width:590px}.hero-actions{display:flex;align-items:center;gap:32px;margin-top:40px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 25px;font-weight:700;font-size:14px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:#3bd4dc;color:#061b23}.button-primary:hover{background:#8aebed}.text-link{display:inline-block;font-size:14px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:6px}.text-link span{margin-left:8px}.hero-visual{height:570px;position:relative;min-width:0;opacity:.95}.visual-grid{position:absolute;inset:0;background-image:linear-gradient(#31535d44 1px,transparent 1px),linear-gradient(90deg,#31535d44 1px,transparent 1px);background-size:43px 43px;mask-image:radial-gradient(ellipse at center,#000 20%,transparent 70%)}.orbit{position:absolute;border:1px solid #2f7884;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-25deg)}.orbit-one{width:260px;height:260px;box-shadow:0 0 90px #0a6b7c55,inset 0 0 50px #0a6b7c33}.orbit-two{width:390px;height:390px;border-color:#315360}.orbit-three{width:530px;height:530px;border-style:dashed;border-color:#31536080}.orbit-one:before,.orbit-two:before,.orbit-three:before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#5ce8ed;top:10%;left:20%;box-shadow:0 0 18px #5ce8ed}.core{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:12px;font:600 10px 'Space Grotesk';letter-spacing:.1em;color:#d6f7f7}.core i{width:16px;height:1px;background:#52cbd2}.visual-label{position:absolute;font:600 10px 'Space Grotesk';letter-spacing:.16em;color:#80afb7}.label-a{top:16%;left:5%}.label-b{right:0;top:36%}.label-c{bottom:14%;left:10%}.hero-bottom{position:absolute;bottom:28px;left:clamp(24px,5vw,78px);right:clamp(24px,5vw,78px);display:flex;justify-content:space-between;border-top:1px solid #36525b;padding-top:18px;color:#7c9aa3;font-size:11px;letter-spacing:.13em;text-transform:uppercase}.section{padding-top:115px;padding-bottom:120px}.section-heading{display:flex;justify-content:space-between;gap:60px}.section h2{font-size:clamp(40px,4.1vw,63px);line-height:1.1;letter-spacing:-.055em;margin:0}.section h2 span{color:#178c9a}.intro .section-heading .kicker,.work .section-heading .kicker{min-width:250px;margin-top:15px}.intro-body{max-width:860px;margin:55px 0 62px auto;display:grid;grid-template-columns:1fr 1fr;gap:45px;line-height:1.7;color:#526672;font-size:17px}.intro-body p{margin:0}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #c7d4d8;border-left:1px solid #c7d4d8}.service{padding:30px 25px 32px;border-right:1px solid #c7d4d8;border-bottom:1px solid #c7d4d8;min-height:310px;display:flex;flex-direction:column}.service-icon{font-size:34px;color:#0d91a0;height:64px}.service h3{font-size:22px;letter-spacing:-.04em;margin:10px 0}.service p{color:#536874;line-height:1.55;margin:0 0 30px}.tags{margin-top:auto;font-size:10px;letter-spacing:.12em;font-weight:700;color:#148b99}.approach{background:#e4ecee}.approach-layout{display:grid;grid-template-columns:1fr 1fr;gap:8vw}.approach .kicker{margin-bottom:30px}.approach-list{border-top:1px solid #b9cbcf}.approach-list>div{display:flex;gap:34px;border-bottom:1px solid #b9cbcf;padding:25px 0}.approach-list b{color:#138c9b;font:700 14px 'Space Grotesk';padding-top:4px}.approach-list p{margin:0;color:#536874;line-height:1.55}.approach-list strong{color:#183642;font:600 21px 'Space Grotesk';display:inline-block;margin-bottom:8px}.work-intro{max-width:580px;color:#526672;line-height:1.6;margin:42px 0 40px auto;font-size:17px}.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case{background:#fff;min-height:270px;display:flex;flex-direction:column}.case-feature{grid-row:span 2}.case-art{height:280px;background:#0a2230;position:relative;overflow:hidden}.case-art:before,.case-art:after{content:'';position:absolute;border:1px solid #328994;border-radius:50%;width:430px;height:180px;transform:rotate(-25deg);top:40px;left:15%}.case-art:after{width:290px;height:290px;top:-35px;left:30%;border-style:dashed}.art-lines{position:absolute;width:100%;height:100%;background:repeating-linear-gradient(130deg,transparent 0 29px,#2c8b9555 30px,transparent 31px);mask-image:linear-gradient(90deg,transparent,#000,transparent)}.art-caption{position:absolute;z-index:1;bottom:22px;left:30px;color:#a5d8da;font-size:11px;letter-spacing:.16em}.case-content{padding:32px 36px;display:flex;flex-direction:column;flex:1}.case-type{font-size:11px;color:#138e9d;letter-spacing:.13em;font-weight:700}.case h3{font-size:clamp(25px,2.4vw,36px);letter-spacing:-.05em;margin:17px 0 12px}.case p{line-height:1.6;color:#526672;margin:0 0 30px}.case-tech{margin-top:auto;color:#7b919a;font-size:12px}.about{background:#0c1e2a;color:#eff9f9}.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:9vw}.about h2 span{color:#46d5dd}.about-copy h3{font-size:32px;margin:2px 0 0}.about-copy .role{color:#57d1d9;font-size:14px;margin:7px 0 35px}.about-copy p{color:#b5cbd0;line-height:1.7;font-size:17px}.about-copy .text-link{margin-top:20px}.contact{background:#17b7c4;position:relative;overflow:hidden;min-height:480px}.contact .kicker{color:#083d49}.contact h2{position:relative;z-index:1;color:#062a35;margin:20px 0 25px}.contact p:not(.kicker){position:relative;z-index:1;font-size:18px;color:#15424c;max-width:540px;line-height:1.5}.button-light{position:relative;z-index:1;background:#082633;color:white;margin-top:16px}.button-light:hover{background:#124656}.contact-pattern{position:absolute;width:550px;height:550px;border:1px solid #ffffff70;border-radius:50%;right:-40px;top:-70px;box-shadow:0 0 0 85px #ffffff1b,0 0 0 170px #ffffff13}.footer{background:#07131f;color:#94aeb5;min-height:125px;display:flex;align-items:center;justify-content:space-between;gap:30px;font-size:12px}.footer .brand{min-width:0;color:white}@media(max-width:1000px){.site-header{gap:20px}.site-header nav{gap:15px}.brand{min-width:170px}.brand-caption{font-size:8px}.hero{grid-template-columns:1fr}.hero-copy{padding-top:100px;padding-bottom:90px}.hero-visual{position:absolute;right:-150px;top:50px;width:600px;opacity:.25}.service-grid{grid-template-columns:repeat(2,1fr)}.section-heading{display:block}.intro-body{margin-left:0}.approach-layout,.about-layout{gap:60px}}@media(max-width:700px){.site-header{height:auto;min-height:72px;flex-wrap:wrap;padding-top:17px;padding-bottom:15px}.site-header nav{order:3;width:100%;justify-content:space-between;margin:8px 0 0}.header-contact{margin-left:auto;padding:9px 12px;font-size:12px}.brand-mark{font-size:23px}.brand-caption{display:none}.hero{min-height:650px}.hero-copy{padding-top:75px}.hero h1{font-size:clamp(43px,10vw,64px)}.hero-lede{font-size:17px}.hero-actions{align-items:flex-start;flex-direction:column;gap:25px}.hero-bottom span:first-child{display:none}.hero-bottom{justify-content:flex-end}.section{padding-top:78px;padding-bottom:85px}.intro .section-heading .kicker,.work .section-heading .kicker{margin-bottom:26px}.intro-body{display:block;margin:35px 0}.intro-body p+p{margin-top:20px}.service-grid,.case-grid,.approach-layout,.about-layout{grid-template-columns:1fr}.service{min-height:250px}.case-feature{grid-row:auto}.case-art{height:220px}.approach-layout,.about-layout{gap:40px}.work-intro{margin-left:0}.contact-pattern{right:-350px}.footer{flex-wrap:wrap;padding-top:30px;padding-bottom:30px}.footer span:nth-child(2){width:100%;order:3}}


/* Editorial direction */
body.editorial{background:#f5f1eb;color:#292d2a;font-family:Georgia,serif}body.editorial .site-header,body.editorial .footer{background:#f5f1eb;color:#292d2a;border-color:#d8d1c7}body.editorial .site-header nav a,body.editorial .brand-caption{color:#695e56}body.editorial .header-contact{border-color:#9b8d80}body.editorial .hero{background:#f5f1eb;color:#292d2a;grid-template-columns:1.2fr .8fr;min-height:690px}body.editorial .hero-copy{padding-top:90px}body.editorial .hero h1,body.editorial .section h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.055em}body.editorial .hero h1{font-size:clamp(52px,5.8vw,88px)}body.editorial .hero h1 em,body.editorial .section h2 span{color:#bb5139;font-style:italic}body.editorial .hero-lede,body.editorial .intro-body,body.editorial .work-intro{color:#615d58}body.editorial .eyebrow,body.editorial .kicker,body.editorial .tags,body.editorial .case-type{color:#ad4935}body.editorial .signal{background:#bd543b;box-shadow:none}body.editorial .button-primary{background:#bb5139;color:#fff}body.editorial .button-primary:hover{background:#9e402e}body.editorial .hero-visual{opacity:.65;filter:sepia(1) hue-rotate(310deg) saturate(1.2)}body.editorial .hero-bottom{border-color:#c6b8ab;color:#89796e}body.editorial .service-grid{border:none;gap:16px;grid-template-columns:repeat(2,1fr)}body.editorial .service{background:#fffaf5;border:1px solid #ddd3c8;min-height:250px}body.editorial .service-icon{color:#bd543b}body.editorial .service h3,body.editorial .case h3,body.editorial .about-copy h3{font-family:Georgia,serif;font-weight:400}body.editorial .approach{background:#e7ded3}body.editorial .approach-list b{color:#b14d38}body.editorial .case{background:#fffaf5}body.editorial .case-art{background:#633e34;filter:sepia(.5)}body.editorial .about{background:#332f2d}body.editorial .about h2 span,body.editorial .about-copy .role{color:#e6a58d}body.editorial .contact{background:#c85d40}body.editorial .contact h2,body.editorial .contact p:not(.kicker){color:#fffaf5}body.editorial .contact .kicker{color:#4d261e}body.editorial .footer .brand{color:#2c2928}body.editorial .brand-dot{color:#bd543b}


body.editorial .hero-visual{background:#e5d8cd;opacity:1;filter:none;height:470px;border-radius:50%;overflow:hidden}body.editorial .orbit{border-color:#ba715c}body.editorial .orbit-one:before,body.editorial .orbit-two:before,body.editorial .orbit-three:before{background:#a94f3a;box-shadow:none}body.editorial .core,body.editorial .visual-label{color:#785a50}body.editorial .core i{background:#a36d5b}body.editorial .button-primary{background:#bb5139;color:white}@media(max-width:1000px){body.editorial .hero-visual{opacity:.25;right:-150px;position:absolute}}@media(max-width:700px){body.editorial .hero-visual{opacity:.15}}

body.editorial .hero-visual .visual-label{display:none}

@media(max-width:700px){body.editorial .hero{grid-template-columns:minmax(0,1fr)}body.editorial .hero-copy{min-width:0}body.editorial .hero h1{overflow-wrap:normal}}

@media(max-width:700px){body.editorial .service-grid{grid-template-columns:minmax(0,1fr)}body.editorial .service{min-width:0}}
