/* ================================================================
   MAKAFAN THEME — assets/css/theme.css
   Design reference: Apple.com — cinematic, editorial, minimal
   Mcafan Strategy Consultancy — Lagos to the world
   Version 1.0.0
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand colors */
  --mk-lime:    #9DE016;
  --mk-green:   #00A859;
  --mk-dark:    #1D1D1F;
  --mk-mid:     #424245;
  --mk-muted:   #6E6E73;
  --mk-border:  #D2D2D7;
  --mk-off:     #F5F5F7;
  --mk-white:   #FFFFFF;

  /* Typography */
  --mk-ff:   'Fraunces', Georgia, serif;
  --mk-fb:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --mk-hh:   52px;
  --mk-max:  980px;
  --mk-wide: 1200px;
  --mk-ease: cubic-bezier(.25, .46, .45, .94);
  --mk-r:    12px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--mk-fb); color: var(--mk-dark); background: var(--mk-white); overflow-x: hidden; line-height: 1.75; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font-family: var(--mk-fb); }
p  { line-height: 1.78; }
p + p { margin-top: 1em; }

/* ── Apple-scale Typography ── */
.mk-display  { font-family: var(--mk-ff); font-size: clamp(3rem, 8vw, 7rem);   font-weight: 700; line-height: 1.03; letter-spacing: -.03em; }
.mk-hero     { font-family: var(--mk-ff); font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; }
.mk-title    { font-family: var(--mk-ff); font-size: clamp(1.8rem, 4vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.mk-headline { font-family: var(--mk-ff); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
.mk-subhead  { font-family: var(--mk-ff); font-size: clamp(1rem, 2vw, 1.5rem);   font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
.mk-body     { font-size: 1rem;  line-height: 1.78; color: var(--mk-muted); }
.mk-caption  { font-size: .82rem; line-height: 1.55; color: var(--mk-muted); }
.mk-label    { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mk-white    { color: var(--mk-white); }
.mk-lime     { color: var(--mk-lime);  }
.mk-green    { color: var(--mk-green); }
.mk-muted    { color: var(--mk-muted); }
.mk-center   { text-align: center; }

/* ── Containers ── */
.mk-wrap  { width: 100%; max-width: var(--mk-max);  margin: 0 auto; padding: 0 24px; }
.mk-wide  { width: 100%; max-width: var(--mk-wide); margin: 0 auto; padding: 0 24px; }
.mk-full  { width: 100%; }

/* ── Buttons — Apple pill style ── */
.mk-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mk-fb); font-size: .88rem; font-weight: 500;
  padding: 12px 26px; border-radius: 980px; border: none;
  transition: all .22s var(--mk-ease); white-space: nowrap; cursor: pointer;
  text-decoration: none;
}
.mk-btn-lime    { background: var(--mk-lime);  color: var(--mk-dark);  }
.mk-btn-lime:hover    { background: #8ccc00; transform: scale(1.02); }
.mk-btn-green   { background: var(--mk-green); color: var(--mk-white); }
.mk-btn-green:hover   { background: #008a4a; transform: scale(1.02); }
.mk-btn-dark    { background: var(--mk-dark);  color: var(--mk-white); }
.mk-btn-dark:hover    { background: #3a3a3c; transform: scale(1.02); }
.mk-btn-ghost   { background: rgba(255,255,255,.1); color: var(--mk-white); border: 1px solid rgba(255,255,255,.22); }
.mk-btn-ghost:hover   { background: rgba(255,255,255,.18); }
.mk-btn-outline { background: transparent; color: var(--mk-green); border: 1.5px solid var(--mk-green); }
.mk-btn-outline:hover { background: var(--mk-green); color: var(--mk-white); }
.mk-btn-outline-wh { background: transparent; color: var(--mk-white); border: 1.5px solid rgba(255,255,255,.4); }
.mk-btn-outline-wh:hover { border-color: var(--mk-lime); background: rgba(157,224,22,.08); }

/* ── Arrow link ── */
.mk-arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 500; color: var(--mk-green);
  transition: gap .2s;
}
.mk-arrow-link::after { content: '→'; }
.mk-arrow-link:hover  { gap: 10px; }
.mk-arrow-link.white  { color: var(--mk-lime); }

/* ── Scroll reveal ── */
.mk-reveal { opacity: 0; transform: translateY(36px); transition: opacity .75s var(--mk-ease), transform .75s var(--mk-ease); }
.mk-reveal.mk-in { opacity: 1; transform: none; }
.mk-d1 { transition-delay: .1s; } .mk-d2 { transition-delay: .2s; }
.mk-d3 { transition-delay: .3s; } .mk-d4 { transition-delay: .4s; }

/* ================================================================
   HEADER — Apple-style frosted glass sticky nav
   ================================================================ */
#mk-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--mk-hh);
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid rgba(0,0,0,.1);
  transition: background .3s, border-color .3s;
}
#mk-header.mk-dark-nav {
  background: rgba(29,29,31,.88);
  border-bottom-color: rgba(255,255,255,.1);
}
#mk-header.mk-dark-nav .mk-nav a,
#mk-header.mk-dark-nav .mk-logo-text { color: var(--mk-white) !important; }
#mk-header.mk-dark-nav .mk-toggle span { background: var(--mk-white); }

.mk-hdr-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--mk-wide); margin: 0 auto; padding: 0 24px;
}

/* Logo */
.mk-logo a { display: flex; align-items: center; gap: 8px; }
.mk-logo img { height: 28px; width: auto; display: block; }

/* Nav */
.mk-nav ul { display: flex; gap: 22px; align-items: center; }
.mk-nav a {
  font-size: .8rem; font-weight: 400; color: var(--mk-dark);
  opacity: .82; transition: opacity .2s, color .2s;
  position: relative;
}
.mk-nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--mk-green); transform: scaleX(0);
  transition: transform .2s var(--mk-ease);
}
.mk-nav a:hover, .mk-nav li.mk-active a { opacity: 1; color: var(--mk-green); }
.mk-nav li.mk-active a::after { transform: scaleX(1); }
.mk-nav .mk-nav-cta {
  background: var(--mk-lime); color: var(--mk-dark) !important;
  padding: 8px 20px; border-radius: 980px; font-weight: 600;
  opacity: 1 !important; font-size: .8rem;
  transition: background .2s !important;
}
.mk-nav .mk-nav-cta::after { display: none !important; }
.mk-nav .mk-nav-cta:hover { background: #8ccc00; }

/* Mobile toggle */
.mk-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; background: none; border: none; }
.mk-toggle span { display: block; width: 20px; height: 1.5px; background: var(--mk-dark); transition: all .22s; border-radius: 2px; }

