/* ==========================================================================
   MG Solutions — Theme stylesheet
   Palette-driven via CSS variables (editable from WordPress Customizer)
   ========================================================================== */

:root {
  --navy: #241A66;
  --navy-2: #2C2178;
  --navy-3: #3C2E9E;
  --orange: #6C5CE7;
  --orange-2: #543CC0;
  --paper: #F5F4FB;
  --paper-2: #ECEAF7;
  --white: #ffffff;
  --ink: #1C1640;
  --muted: #6b6790;
  --line: rgba(36, 26, 102, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: "Poppins", "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow.on-dark { color: var(--orange); }

section { position: relative; }
.section-pad { padding: 130px 0; }
@media (max-width: 768px){ .section-pad { padding: 84px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 15px;
  padding: 16px 26px; border-radius: 100px; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-ghost.on-dark { color: #fff; border-color: var(--line-light); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy); }

/* ---------- Logo mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .word { font-family: "Poppins"; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; line-height: 1; color: var(--navy); }
.brand .word em { font-style: normal; font-weight: 500; color: var(--muted); }
.brand.on-dark .word { color: #fff; }
.brand.on-dark .word em { color: rgba(255,255,255,0.6); }
.brand .brand-img { height: 42px; width: auto; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: padding .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  padding: 12px 0; background: rgba(246,244,239,0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand .word { color: #fff; transition: color .4s var(--ease); }
.site-header.scrolled .brand .word { color: var(--navy); }
.site-header .brand .word em { color: rgba(255,255,255,0.55); transition: color .4s var(--ease); }
.site-header.scrolled .brand .word em { color: var(--muted); }
.site-header .mark path.mk { fill: #fff; transition: fill .4s var(--ease); }
.site-header.scrolled .mark path.mk { fill: var(--navy); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a.navlink {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.82); position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.site-header.scrolled .nav a.navlink { color: var(--navy); }
.nav a.navlink::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--orange); transition: width .3s var(--ease); }
.nav a.navlink:hover::after { width: 100%; }
.nav a.navlink:hover { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; transition: background .4s; }
.site-header.scrolled .menu-toggle span { background: var(--navy); }

@media (max-width: 980px){
  .nav.desktop { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 99; padding: 120px 32px 40px;
  display: flex; flex-direction: column; gap: 8px; transform: translateY(-100%);
  transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: "Poppins"; font-size: 34px; color: #fff; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; background: var(--navy); color: #fff;
  display: flex; align-items: center; overflow: hidden; padding: 128px 0 78px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after { content:""; position:absolute; inset:0; background:
  radial-gradient(120% 90% at 80% 10%, rgba(108,92,231,0.22), transparent 55%),
  linear-gradient(180deg, rgba(36,26,102,0.55) 0%, rgba(36,26,102,0.94) 78%, var(--navy) 100%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-grain { position:absolute; inset:0; z-index:1; opacity:0.06; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-top { position:absolute; top: 118px; left: 0; right: 0; }
.hero-top .wrap { display:flex; justify-content: space-between; align-items:flex-start; gap: 24px; }
.hero-top .lead { max-width: 360px; color: rgba(255,255,255,0.72); font-size: 15px; }

.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 600; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: heroUp 0.95s var(--ease) forwards; }
.hero h1 .line:nth-child(1) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .24s; }
.hero h1 .accent { color: var(--orange); }
@keyframes heroUp { to { transform: translateY(0); } }
.hero-sub { margin-top: 22px; max-width: 580px; color: rgba(255,255,255,0.72); font-size: 17px; }

.hero-fade { opacity: 0; transform: translateY(20px); animation: heroFade .9s var(--ease) forwards; }
.hero-fade.f1 { animation-delay: .48s; }
.hero-fade.f2 { animation-delay: .58s; }
.hero-fade.f3 { animation-delay: .68s; }
.hero-fade.f4 { animation-delay: .78s; }
@keyframes heroFade { to { opacity: 1; transform: none; } }

/* dual discipline cards */
.hero-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; max-width: 760px; }
.disc-card {
  border: 1px solid var(--line-light); border-radius: 16px; padding: 22px; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.04); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.disc-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(124,107,240,0.7); transform: translateY(-4px); }
.disc-card .num { font-family:"Poppins"; font-size: 13px; color: var(--orange); letter-spacing: 0.1em; }
.disc-card h3 { color: #fff; font-size: 26px; margin: 10px 0 6px; }
.disc-card p { color: rgba(255,255,255,0.62); font-size: 15px; }
.disc-card .go { margin-top: 18px; display: inline-flex; align-items:center; gap: 8px; color: var(--orange); font-weight: 700; font-size: 14px; }
.disc-card:hover .go svg { transform: translateX(5px); }
.disc-card .go svg { transition: transform .4s var(--ease); }
@media (max-width: 640px){ .hero-dual { grid-template-columns: 1fr; } .hero-top { display: none; } }

.scroll-cue { position:absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; }
.scroll-cue .dot { width: 2px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{transform: scaleY(0); transform-origin: top;} 50%{transform: scaleY(1); transform-origin: top;} 51%{transform-origin: bottom;} 100%{transform: scaleY(0); transform-origin: bottom;} }

/* ---------- Marquee ---------- */
.marquee { background: var(--orange); color: var(--navy); padding: 20px 0; overflow: hidden; white-space: nowrap; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.marquee-track { display: inline-flex; gap: 42px; animation: scroll 26s linear infinite; will-change: transform; }
.marquee span { font-family: "Poppins"; font-weight: 600; font-size: 24px; letter-spacing: -0.01em; text-transform: uppercase; display:inline-flex; align-items:center; gap:42px; }
.marquee span::after { content: "✳"; color: var(--navy); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--paper); }
.manifesto .top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.manifesto h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.manifesto .top p { color: var(--muted); font-size: 18px; }
.chapters { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); }
.chapter { padding: 44px 34px 44px 0; border-right: 1px solid var(--line); position: relative; }
.chapter:last-child { border-right: none; }
.chapter .cnum { font-family:"Poppins"; font-size: 15px; color: var(--orange); font-weight: 600; }
.chapter h3 { font-size: 24px; margin: 18px 0 12px; }
.chapter p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px){ .manifesto .top { grid-template-columns: 1fr; } .chapters { grid-template-columns: 1fr; } .chapter { border-right: none; border-bottom: 1px solid var(--line); padding: 34px 0; } }

/* ---------- Services (dual bento) ---------- */
.services { background: var(--navy); color: #fff; }
.services .grain { position:absolute; inset:0; opacity:0.05; pointer-events:none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.services .wrap { position: relative; z-index: 2; }
.services h2 { color: #fff; font-size: clamp(2rem,4.6vw,3.6rem); }
.services .head { display:flex; justify-content: space-between; align-items:end; gap: 30px; margin-bottom: 60px; }
.services .head p { color: rgba(255,255,255,0.65); max-width: 420px; }
.disc-block { margin-bottom: 60px; }
.disc-title { display:flex; align-items:center; gap: 16px; margin-bottom: 26px; }
.disc-title .tag { font-family:"Poppins"; font-size: 13px; letter-spacing:0.1em; color: var(--navy); background: var(--orange); padding: 6px 14px; border-radius: 100px; font-weight: 600; }
.disc-title h3 { color:#fff; font-size: 22px; }
.disc-title .rule { flex: 1; height: 1px; background: var(--line-light); }
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.svc-card { border: 1px solid var(--line-light); border-radius: 14px; padding: 26px; min-height: 200px; display:flex; flex-direction: column; justify-content: space-between; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.svc-card:hover { background: rgba(124,107,240,0.10); border-color: rgba(124,107,240,0.55); }
.svc-card .ico { width: 46px; height: 46px; border-radius: 12px; display:grid; place-items:center; background: rgba(255,255,255,0.06); color: var(--orange); }
.svc-card h4 { color:#fff; font-size: 18px; margin-top: 20px; }
.svc-card p { color: rgba(255,255,255,0.55); font-size: 14px; margin-top: 8px; }
.svc-more { display:inline-flex; align-items:center; gap:7px; margin-top:16px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; transition: gap .3s var(--ease), color .3s var(--ease); }
.svc-more:hover { gap: 12px; color:#fff; }
@media (max-width: 980px){ .svc-grid { grid-template-columns: repeat(2,1fr);} .services .head{flex-direction:column; align-items:flex-start;} }
@media (max-width: 520px){ .svc-grid { grid-template-columns: 1fr;} }

/* ---------- Projects ---------- */
.projects { background: var(--paper); }
.projects .head { display:flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; }
.projects h2 { font-size: clamp(2rem,4.6vw,3.6rem); }
.projects .head p { color: var(--muted); max-width: 400px; }
.proj-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.proj { position: relative; overflow: hidden; border-radius: 16px; background: var(--navy); min-height: 340px; }
.proj:nth-child(1){ grid-column: span 7; }
.proj:nth-child(2){ grid-column: span 5; }
.proj:nth-child(3){ grid-column: span 5; }
.proj:nth-child(4){ grid-column: span 7; }
.proj img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform .8s var(--ease); }
.proj:hover img { filter: grayscale(0); transform: scale(1.05); }
.proj::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(36,26,102,0.86)); }
.proj .meta { position:absolute; left: 26px; bottom: 24px; right: 26px; z-index: 2; color:#fff; }
.proj .meta .cat { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.proj .meta h3 { color:#fff; font-size: 26px; margin-top: 8px; }
.proj .meta .loc { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 4px; }
@media (max-width: 860px){ .proj { grid-column: span 12 !important; min-height: 280px;} .projects .head{flex-direction:column; align-items:flex-start;} }

/* ---------- Stats ---------- */
.stats { background: var(--navy-2); color:#fff; padding: 80px 0; }
.stats .grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat .n { font-family:"Poppins"; font-size: clamp(2.6rem,5vw,4rem); color: var(--orange); font-weight: 600; line-height:1; }
.stat .l { color: rgba(255,255,255,0.7); margin-top: 10px; font-size: 15px; }
@media (max-width: 720px){ .stats .grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px;} }

/* ---------- Process ---------- */
.process { background: var(--paper-2); }
.process h2 { font-size: clamp(2rem,4.6vw,3.4rem); margin-bottom: 54px; max-width: 620px; }
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; position:relative; }
.step .sn { font-family:"Poppins"; color: var(--orange); font-size: 40px; font-weight:600; line-height:1; }
.step h4 { margin: 16px 0 8px; font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color:#fff; }
.contact .grid { display:grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact h2 { color:#fff; font-size: clamp(2.2rem,4.8vw,3.8rem); }
.contact .sub { color: rgba(255,255,255,0.68); margin-top: 20px; max-width: 440px; }
.cinfo { margin-top: 40px; display:flex; flex-direction: column; gap: 22px; }
.cinfo a, .cinfo div { display:flex; align-items:center; gap: 16px; color:#fff; font-size: 17px; }
.cinfo .ic { width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; background: rgba(255,255,255,0.06); color: var(--orange); flex:none; }
.cinfo small { display:block; color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.form { background: rgba(255,255,255,0.04); border:1px solid var(--line-light); border-radius: 20px; padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-light); border-radius: 12px;
  padding: 14px 16px; color:#fff; font-family:"Plus Jakarta Sans"; font-size: 15px; transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form .note { text-align:center; color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 14px; }
@media (max-width: 860px){ .contact .grid { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 0 34px; position:relative; }
.site-footer .grain { position:absolute; inset:0; opacity:0.05; pointer-events:none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.site-footer .wrap { position: relative; z-index: 2; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-top p { margin-top: 20px; max-width: 300px; font-size: 15px; }
.footer-col h5 { color:#fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display:block; padding: 6px 0; font-size: 15px; transition: color .3s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; gap: 20px; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.footer-bottom .socials { display:flex; gap: 14px; }
.footer-bottom .socials a { width: 38px; height: 38px; border:1px solid var(--line-light); border-radius: 50%; display:grid; place-items:center; transition: background-color .3s, color .3s, border-color .3s; }
.footer-bottom .socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; } }

/* ---------- Reveal animations (gated on JS; visible by default without JS) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal, html.js .reveal { opacity:1; transform:none;} .hero h1 .line > span{ transform:none; animation:none;} .hero-fade{opacity:1; transform:none; animation:none;} }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 95; display: none; }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--orange); color: #fff; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 16px; padding: 16px; border-radius: 100px; box-shadow: 0 12px 30px rgba(84,60,192,0.42); }
.mobile-cta a:active { transform: scale(0.98); }
@media (max-width: 980px){ .mobile-cta { display: block; } .site-footer { padding-bottom: 100px; } }

/* ---------- Discipline (interior) content blocks ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split .media { border-radius: 18px; overflow: hidden; position: relative; }
.split .media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.split h2 { font-size: clamp(1.9rem,4vw,3rem); }
.split p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.split .ticks { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.split .ticks li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: #2b3240; }
.split .ticks .tk { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff; margin-top: 2px; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 32px; } }

.cta-band { background: var(--navy-2); color: #fff; padding: 70px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,3.6vw,2.6rem); }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 10px; }

/* Page hero for interior pages */
.page-hero { background: var(--navy); color:#fff; padding: 190px 0 90px; }
.page-hero h1 { color:#fff; font-size: clamp(2.4rem,6vw,4.6rem); }
.page-hero .crumb { color: var(--orange); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight:700; margin-bottom: 22px; }
.page-body { padding: 90px 0; }
.page-body .prose { max-width: 760px; font-size: 18px; color: #2b3240; }
.page-body .prose h2, .page-body .prose h3 { margin: 40px 0 16px; }
.page-body .prose p { margin-bottom: 20px; }
.page-body .prose ul { margin: 0 0 24px; padding: 0; list-style: none; }
.page-body .prose ul li { position: relative; padding-left: 30px; margin-bottom: 12px; line-height: 1.6; }
.page-body .prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.page-body .prose ul li strong { color: var(--navy); }
.page-body .prose a { color: var(--orange); font-weight: 600; }

/* ==========================================================================
   Logo image (uploaded MG Solution logo)
   ========================================================================== */
.brand .logo-img { height: 42px; width: auto; display: block; }
.site-header.scrolled .brand .logo-img { height: 38px; }
.footer-brand .logo-img { height: 46px; width: auto; }

/* ==========================================================================
   Discipline switch button (header)
   ========================================================================== */
.switch-btn { display: inline-flex; align-items: center; gap: 9px; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.28); color: #fff; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.site-header.scrolled .switch-btn { border-color: var(--line); color: var(--navy); }
.switch-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.switch-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.switch-btn:hover .dot { background: #fff; }

/* ==========================================================================
   SPLASH — full-screen discipline chooser
   ========================================================================== */
.splash { position: fixed; inset: 0; display: flex; background: var(--navy); overflow: hidden; }
.splash-panel { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: flex-grow .6s var(--ease); flex-grow: 1; }
.splash-panel .bg { position: absolute; inset: 0; }
.splash-panel .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1s var(--ease); filter: grayscale(0.3); }
.splash-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,26,102,0.62), rgba(24,16,64,0.82)); transition: background .5s var(--ease); }
.splash-panel:hover::after { background: linear-gradient(180deg, rgba(108,92,231,0.55), rgba(36,26,102,0.86)); }
.splash-panel:hover .bg img { transform: scale(1.12); }
.splash-panel .inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 40px; max-width: 460px; transform: translateY(0); }
.splash-panel .kicker { font-family: "Plus Jakarta Sans"; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.75); font-weight: 700; }
.splash-panel h2 { font-family: "Poppins"; color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 14px 0 14px; line-height: 1; }
.splash-panel p { color: rgba(255,255,255,0.82); font-size: 16px; margin-bottom: 28px; }
.splash-panel .enter { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--navy); font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 100px; transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.splash-panel:hover .enter { background: var(--orange); color: #fff; transform: translateY(-2px); }
.splash-panel .enter svg { transition: transform .4s var(--ease); }
.splash-panel:hover .enter svg { transform: translateX(5px); }
@media (min-width: 861px){ .splash:hover .splash-panel { flex-grow: 0.82; } .splash .splash-panel:hover { flex-grow: 1.5; } }

.splash-center { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 10; pointer-events: none; text-align: center; }
.splash-center .badge { background: #fff; border-radius: 20px; padding: 22px 30px; box-shadow: 0 30px 70px rgba(24,16,64,0.4); display: inline-block; }
.splash-center .badge img { height: 60px; width: auto; display: block; }
.splash-center .tag { color: rgba(255,255,255,0.85); font-family: "Plus Jakarta Sans"; margin-top: 16px; font-size: 14px; letter-spacing: 0.04em; }
@media (max-width: 860px){
  .splash { flex-direction: column; }
  .splash-center { display: none; }
  .splash-panel { min-height: 50vh; }
}

/* Splash entrance animation */
.splash-panel { opacity: 0; animation: splashIn .9s var(--ease) forwards; }
.splash-panel:nth-child(2) { animation-delay: .12s; }
@keyframes splashIn { to { opacity: 1; } }
.splash-center { opacity: 1; }

/* Discipline page hero image swap handled via inline style; base hero already styled */

/* ---------- Nieuws ---------- */
.news { background: var(--paper-2); }
.news .head { display:flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.news .head p { color: var(--muted); max-width: 400px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(36,26,102,0.12); border-color: rgba(124,107,240,0.4); }
.news-card .date { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.news-card h3 { font-size: 20px; margin: 12px 0 10px; color: var(--navy); }
.news-card p { color: var(--muted); font-size: 15px; flex: 1; }
.news-card .more { margin-top: 18px; color: var(--orange); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.news-card .more svg { transition: transform .4s var(--ease); }
.news-card:hover .more svg { transform: translateX(5px); }
@media (max-width: 860px){ .news .head { flex-direction: column; align-items: flex-start; } .news-grid { grid-template-columns: 1fr; } }
