.theme-masar-v4{
  --masar-edge:clamp(24px,5vw,88px);
  --masar-panel:#101216;
  --masar-line:#ffffff1f;
  background:#08090b;
  color:#f3f3f1;
}

.theme-masar-v4 .theme-header,
.theme-masar-v4 .theme-header-standard{
  min-height:92px;
  height:auto;
  padding:22px var(--masar-edge);
  background:linear-gradient(180deg,#060708f4,#0d1013d9);
  border:0;
  border-block-start:4px solid #e33e38;
  border-block-end:1px solid var(--masar-line);
  position:sticky;
  inset-block-start:0;
  z-index:25;
}

.theme-masar-v4 .theme-brand,
.theme-masar-v4 .theme-hero h1,
.theme-masar-v4 .theme-section h2,
.theme-masar-v4 .theme-contact h2{
  font-family:"Space Grotesk","Alexandria",sans-serif;
  text-transform:uppercase;
}

.theme-masar-v4 .theme-header nav>a:not(.theme-button):not(.theme-language){color:#f3f3f1;opacity:.78}
.theme-masar-v4 .theme-header nav>a:not(.theme-button):not(.theme-language):hover{opacity:1}
.theme-masar-v4 .theme-language{border-color:#ffffff42;color:#fff}

.theme-masar-v4 .theme-button{
  min-height:54px;
  padding:0 30px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff613c,#d92d33);
  color:#fff!important;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 18px 40px #00000052;
}

.theme-masar-v4 .theme-button:hover{transform:translateY(-2px);box-shadow:0 24px 55px #00000066}
.theme-masar-v4 .theme-button-invert{background:#ffffff;color:#101216!important}

.theme-masar-v4 .theme-hero,
.theme-masar-v4 .theme-hero-immersive{
  position:relative;
  min-height:820px;
  display:block;
  background:#050607;
  color:#fff;
}

.theme-masar-v4 .theme-hero-copy{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:clamp(132px,16vw,230px) var(--masar-edge) clamp(70px,8vw,120px);
}

.theme-masar-v4 .theme-kicker{color:#ffb79f}
.theme-masar-v4 .theme-hero h1{max-width:8ch;font-size:clamp(3.6rem,7vw,7.25rem);line-height:.88;letter-spacing:-.05em}
.theme-masar-v4 .theme-hero p{max-width:34ch;color:#dadbdc}
.theme-masar-v4 .theme-hero-proof{gap:12px 28px;color:#b7bcc4}
.theme-masar-v4 .theme-hero-proof span:before{width:9px;height:9px;background:#e33e38}
.theme-masar-v4 .theme-hero-image{position:absolute;inset:0;min-height:100%}
.theme-masar-v4 .theme-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center right}
.theme-masar-v4 .theme-hero-image:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#050607f4 0%,#050607ca 44%,#05060766 67%,transparent 86%);
}

.theme-masar-v4 .theme-stats{background:#111419;border-block-color:#ffffff1d}
.theme-masar-v4 .theme-stats div{border-inline-end-color:#ffffff1d}
.theme-masar-v4 .theme-stats span{color:#c6ccd2}

.theme-masar-v4 .theme-services-section-media{background:#090b0e}
.theme-masar-v4 .theme-services{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;border:0}
.theme-masar-v4 .theme-services article{border:1px solid #ffffff1f;border-radius:18px;background:linear-gradient(180deg,#11151a,#0b0e12)}
.theme-masar-v4 .theme-service-copy{padding:30px 26px 34px}
.theme-masar-v4 .theme-service-index{font-size:2rem;color:#e33e38}
.theme-masar-v4 .theme-services h3{margin-top:20px;color:#fff}
.theme-masar-v4 .theme-services p{color:#b8c0c8}
.theme-masar-v4 .theme-service-media{height:210px}

.theme-masar-v4 .theme-training-path li{background:#0f1318;border-inline-end-color:#ffffff1d}
.theme-masar-v4 .theme-contact{background:linear-gradient(135deg,#e33e38,#8e151d);color:#fff}
.theme-masar-v4 .theme-contact p{color:#ffe6df}
.theme-masar-v4 .theme-footer{background:#050607;color:#edf0f2;border-block-start:1px solid #ffffff1f}

.theme-masar-v4[dir=rtl] :is(.theme-brand,.theme-hero h1,.theme-section h2,.theme-contact h2){
  font-family:"Alexandria","Space Grotesk",sans-serif;
  letter-spacing:-.03em;
}

@media(max-width:900px){
  .theme-masar-v4 .theme-header,
  .theme-masar-v4 .theme-header-standard{padding-inline:22px}
  .theme-masar-v4 .theme-hero-copy{padding-top:120px}
  .theme-masar-v4 .theme-services{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  .theme-masar-v4 .theme-header,
  .theme-masar-v4 .theme-header-standard{min-height:74px;padding:16px 18px}
  .theme-masar-v4 .theme-button{width:100%}
  .theme-masar-v4 .theme-hero,
  .theme-masar-v4 .theme-hero-immersive{min-height:680px}
  .theme-masar-v4 .theme-hero h1{font-size:clamp(2.9rem,13vw,4.6rem)}
  .theme-masar-v4 .theme-services{grid-template-columns:1fr}
  .theme-masar-v4 .theme-hero-image:after{background:linear-gradient(180deg,#050607f0 0%,#050607c2 48%,#05060772 100%)}
}

/* Rollout uplift: race-paddock typography, diagnostic hierarchy, and mechanical depth. */
.theme-masar-v4{
  --masar-black:#090b0e;
  --masar-graphite:#171a1d;
  --masar-steel:#2a2e32;
  --masar-red:#e33e38;
  --masar-white:#f3f1ed;
  --masar-line:rgba(255,255,255,.2);
}
.theme-masar-v4 .theme-section-head{display:grid;grid-template-columns:minmax(110px,.3fr) minmax(0,1.7fr);gap:28px;align-items:end;margin-block-end:34px;padding-block-end:16px;border-block-end:2px solid currentColor}
.theme-masar-v4 .theme-section-head>span{color:var(--masar-red);font-size:.68rem;font-weight:900;letter-spacing:.2em;text-transform:uppercase}
.theme-masar-v4 .theme-section-head h2{max-width:16ch;font-family:"Space Grotesk","Alexandria",sans-serif;font-size:clamp(2.5rem,5.5vw,6.3rem);font-weight:800;line-height:.9;text-transform:uppercase}
.theme-masar-v4 .theme-header-minimal{height:78px;background:var(--masar-black);color:#fff;border-block-start:5px solid var(--masar-red);border-block-end:1px solid var(--masar-line)}
.theme-masar-v4 .theme-header-minimal .theme-brand{font-family:"Space Grotesk","Alexandria",sans-serif;font-size:1.45rem;font-weight:800;text-transform:uppercase}
.theme-masar-v4 .theme-header-minimal .theme-nav a{color:#fff;font-size:.74rem;font-weight:800;text-transform:uppercase}
.theme-masar-v4 .theme-header-minimal .theme-button{background:var(--masar-red);color:#111;border:2px solid var(--masar-red);border-radius:0;box-shadow:5px 5px 0 #fff}

.theme-masar-v4 .theme-hero-immersive{min-height:min(920px,calc(100vh - 78px));background:var(--masar-black);color:#fff}
.theme-masar-v4 .theme-hero-immersive::before{content:"M / 04";position:absolute;inset-block-end:-.1em;inset-inline-end:1vw;z-index:1;color:rgba(227,62,56,.16);font-size:clamp(8rem,24vw,28rem);font-weight:900;line-height:.75;letter-spacing:-.09em;pointer-events:none}
.theme-masar-v4 .theme-hero-immersive .theme-hero-image::after{background:linear-gradient(90deg,#090b0ef7 0%,#090b0ece 48%,transparent 82%)}
[dir=rtl] .theme-masar-v4 .theme-hero-immersive .theme-hero-image::after{background:linear-gradient(270deg,#090b0ef7 0%,#090b0ece 48%,transparent 82%)}
.theme-masar-v4 .theme-hero-immersive .theme-hero-copy{position:relative;z-index:2}
.theme-masar-v4 .theme-hero-immersive h1{max-width:9ch;color:#fff;font-size:clamp(4rem,9vw,10rem);font-weight:800;line-height:.82;letter-spacing:-.075em}
.theme-masar-v4 .theme-hero-immersive p{max-width:46ch;color:#c2c3c3}
.theme-masar-v4 .theme-hero-immersive .theme-button{background:var(--masar-red);color:#111;border:2px solid var(--masar-red);border-radius:0;box-shadow:8px 8px 0 #fff}

.theme-masar-v4 .theme-stats-dark{padding-block:0;background:var(--masar-black);color:#fff;border-block:2px solid var(--masar-red)}
.theme-masar-v4 .theme-stats-dark .theme-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.theme-masar-v4 .theme-stats-dark .theme-stat{min-height:170px;display:flex;flex-direction:column;justify-content:center;padding:28px;border-inline-end:1px solid var(--masar-line)}
.theme-masar-v4 .theme-stats-dark .theme-stat:last-child{border-inline-end:0}
.theme-masar-v4 .theme-stats-dark strong{color:var(--masar-red);font-size:clamp(3rem,6vw,7rem);font-weight:900;line-height:.8;font-variant-numeric:tabular-nums}

.theme-masar-v4 .theme-services-section-numbered{background:var(--masar-graphite);color:#fff}
.theme-masar-v4 .theme-services-section-numbered .theme-services{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:2px solid var(--masar-line)}
.theme-masar-v4 .theme-services-section-numbered .theme-services article{position:relative;min-height:360px;padding:30px;background:transparent;border:0;border-inline-end:2px solid var(--masar-line);border-radius:0;overflow:hidden}
.theme-masar-v4 .theme-services-section-numbered .theme-services article:last-child{border-inline-end:0}
.theme-masar-v4 .theme-services-section-numbered .theme-service-index{display:block;margin-block-end:70px;color:var(--masar-red);font-size:3.5rem;font-weight:900}
.theme-masar-v4 .theme-services-section-numbered h3{color:#fff;font-size:clamp(1.4rem,2.4vw,2.6rem);text-transform:uppercase}
.theme-masar-v4 .theme-services-section-numbered p{color:#aeb0b1}

.theme-masar-v4 .theme-slider-fullscreen{height:min(900px,90vh);background:var(--masar-black);overflow:hidden}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-track,.theme-masar-v4 .theme-slider-fullscreen .theme-slider-slide{height:100%}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-slide{position:relative;display:grid;align-items:end}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;filter:grayscale(.45) contrast(1.25)}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,11,14,.96),rgba(9,11,14,.08) 78%)}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-copy{position:relative;z-index:1;max-width:900px;padding:clamp(48px,8vw,130px) var(--v4-edge);color:#fff}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-copy h2{max-width:11ch;color:#fff;font-size:clamp(3.5rem,8vw,9rem);font-weight:800;line-height:.84;text-transform:uppercase}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-copy p{max-width:50ch;color:#d0d0cf}
.theme-masar-v4 .theme-slider-fullscreen .theme-button{background:var(--masar-red);color:#111;border-color:var(--masar-red);border-radius:0}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-controls{position:absolute;z-index:2;inset-block-end:38px;inset-inline-end:var(--v4-edge)}
.theme-masar-v4 .theme-slider-fullscreen .theme-slider-controls button{border-radius:0;border-color:#fff;color:#fff}

.theme-masar-v4 .theme-tabs-standard{background:#e5e3df;color:#141618}
.theme-masar-v4 .theme-tabs-standard .theme-tabs-layout{display:grid;grid-template-columns:minmax(190px,.36fr) minmax(0,1.64fr);gap:0;border:2px solid #141618}
.theme-masar-v4 .theme-tabs-standard .theme-tab-list{display:flex;flex-direction:column;background:#141618}
.theme-masar-v4 .theme-tabs-standard .theme-tab-list button{min-height:92px;padding:20px 24px;background:transparent;color:#b9bbbc;border:0;border-block-end:1px solid #ffffff2b;border-radius:0;text-align:start;font-weight:800;text-transform:uppercase}
.theme-masar-v4 .theme-tabs-standard .theme-tab-list button[aria-selected=true]{background:var(--masar-red);color:#111;border-color:var(--masar-red)}
.theme-masar-v4 .theme-tabs-standard .theme-tab-panels{padding:clamp(32px,6vw,90px)}
.theme-masar-v4 .theme-tabs-standard .theme-tab-panel{max-width:70ch;font-size:clamp(1.15rem,2vw,1.65rem);line-height:1.55}

.theme-masar-v4 .theme-video-wide{background:var(--masar-black);color:#fff}
.theme-masar-v4 .theme-video-wide .theme-video-frame{position:relative;max-width:none;border:2px solid var(--masar-red);border-radius:2px;box-shadow:14px 14px 0 var(--masar-red);overflow:hidden}
.theme-masar-v4 .theme-video-wide .theme-video-frame img{width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:0;filter:grayscale(.6) contrast(1.25)}
.theme-masar-v4 .theme-video-wide .theme-video-frame button{width:90px;height:90px;background:var(--masar-red);color:#111;border-radius:0;border:2px solid #111}
.theme-masar-v4 .theme-video-wide .theme-video-caption{max-width:64ch;color:#acafb1}

.theme-masar-v4 .theme-booking-section-split{background:var(--masar-steel);color:#fff}
.theme-masar-v4 .theme-booking-section-split .theme-booking-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);gap:36px}
.theme-masar-v4 .theme-booking-section-split .theme-booking-copy{padding:34px;background:var(--masar-red);color:#111;border:2px solid #111;box-shadow:10px 10px 0 #111}
.theme-masar-v4 .theme-booking-section-split .theme-booking-copy h2{color:#111}
.theme-masar-v4 .theme-booking-section-split .theme-booking-services{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.theme-masar-v4 .theme-booking-section-split .theme-booking-service{min-height:220px;padding:24px;background:var(--masar-black);border:1px solid var(--masar-line);border-radius:0;box-shadow:none}
.theme-masar-v4 .theme-booking-section-split .theme-booking-service h3{color:#fff}
.theme-masar-v4 .theme-booking-section-split .theme-booking-service strong{color:var(--masar-red)}
.theme-masar-v4 .theme-credentials-section-strip{background:#0c0e10;color:#fff;border-block:1px solid var(--masar-line)}
.theme-masar-v4 .theme-split-reverse{background:#e5e3df;color:#141618}
.theme-masar-v4 .theme-split-reverse img{border-radius:2px;filter:grayscale(.75) contrast(1.15)}
.theme-masar-v4 .theme-contact-accent{background:var(--masar-red);color:#111}
.theme-masar-v4 .theme-contact-accent h2{color:#111}
.theme-masar-v4 .theme-contact-accent .theme-button{background:#111;color:#fff;border-radius:0;box-shadow:7px 7px 0 #fff}
.theme-masar-v4 .theme-footer-accent{background:#070809;color:#fff;border-block-start:6px solid var(--masar-red)}

@media(max-width:980px){
  .theme-masar-v4 .theme-services-section-numbered .theme-services{grid-template-columns:repeat(2,1fr)}
  .theme-masar-v4 .theme-booking-section-split .theme-booking-layout{grid-template-columns:1fr}
}
@media(max-width:680px){
  .theme-masar-v4 .theme-section-head{grid-template-columns:1fr;gap:10px}
  .theme-masar-v4 .theme-stats-dark .theme-stats,
  .theme-masar-v4 .theme-services-section-numbered .theme-services,
  .theme-masar-v4 .theme-booking-section-split .theme-booking-services{grid-template-columns:1fr}
  .theme-masar-v4 .theme-stats-dark .theme-stat,
  .theme-masar-v4 .theme-services-section-numbered .theme-services article{border-inline-end:0;border-block-end:1px solid var(--masar-line)}
  .theme-masar-v4 .theme-tabs-standard .theme-tabs-layout{grid-template-columns:1fr}
  .theme-masar-v4 .theme-tabs-standard .theme-tab-list{flex-direction:row;overflow-x:auto}
  .theme-masar-v4 .theme-tabs-standard .theme-tab-list button{min-width:150px}
}
@media(prefers-reduced-motion:reduce){.theme-masar-v4 *, .theme-masar-v4 *::before,.theme-masar-v4 *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