@media (max-width: 860px) {
  .mk-toggle { display: flex; }
  .mk-nav {
    display: none; position: absolute; top: var(--mk-hh); left: 0; right: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: .5px solid var(--mk-border); padding: 16px 24px 28px;
  }
  .mk-nav.mk-open { display: block; }
  .mk-nav ul { flex-direction: column; gap: 0; }
  .mk-nav li { border-bottom: .5px solid var(--mk-border); }
  .mk-nav a  { display: block; padding: 13px 0; font-size: .95rem; }
}

body { padding-top: var(--mk-hh); }

/* ================================================================
   FOOTER — Apple-style
   ================================================================ */
#mk-footer {
  background: var(--mk-off);
  border-top: .5px solid var(--mk-border);
  padding: 52px 0 0;
  font-size: .82rem;
}
.mk-ftr-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 44px;
  border-bottom: .5px solid var(--mk-border);
}
.mk-ftr-logo { display: flex; align-items: center; margin-bottom: 14px; }
.mk-ftr-logo img { height: 24px; width: auto; filter: none; }
.mk-ftr-brand p { color: var(--mk-muted); line-height: 1.7; max-width: 220px; font-size: .82rem; }
.mk-ftr-col h5 {
  font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mk-dark); margin-bottom: 14px;
}
.mk-ftr-col ul { display: flex; flex-direction: column; gap: 9px; }
.mk-ftr-col a  { color: var(--mk-muted); transition: color .2s; font-size: .82rem; }
.mk-ftr-col a:hover { color: var(--mk-green); }
.mk-ftr-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: .75rem; color: var(--mk-muted);
  flex-wrap: wrap; gap: 8px;
}
.mk-ftr-bot a { color: var(--mk-muted); transition: color .2s; }
.mk-ftr-bot a:hover { color: var(--mk-green); }
.mk-ftr-social { display: flex; gap: 12px; margin-top: 18px; }
.mk-ftr-social a {
  width: 32px; height: 32px; border: .5px solid var(--mk-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--mk-muted); transition: all .2s;
}
.mk-ftr-social a:hover { border-color: var(--mk-lime); background: var(--mk-lime); color: var(--mk-dark); }

@media (max-width: 860px) { .mk-ftr-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .mk-ftr-top { grid-template-columns: 1fr; } }

/* ================================================================
   HOMEPAGE — CINEMATIC SECTIONS
   ================================================================ */

/* HERO — full viewport, centred, dramatic */
.mk-hero-section {
  min-height: calc(100vh - var(--mk-hh));
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--mk-dark);
}
.mk-hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.mk-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .35; transform: scale(1.04);
  transition: transform 8s ease; animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.mk-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(29,29,31,.7) 70%, var(--mk-dark) 100%);
}
.mk-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(157,224,22,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(157,224,22,.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.mk-hero-inner {
  position: relative; z-index: 2; max-width: 880px;
  padding: 0 24px; width: 100%;
}
.mk-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mk-green);
}
.mk-hero-eyebrow::before,
.mk-hero-eyebrow::after { content: ''; display: block; width: 24px; height: 1px; background: var(--mk-green); }
.mk-hero-inner h1 { color: var(--mk-white); margin-bottom: 22px; }
.mk-hero-inner h1 em { color: var(--mk-lime); font-style: normal; }
.mk-hero-sub { color: rgba(255,255,255,.62); font-size: clamp(.95rem, 1.8vw, 1.2rem); max-width: 560px; margin: 0 auto 44px; }
.mk-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.mk-hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3);
}
.mk-hero-scroll-line { width: 1px; height: 44px; background: rgba(255,255,255,.18); animation: scrollDrop 2s ease-in-out infinite; }
@keyframes scrollDrop { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:.7;transform:scaleY(1.15)} }

/* INTRO — Apple "we believe" statement */
.mk-intro-section { padding: 100px 24px; text-align: center; background: var(--mk-white); }
.mk-intro-section h2 { max-width: 800px; margin: 0 auto 22px; }
.mk-intro-section p  { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* STATS — numbers in a row */
.mk-stats-section {
  background: var(--mk-dark); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.mk-stat {
  padding: 64px 32px; text-align: center;
  border-right: .5px solid rgba(255,255,255,.07);
}
.mk-stat:last-child { border-right: none; }
.mk-stat-num   { font-family: var(--mk-ff); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; color: var(--mk-lime); line-height: 1; margin-bottom: 10px; }
.mk-stat-label { font-size: .78rem; color: rgba(255,255,255,.48); letter-spacing: .06em; }
@media (max-width: 640px) { .mk-stats-section { grid-template-columns: 1fr 1fr; } }

/* DISCIPLINES — three service cards */
.mk-disciplines { background: var(--mk-off); padding: 88px 0; }
.mk-disc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--mk-border); border: .5px solid var(--mk-border);
  margin-top: 52px;
}
.mk-disc-card {
  background: var(--mk-white); padding: 52px 40px;
  border-top: 2px solid transparent;
  transition: all .3s var(--mk-ease);
}
.mk-disc-card:hover { background: var(--mk-dark); border-top-color: var(--mk-lime); }
.mk-disc-card:hover h3, .mk-disc-card:hover p { color: var(--mk-white); }
.mk-disc-card:hover .mk-disc-icon { color: var(--mk-lime); }
.mk-disc-card:hover .mk-disc-num  { color: rgba(157,224,22,.2); }
.mk-disc-num  { font-family: var(--mk-ff); font-size: 3.2rem; font-weight: 700; color: var(--mk-border); line-height: 1; margin-bottom: 22px; transition: color .3s; }
.mk-disc-icon { width: 40px; height: 40px; color: var(--mk-green); margin-bottom: 22px; transition: color .3s; }
.mk-disc-card h3 { font-family: var(--mk-ff); font-size: 1.25rem; margin-bottom: 14px; transition: color .3s; }
.mk-disc-card p  { color: var(--mk-muted); font-size: .9rem; line-height: 1.72; transition: color .3s; }
@media (max-width: 860px) { .mk-disc-grid { grid-template-columns: 1fr; } }

/* SPLIT SECTION — Apple full-bleed side-by-side */
.mk-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 580px; overflow: hidden;
}
.mk-split.mk-split-flip .mk-split-copy { order: 1; }
.mk-split.mk-split-flip .mk-split-img  { order: 2; }
.mk-split-img { position: relative; overflow: hidden; }
.mk-split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--mk-ease); }
.mk-split:hover .mk-split-img img { transform: scale(1.04); }
.mk-split-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,168,89,.07) 0%, transparent 60%); }
.mk-split-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
}
.mk-split-copy.mk-dark { background: var(--mk-dark); }
.mk-split-copy.mk-dark h2, .mk-split-copy.mk-dark h3 { color: var(--mk-white); }
.mk-split-copy.mk-dark p  { color: rgba(255,255,255,.62); }
.mk-split-copy.mk-light { background: var(--mk-white); }
.mk-split-copy.mk-off   { background: var(--mk-off); }
.mk-split-copy .mk-tag  { display: block; margin-bottom: 16px; }
.mk-split-copy h2       { margin-bottom: 16px; }
.mk-split-copy p        { font-size: .95rem; line-height: 1.82; margin-bottom: 24px; }
@media (max-width: 860px) {
  .mk-split, .mk-split.mk-split-flip { grid-template-columns: 1fr; }
  .mk-split.mk-split-flip .mk-split-copy { order: 1; }
  .mk-split.mk-split-flip .mk-split-img  { order: 2; }
  .mk-split-img { min-height: 300px; }
  .mk-split-copy { padding: 52px 24px; }
}

/* WORK GRID */
.mk-work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; background: var(--mk-dark);
}
.mk-work-card {
  position: relative; overflow: hidden; min-height: 380px;
  display: block; text-decoration: none;
  transition: transform .4s var(--mk-ease);
}
.mk-work-card-bg { position: absolute; inset: 0; }
.mk-work-card-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); transition: filter .5s, transform .6s var(--mk-ease); }
.mk-work-card:hover .mk-work-card-bg img { filter: brightness(.32); transform: scale(1.06); }
.mk-work-card-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.08) 55%); }
.mk-work-card-bar  { position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.mk-work-card-body {
  position: relative; z-index: 2; padding: 28px;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
}
.mk-work-card-ind { font-size: .6rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; display: block; margin-bottom: 7px; }
.mk-work-card-body h3 { font-family: var(--mk-ff); color: var(--mk-white); font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.mk-work-card-body p  { color: rgba(255,255,255,.52); font-size: .8rem; line-height: 1.6; margin-bottom: 14px; }
.mk-work-card-arr {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px; transition: gap .2s;
}
.mk-work-card:hover .mk-work-card-arr { gap: 10px; }
@media (max-width: 860px) { .mk-work-grid { grid-template-columns: 1fr; } }

/* TICKER */
.mk-ticker { padding: 48px 0; background: var(--mk-white); border-top: .5px solid var(--mk-border); border-bottom: .5px solid var(--mk-border); overflow: hidden; }
.mk-ticker-label { text-align: center; font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mk-muted); margin-bottom: 28px; }
.mk-ticker-outer { overflow: hidden; position: relative; }
.mk-ticker-outer::before, .mk-ticker-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.mk-ticker-outer::before { left:  0; background: linear-gradient(to right, var(--mk-white), transparent); }
.mk-ticker-outer::after  { right: 0; background: linear-gradient(to left,  var(--mk-white), transparent); }
.mk-ticker-track { display: flex; width: max-content; animation: mkTicker 28s linear infinite; }
.mk-ticker-track:hover { animation-play-state: paused; }
@keyframes mkTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mk-ticker-item { flex: 0 0 auto; width: 160px; height: 60px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 20px; border-right: .5px solid var(--mk-border); opacity: .4; transition: opacity .3s; cursor: default; }
.mk-ticker-item:hover { opacity: 1; }
.mk-ticker-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mk-ticker-name { font-size: .72rem; font-weight: 600; color: var(--mk-dark); }

/* PROCESS */
.mk-process { background: var(--mk-dark); padding: 100px 24px; }
.mk-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.05); margin-top: 56px; }
.mk-step { background: var(--mk-dark); padding: 48px 32px; border-top: 2px solid transparent; transition: border-color .3s; }
.mk-step:hover { border-top-color: var(--mk-lime); }
.mk-step-n { font-family: var(--mk-ff); font-size: 3rem; font-weight: 700; color: rgba(157,224,22,.16); line-height: 1; margin-bottom: 20px; }
.mk-step h4 { color: var(--mk-white); font-family: var(--mk-fb); font-size: .95rem; font-weight: 600; margin-bottom: 10px; }
.mk-step p  { color: rgba(255,255,255,.46); font-size: .84rem; line-height: 1.72; }
@media (max-width: 860px) { .mk-process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .mk-process-grid { grid-template-columns: 1fr; } }

/* CTA BANNER */
.mk-cta { background: var(--mk-dark); padding: 120px 24px; text-align: center; position: relative; overflow: hidden; }
.mk-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(157,224,22,.1) 0%, transparent 55%); pointer-events: none; }
.mk-cta .mk-wrap { position: relative; z-index: 1; }
.mk-cta h2 { color: var(--mk-white); margin-bottom: 16px; }
.mk-cta p  { color: rgba(255,255,255,.58); max-width: 440px; margin: 0 auto 36px; }

/* ================================================================
   INNER PAGE HERO
   ================================================================ */
.mk-page-hero {
  background: var(--mk-dark); padding: 88px 24px 64px;
  position: relative; overflow: hidden; text-align: center;
}
.mk-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(157,224,22,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(157,224,22,.03) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.mk-page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--mk-lime), transparent);
}
.mk-page-hero .mk-wrap { position: relative; z-index: 1; }
.mk-page-hero h1 { color: var(--mk-white); margin-bottom: 14px; }
.mk-page-hero p  { color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto; }
.mk-page-hero-img { position: absolute; inset: 0; overflow: hidden; }
.mk-page-hero-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.25); }

/* ================================================================
   CASE STUDY
   ================================================================ */
.mk-cs-hero { background: var(--mk-dark); min-height: 72vh; display: flex; align-items: flex-end; padding-bottom: 72px; position: relative; overflow: hidden; }
.mk-cs-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.mk-cs-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.28); }
.mk-cs-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
.mk-cs-hero .mk-wrap { position: relative; z-index: 2; text-align: left; }
.mk-cs-hero h1 { color: var(--mk-white); font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: 12px; }
.mk-cs-hero p  { color: rgba(255,255,255,.65); font-style: italic; font-size: 1.05rem; }
.mk-cs-ind   { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.mk-cs-logo  { height: 44px; width: auto; margin-bottom: 28px; filter: brightness(0) invert(1); display: block; }

.mk-cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--mk-dark); border-bottom: .5px solid rgba(255,255,255,.08); }
.mk-cs-mi { padding: 22px 28px; border-right: .5px solid rgba(255,255,255,.08); }
.mk-cs-mi:last-child { border-right: none; }
.mk-cs-ml { font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 5px; display: block; }
.mk-cs-mv { font-size: .88rem; color: rgba(255,255,255,.75); }
@media (max-width: 640px) { .mk-cs-meta { grid-template-columns: 1fr 1fr; } }

.mk-cs-body { padding: 72px 0; }
.mk-cs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
@media (max-width: 860px) { .mk-cs-layout { grid-template-columns: 1fr; gap: 40px; } }

.mk-cs-sidebar { position: sticky; top: calc(var(--mk-hh) + 24px); align-self: start; }
.mk-cs-sidebar a { display: block; padding: 9px 0; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-muted); border-bottom: .5px solid var(--mk-border); transition: color .2s; text-decoration: none; }
.mk-cs-sidebar a:hover { color: var(--mk-green); }
.mk-cs-back { display: block; margin-top: 20px; padding: 10px 14px; background: var(--mk-off); border-radius: 8px; font-size: .78rem; font-weight: 600; color: var(--mk-green); text-align: center; text-decoration: none; }

.mk-cs-section { margin-bottom: 56px; scroll-margin-top: calc(var(--mk-hh) + 24px); }
.mk-cs-st { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 10px; color: var(--mk-green); }
.mk-cs-section h2 { font-family: var(--mk-ff); font-size: 1.65rem; margin-bottom: 16px; }
.mk-cs-section p  { color: var(--mk-muted); line-height: 1.82; margin-bottom: 12px; }
.mk-cs-section p:last-child { margin-bottom: 0; }
.mk-cs-section ul { margin: 10px 0; }
.mk-cs-section li { color: var(--mk-muted); font-size: .92rem; padding: 8px 0; border-bottom: .5px solid var(--mk-border); display: flex; align-items: flex-start; gap: 10px; }
.mk-cs-section li::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--mk-lime); margin-top: 8px; flex-shrink: 0; }

.mk-cs-image { border-radius: 12px; overflow: hidden; margin: 40px 0; }
.mk-cs-image img { width: 100%; height: 400px; object-fit: cover; }
.mk-cs-quote { background: var(--mk-dark); padding: 44px 40px; border-radius: 12px; border-left: 3px solid var(--mk-lime); margin: 40px 0; }
.mk-cs-quote blockquote { font-family: var(--mk-ff); font-size: 1.2rem; font-style: italic; color: var(--mk-white); line-height: 1.55; margin-bottom: 14px; }
.mk-cs-quote cite { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-style: normal; }

.mk-cs-closer { background: var(--mk-dark); padding: 88px 24px; text-align: center; position: relative; overflow: hidden; }
.mk-cs-closer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(157,224,22,.08) 0%, transparent 55%); pointer-events: none; }
.mk-cs-closer .mk-wrap { position: relative; z-index: 1; }
.mk-cs-closer h2 { color: var(--mk-white); }
.mk-cs-closer h2 em { color: var(--mk-lime); font-style: italic; }
.mk-cs-closer-meta { display: flex; justify-content: center; gap: 48px; margin-top: 40px; flex-wrap: wrap; }
.mk-cc-l { font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 5px; }
.mk-cc-v { font-size: .88rem; color: rgba(255,255,255,.72); }

.mk-cs-nav { background: var(--mk-off); border-top: .5px solid var(--mk-border); padding: 48px 0; }
.mk-cs-nav .mk-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.mk-cs-nav-link { text-decoration: none; }
.mk-cs-nav-lbl  { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mk-muted); margin-bottom: 5px; }
.mk-cs-nav-title { font-family: var(--mk-ff); font-size: 1.02rem; font-weight: 700; color: var(--mk-dark); transition: color .2s; }
.mk-cs-nav-link:hover .mk-cs-nav-title { color: var(--mk-green); }

/* ================================================================
   WURD — Blog
   ================================================================ */
.mk-wurd-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px; text-decoration: none; color: inherit;
  border-bottom: .5px solid var(--mk-border);
}
.mk-wurd-featured:hover { opacity: .94; }
.mk-wf-img { position: relative; overflow: hidden; background: var(--mk-dark); }
.mk-wf-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform .8s var(--mk-ease); }
.mk-wurd-featured:hover .mk-wf-img img { transform: scale(1.04); }
.mk-wf-badge { position: absolute; top: 20px; left: 20px; background: var(--mk-lime); color: var(--mk-dark); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 980px; z-index: 2; }
.mk-wf-copy { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; background: var(--mk-white); }
.mk-wf-cat  { font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-green); display: block; margin-bottom: 14px; }
.mk-wf-copy h2 { font-family: var(--mk-ff); font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 700; color: var(--mk-dark); line-height: 1.2; margin-bottom: 16px; }
.mk-wf-copy p  { color: var(--mk-muted); font-size: .92rem; line-height: 1.78; margin-bottom: 22px; }
.mk-wf-meta    { font-size: .78rem; color: var(--mk-muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mk-wf-meta strong { color: var(--mk-dark); font-weight: 500; }
.mk-wf-read    { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: .82rem; font-weight: 500; color: var(--mk-green); }
@media (max-width: 860px) {
  .mk-wurd-featured { grid-template-columns: 1fr; }
  .mk-wf-img  { min-height: 280px; }
  .mk-wf-copy { padding: 40px 24px; }
}

.mk-wurd-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.mk-wf-btn { padding: 8px 20px; border-radius: 980px; font-size: .78rem; font-weight: 500; border: 1px solid var(--mk-border); background: var(--mk-white); color: var(--mk-muted); cursor: pointer; transition: all .2s; font-family: var(--mk-fb); }
.mk-wf-btn.active, .mk-wf-btn:hover { background: var(--mk-dark); color: var(--mk-white); border-color: var(--mk-dark); }

.mk-wurd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mk-wu-card { border-radius: var(--mk-r); overflow: hidden; background: var(--mk-white); border: .5px solid var(--mk-border); text-decoration: none; color: inherit; display: block; transition: transform .25s var(--mk-ease), box-shadow .25s var(--mk-ease); }
.mk-wu-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.1); }
.mk-wu-img { height: 200px; overflow: hidden; background: var(--mk-dark); }
.mk-wu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mk-ease); }
.mk-wu-card:hover .mk-wu-img img { transform: scale(1.05); }
.mk-wu-body { padding: 22px 20px; }
.mk-wu-cat  { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-green); display: block; margin-bottom: 8px; }
.mk-wu-body h3 { font-family: var(--mk-ff); font-size: .98rem; font-weight: 700; color: var(--mk-dark); line-height: 1.35; margin-bottom: 9px; }
.mk-wu-body p  { color: var(--mk-muted); font-size: .8rem; line-height: 1.65; }
.mk-wu-meta    { font-size: .72rem; color: var(--mk-muted); margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mk-wu-meta strong { color: var(--mk-mid); font-weight: 500; }
@media (max-width: 860px) { .mk-wurd-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .mk-wurd-grid { grid-template-columns: 1fr; } }

/* SINGLE WURD */
.mk-wurd-art-hero { background: var(--mk-dark); padding: 80px 24px 56px; }
.mk-wurd-art-body { max-width: 740px; margin: 0 auto; padding: 64px 24px 80px; }
.mk-wurd-art-body h2 { font-family: var(--mk-ff); font-size: 1.7rem; margin: 40px 0 14px; }
.mk-wurd-art-body h3 { font-family: var(--mk-ff); font-size: 1.25rem; margin: 32px 0 10px; }
.mk-wurd-art-body p  { color: var(--mk-muted); margin-bottom: 18px; font-size: 1rem; line-height: 1.86; }
.mk-wurd-art-body blockquote { border-left: 3px solid var(--mk-lime); padding: 14px 22px; background: var(--mk-off); margin: 28px 0; font-family: var(--mk-ff); font-style: italic; color: var(--mk-dark); border-radius: 0 8px 8px 0; }

/* ================================================================
   ABOUT, SERVICES, APPROACH, CONTACT
   ================================================================ */
.mk-val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mk-val-card { padding: 36px 28px; border: .5px solid var(--mk-border); border-radius: var(--mk-r); }
.mk-val-card h4 { font-family: var(--mk-fb); font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.mk-val-card p  { color: var(--mk-muted); font-size: .86rem; }
@media (max-width: 640px) { .mk-val-grid { grid-template-columns: 1fr; } }

.mk-svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; border-bottom: .5px solid var(--mk-border); }
.mk-svc-detail:last-child { border-bottom: none; }
.mk-svc-detail img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--mk-r); }
.mk-svc-detail h2  { margin-bottom: 16px; }
.mk-svc-detail p   { color: var(--mk-muted); font-size: .92rem; margin-bottom: 12px; }
.mk-svc-detail ul  { margin: 14px 0; }
.mk-svc-detail li  { color: var(--mk-muted); font-size: .88rem; padding: 8px 0; border-bottom: .5px solid var(--mk-border); display: flex; align-items: center; gap: 9px; }
.mk-svc-detail li::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--mk-lime); flex-shrink: 0; }
@media (max-width: 860px) { .mk-svc-detail { grid-template-columns: 1fr; gap: 40px; } .mk-svc-detail img { height: 260px; } }

.mk-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 80px 0; }
label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-dark); margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 16px; border: .5px solid var(--mk-border);
  border-radius: 8px; font-family: var(--mk-fb); font-size: .92rem;
  color: var(--mk-dark); background: var(--mk-white); margin-bottom: 16px;
  transition: border-color .2s; -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--mk-green); box-shadow: 0 0 0 3px rgba(0,168,89,.1); }
textarea { min-height: 120px; resize: vertical; }
@media (max-width: 860px) { .mk-contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ================================================================
   ELEMENTOR COMPATIBILITY
   ================================================================ */
.elementor-page .site-main { padding-top: 0; }
.elementor-page #mk-header { background: rgba(255,255,255,.9) !important; }
body.elementor-page-template-canvas #mk-header,
body.elementor-page-template-canvas #mk-footer { display: block !important; }
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3 { font-family: var(--mk-ff); }
.elementor-section { position: relative; }

/* ================================================================
   SECTION UTILITY
   ================================================================ */
.mk-sec      { padding: 96px 0; }
.mk-sec-sm   { padding: 64px 0; }
.mk-sec-dark { background: var(--mk-dark); }
.mk-sec-off  { background: var(--mk-off); }
.mk-sec-white { background: var(--mk-white); }
.mk-sec-hdr  { margin-bottom: 52px; }
.mk-sec-hdr.mk-center { text-align: center; }
.mk-sec-hdr.mk-center h2 { margin: 0 auto; }

/* ================================================================
   SCREEN READER / ACCESSIBILITY
   ================================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ================================================================
   LOGO DUAL-VERSION SWAP (v1.1 fix)
   Always renders both; CSS controls which is visible
   ================================================================ */
.mk-logo .mk-logo-dark  { display: block; }
.mk-logo .mk-logo-white { display: none;  }

#mk-header.mk-dark-nav .mk-logo .mk-logo-dark  { display: none;  }
#mk-header.mk-dark-nav .mk-logo .mk-logo-white { display: block; }

/* Nav text white on dark nav — override any color */
#mk-header.mk-dark-nav .mk-nav a { color: rgba(255,255,255,.82) !important; }
#mk-header.mk-dark-nav .mk-nav a:hover,
#mk-header.mk-dark-nav .mk-nav li.mk-active a { color: var(--mk-lime) !important; }

/* Hero section — ensure no white bg bleeds into dark hero */
.mk-hero-section { margin-top: 0; padding-top: 0; }

/* Page hero dark — ensure header sits flush */
.mk-page-hero { padding-top: 88px; }
