/* ==========================================================================
   MK Portfolio — WordPress + Elementor Free design system
   ========================================================================== */

:root {
  --mk-midnight: #0b3041;
  --mk-deep-teal: #005f73;
  --mk-growth: #0a9396;
  --mk-growth-light: #94d2bd;
  --mk-sky: #98c1d9;
  --mk-slate: #3d5a80;
  --mk-coral: #ee6c4d;
  --mk-coral-bright: #ff6b4a;
  --mk-sand: #f7f5f2;
  --mk-ink: #0f1c24;
  --mk-white: #ffffff;
  --mk-muted: rgba(15, 28, 36, 0.65);
  --mk-radius: 1rem;
  --mk-radius-lg: 1.5rem;
  --mk-shadow: 0 20px 50px rgba(11, 48, 65, 0.12);
  --mk-shadow-lg: 0 30px 60px rgba(11, 48, 65, 0.18);
  --mk-container: 1280px;
  --mk-header-h: 80px;
  --font-primary: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--mk-ink);
  background: var(--mk-sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-primary);
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: rgba(10, 147, 150, 0.3);
  color: var(--mk-midnight);
}

.mk-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mk-coral);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.mk-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* -------------------------------------------------------------------------- */
/* Utilities                                                                  */
/* -------------------------------------------------------------------------- */

.mk-container {
  width: min(100% - 2.5rem, var(--mk-container));
  margin-inline: auto;
}

.mk-section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .mk-section {
    padding: 7rem 0;
  }
}

.mk-section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.mk-section-head--light .heading-display {
  color: #fff;
}

.label-eyebrow {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mk-growth);
  margin-bottom: 1rem;
}

.label-eyebrow--light {
  color: var(--mk-growth-light);
}

.heading-display {
  font-family: var(--font-primary);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--mk-midnight);
  font-size: clamp(2rem, 5vw, 3.75rem);
}

.heading-display--light {
  color: #fff;
}

.heading-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--mk-deep-teal);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  margin-top: 1rem;
}

.mk-section-lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin-top: 1rem;
}

.mk-section-lead--dark {
  color: var(--mk-muted);
}

.mk-rule {
  display: block;
  width: 8rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--mk-growth);
  margin: 1.25rem auto 0;
}

.card-lift {
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--mk-shadow-lg);
}

.mk-text-link {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mk-deep-teal);
  transition: color 0.2s ease, gap 0.2s ease;
}
.mk-text-link:hover {
  color: var(--mk-growth);
}
.mk-text-link--coral {
  color: var(--mk-coral);
}

.mk-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 147, 150, 0.15);
  color: var(--mk-growth);
}
.mk-pill--glass {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
}

.mk-label-mini {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* Buttons */
.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  border-radius: 1rem;
  padding: 1rem 1.75rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mk-btn:hover {
  transform: translateY(-2px);
}
.mk-btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  border-radius: 999px;
}
.mk-btn--lg {
  padding: 1.15rem 1.75rem;
  font-size: 0.9375rem;
}
.mk-btn--block {
  width: 100%;
}
.mk-btn--coral {
  background: var(--mk-coral);
  color: #fff;
  box-shadow: 0 12px 30px rgba(238, 108, 77, 0.35);
}
.mk-btn--coral:hover {
  background: var(--mk-coral-bright);
}
.mk-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.mk-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.14);
}
.mk-btn--midnight {
  background: var(--mk-midnight);
  color: #fff;
  box-shadow: var(--mk-shadow);
}
.mk-btn--midnight:hover {
  background: #082533;
}
.mk-btn--white {
  background: #fff;
  color: var(--mk-coral);
  border: 4px solid #fff;
  font-weight: 900;
}
.mk-btn--white:hover {
  background: var(--mk-sand);
  color: #d65a3d;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.mk-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.mk-header.is-scrolled {
  background: rgba(11, 48, 65, 0.95);
  backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(11, 48, 65, 0.25);
}

.mk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mk-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.mk-logo__img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.mk-logo__text {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 640px) {
  .mk-logo__text {
    display: inline;
  }
}

.mk-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .mk-nav {
    display: flex;
  }
}

.mk-nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.mk-nav__link,
.mk-nav .menu-item a {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.mk-nav__link:hover,
.mk-nav__link.is-active,
.mk-nav .menu-item a:hover,
.mk-nav .current-menu-item a {
  color: var(--mk-coral-bright);
}
.mk-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.mk-nav__link:hover::after,
.mk-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mk-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}
.mk-nav-toggle__close {
  display: none;
}
.mk-nav-toggle[aria-expanded="true"] .mk-nav-toggle__open {
  display: none;
}
.mk-nav-toggle[aria-expanded="true"] .mk-nav-toggle__close {
  display: block;
}
@media (min-width: 1024px) {
  .mk-nav-toggle {
    display: none;
  }
}

.mk-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
}
.mk-mobile-nav[hidden] {
  display: none;
}
.mk-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 48, 65, 0.55);
  backdrop-filter: blur(4px);
}
.mk-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 22rem);
  height: 100%;
  background: var(--mk-midnight);
  padding: 6rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}
.mk-mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2rem;
}
.mk-mobile-nav__list a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.mk-mobile-nav__list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mk-coral-bright);
}
.mk-mobile-nav__meta {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* On non-hero pages, force solid header */
body:not(.home):not(.mk-canvas) .mk-header {
  background: rgba(11, 48, 65, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body:not(.home):not(.mk-canvas) .mk-main {
  padding-top: var(--mk-header-h);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.mk-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.mk-hero__bg {
  position: absolute;
  inset: 0;
}
.mk-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 48, 65, 0.95), rgba(0, 95, 115, 0.85), rgba(11, 48, 65, 0.9));
}
.mk-hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}
.mk-hero__glow--teal {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: 4rem;
  background: rgba(10, 147, 150, 0.3);
}
.mk-hero__glow--coral {
  width: 16rem;
  height: 16rem;
  left: -3rem;
  bottom: 4rem;
  background: rgba(238, 108, 77, 0.2);
}
.mk-hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 6rem;
}
.mk-hero__logo {
  width: clamp(6rem, 18vw, 12rem);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}
.mk-hero__title {
  font-family: var(--font-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(2.25rem, 8vw, 5.5rem);
  line-height: 1.05;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.mk-hero__title span {
  background: linear-gradient(90deg, #fff, var(--mk-growth-light), var(--mk-sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-hero__role {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--mk-growth-light);
  font-size: clamp(1.35rem, 4vw, 3rem);
  margin: 1.25rem 0 1.5rem;
}
.mk-hero__lead {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}
.mk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.mk-hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: mk-float 6s ease-in-out infinite;
}
.mk-hero__scroll:hover {
  color: #fff;
}
.mk-hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 6rem;
  background: linear-gradient(to top, var(--mk-sand), transparent);
  z-index: 2;
  pointer-events: none;
}

@keyframes mk-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* -------------------------------------------------------------------------- */
/* About                                                                      */
/* -------------------------------------------------------------------------- */

.mk-about__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .mk-about__grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.mk-about__portrait {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}
.mk-about__frame {
  position: absolute;
  inset: -1rem auto auto -1rem;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--mk-deep-teal), var(--mk-growth));
  transform: rotate(-3deg);
  box-shadow: var(--mk-shadow-lg);
}
.mk-about__photo {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--mk-shadow-lg);
}
.mk-about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}
.mk-about__badge {
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 0.85rem 1.15rem;
  box-shadow: var(--mk-shadow);
}
.mk-about__badge strong {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--mk-midnight);
}

.mk-about__intro {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 300;
  color: var(--mk-deep-teal);
  line-height: 1.45;
  margin: 1.25rem 0 1.5rem;
}
.mk-about__intro strong {
  font-weight: 700;
  color: var(--mk-midnight);
}
.mk-about__body {
  display: grid;
  gap: 1rem;
  color: var(--mk-muted);
  font-size: 1.05rem;
}
.mk-pullquote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 8px solid var(--mk-growth);
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--mk-coral);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(11, 48, 65, 0.05);
}

.mk-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .mk-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.mk-stat {
  background: #fff;
  border: 1px solid rgba(11, 48, 65, 0.05);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(11, 48, 65, 0.06);
}
.mk-stat__value {
  display: block;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--mk-growth);
}
.mk-stat__label {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 28, 36, 0.5);
}

/* -------------------------------------------------------------------------- */
/* Services                                                                   */
/* -------------------------------------------------------------------------- */

.mk-services {
  background: #fff;
}

.mk-services__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .mk-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .mk-services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mk-service-card {
  background: #fff;
  border: 4px solid rgba(11, 48, 65, 0.05);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--mk-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.mk-service-card__icon {
  width: fit-content;
  padding: 1.35rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  color: var(--mk-growth);
  background: linear-gradient(135deg, rgba(10, 147, 150, 0.2), rgba(0, 95, 115, 0.1), rgba(11, 48, 65, 0.08));
  transition: transform 0.4s ease;
}
.mk-service-card:hover .mk-service-card__icon {
  transform: scale(1.08);
}
.mk-service-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mk-midnight);
  margin-bottom: 0.85rem;
}
.mk-service-card p {
  color: var(--mk-muted);
  flex: 1;
}
.mk-service-card__bar {
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(10, 147, 150, 0.4);
  margin-top: 1.5rem;
  transition: width 0.4s ease, background 0.4s ease;
}
.mk-service-card:hover .mk-service-card__bar {
  width: 100%;
  background: var(--mk-growth);
}

/* -------------------------------------------------------------------------- */
/* Approach                                                                   */
/* -------------------------------------------------------------------------- */

.mk-approach {
  background: var(--mk-midnight);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mk-approach::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 147, 150, 0.18), transparent 65%);
  pointer-events: none;
}

.mk-approach__list {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 1200px) {
  .mk-approach__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.mk-approach__item {
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 8px solid transparent;
  border-radius: 1.25rem;
  padding: 2rem 1.25rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}
.mk-approach__item:hover {
  border-top-color: var(--mk-coral-bright);
  background: rgba(255, 255, 255, 0.1);
}
.mk-approach__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 2px solid rgba(10, 147, 150, 0.5);
  background: rgba(10, 147, 150, 0.2);
  color: var(--mk-growth-light);
  font-family: var(--font-primary);
  font-weight: 900;
  margin-bottom: 1rem;
}
.mk-approach__item h3 {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.mk-approach__item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
}
.mk-approach__arrow {
  display: none;
  position: absolute;
  top: 22%;
  right: -1.1rem;
  color: var(--mk-coral-bright);
  z-index: 2;
}
@media (min-width: 1200px) {
  .mk-approach__arrow {
    display: block;
  }
}

/* -------------------------------------------------------------------------- */
/* Projects                                                                   */
/* -------------------------------------------------------------------------- */

.mk-projects__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .mk-projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .mk-projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mk-project-card {
  border-radius: 1.5rem;
  padding: 2rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--mk-shadow-lg);
}
.mk-project-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.mk-project-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 900;
}
.mk-project-card__block {
  margin-bottom: 1.25rem;
}
.mk-project-card__result {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  border-top-color: rgba(255, 255, 255, 0.15);
}

.mk-project-card--light {
  background: linear-gradient(135deg, #f8fafc, #eef1f4);
  color: var(--mk-midnight);
}
.mk-project-card--light .mk-project-card__result {
  border-top-color: rgba(11, 48, 65, 0.1);
}
.mk-project-card--light .mk-label-mini {
  color: var(--mk-growth);
}
.mk-project-card--light p {
  color: var(--mk-muted);
}
.mk-project-card--light strong {
  color: var(--mk-midnight);
}

.mk-project-card--dark {
  background: var(--mk-midnight);
  color: #fff;
}
.mk-project-card--navy {
  background: #082533;
  color: #fff;
}
.mk-project-card--teal {
  background: var(--mk-deep-teal);
  color: #fff;
}
.mk-project-card--coral {
  background: linear-gradient(135deg, var(--mk-coral), #d65a3d);
  color: #fff;
}
.mk-project-card--dark .mk-label-mini,
.mk-project-card--navy .mk-label-mini,
.mk-project-card--teal .mk-label-mini {
  color: var(--mk-growth-light);
}
.mk-project-card--coral .mk-label-mini {
  color: rgba(255, 255, 255, 0.85);
}
.mk-project-card--dark p,
.mk-project-card--navy p,
.mk-project-card--teal p,
.mk-project-card--coral p {
  color: rgba(255, 255, 255, 0.78);
}
.mk-project-card--dark strong,
.mk-project-card--navy strong,
.mk-project-card--teal strong,
.mk-project-card--coral strong {
  color: #fff;
}
.mk-project-card--dark .mk-pill,
.mk-project-card--navy .mk-pill,
.mk-project-card--teal .mk-pill,
.mk-project-card--coral .mk-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.mk-project-card--cta {
  background: linear-gradient(135deg, var(--mk-coral), #d65a3d);
  color: #fff;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.mk-project-card--cta h3 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  max-width: 16ch;
}
.mk-project-card--cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 28ch;
}

/* -------------------------------------------------------------------------- */
/* Testimonials                                                               */
/* -------------------------------------------------------------------------- */

.mk-testimonials {
  background: #fff;
}

.mk-testimonials__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .mk-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mk-quote-card {
  background: var(--mk-sand);
  border: 1px solid rgba(11, 48, 65, 0.05);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(11, 48, 65, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mk-quote-card__icon {
  color: rgba(10, 147, 150, 0.4);
  margin-bottom: 1rem;
}
.mk-quote-card blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--mk-midnight);
  flex: 1;
}
.mk-quote-card figcaption {
  border-top: 1px solid rgba(11, 48, 65, 0.1);
  padding-top: 1.15rem;
}
.mk-quote-card__role {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mk-midnight);
}
.mk-quote-card__company {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(15, 28, 36, 0.55);
}

/* -------------------------------------------------------------------------- */
/* Insights                                                                   */
/* -------------------------------------------------------------------------- */

.mk-insights__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .mk-insights__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .mk-insights__head .mk-section-lead {
    max-width: 32rem;
  }
}

.mk-insights__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .mk-insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mk-insights__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mk-insight-card {
  background: #fff;
  border: 1px solid rgba(11, 48, 65, 0.05);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--mk-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mk-insight-card__banner {
  min-height: 8.5rem;
  padding: 1.15rem;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.mk-insight-card__banner::before,
.mk-insight-card__banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}
.mk-insight-card__banner::before {
  width: 7rem;
  height: 7rem;
  right: -1.5rem;
  top: -1.5rem;
}
.mk-insight-card__banner::after {
  width: 5rem;
  height: 5rem;
  left: 1.5rem;
  bottom: -2rem;
  background: rgba(0, 0, 0, 0.1);
}
.mk-insight-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mk-insight-card time {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mk-growth);
  margin-bottom: 0.65rem;
}
.mk-insight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mk-midnight);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.mk-insight-card p {
  color: var(--mk-muted);
  font-size: 0.925rem;
  flex: 1;
  margin-bottom: 1.15rem;
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                    */
/* -------------------------------------------------------------------------- */

.mk-contact {
  background: #fff;
}

.mk-contact__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .mk-contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.mk-contact__panel {
  position: relative;
  overflow: hidden;
  background: var(--mk-midnight);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--mk-shadow-lg);
  display: flex;
  flex-direction: column;
}
.mk-contact__panel::before,
.mk-contact__panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  pointer-events: none;
}
.mk-contact__panel::before {
  width: 14rem;
  height: 14rem;
  right: -4rem;
  top: -4rem;
  background: rgba(10, 147, 150, 0.3);
}
.mk-contact__panel::after {
  width: 12rem;
  height: 12rem;
  left: -3rem;
  bottom: -4rem;
  background: rgba(238, 108, 77, 0.22);
}
.mk-contact__panel > * {
  position: relative;
  z-index: 1;
}
.mk-contact__lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 1.25rem 0 2rem;
  font-size: 1.05rem;
}
.mk-contact__details {
  display: grid;
  gap: 1.15rem;
}
.mk-contact__details li {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.mk-contact__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mk-growth-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mk-contact__details a,
.mk-contact__details span:last-child {
  font-size: 1.05rem;
  font-weight: 500;
}
.mk-contact__details a:hover {
  color: var(--mk-growth-light);
}
.mk-contact__tagline {
  margin-top: auto;
  padding-top: 2.5rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
}

.mk-contact__form-wrap {
  background: var(--mk-sand);
  border: 1px solid rgba(11, 48, 65, 0.05);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--mk-shadow);
  position: relative;
  min-height: 100%;
}
@media (min-width: 768px) {
  .mk-contact__form-wrap {
    padding: 2.5rem;
  }
}

.mk-form__intro h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--mk-midnight);
  margin-bottom: 0.35rem;
}
.mk-form__intro p {
  color: var(--mk-muted);
  margin-bottom: 1.5rem;
}
.mk-form__row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .mk-form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.mk-field {
  display: block;
  margin-bottom: 1rem;
}
.mk-field span {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 28, 36, 0.5);
  margin-bottom: 0.45rem;
}
.mk-field input,
.mk-field select,
.mk-field textarea {
  width: 100%;
  border: 1px solid rgba(11, 48, 65, 0.1);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--mk-ink);
  box-shadow: 0 1px 2px rgba(11, 48, 65, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mk-field input:focus,
.mk-field select:focus,
.mk-field textarea:focus {
  outline: none;
  border-color: var(--mk-growth);
  box-shadow: 0 0 0 3px rgba(10, 147, 150, 0.22);
}
.mk-form__status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.925rem;
}
.mk-form__status.is-error {
  background: #fde8e8;
  color: #9b1c1c;
}
.mk-form__status.is-success {
  background: #def7ec;
  color: #03543f;
}

.mk-form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.mk-form-success[hidden],
.mk-form[hidden] {
  display: none;
}
.mk-form-success__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: rgba(10, 147, 150, 0.15);
  color: var(--mk-growth);
  display: grid;
  place-items: center;
}
.mk-form-success h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--mk-midnight);
  margin-bottom: 0.5rem;
}
.mk-form-success p {
  color: var(--mk-muted);
  margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.mk-footer {
  background: var(--mk-ink);
  color: #fff;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.mk-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(10, 147, 150, 0.15), transparent 55%);
  pointer-events: none;
}
.mk-footer .mk-container {
  position: relative;
  z-index: 1;
}
.mk-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .mk-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.mk-footer__logo {
  width: 4rem;
  height: auto;
  margin-bottom: 1.25rem;
}
.mk-footer__name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.mk-footer__tagline {
  color: #9ca3af;
  max-width: 28rem;
  font-weight: 300;
}
.mk-footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.mk-social {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-primary);
  font-weight: 700;
  transition: all 0.2s ease;
}
.mk-social:hover {
  border-color: var(--mk-growth);
  background: rgba(10, 147, 150, 0.2);
  color: #fff;
}
.mk-footer__heading {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.mk-footer__heading--green {
  color: var(--mk-growth);
}
.mk-footer__heading--coral {
  color: var(--mk-coral);
}
.mk-footer__links {
  display: grid;
  gap: 0.7rem;
}
.mk-footer__links a,
.mk-footer__links li {
  color: #d1d5db;
}
.mk-footer__links a:hover {
  color: #fff;
}
.mk-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.75rem;
  color: #6b7280;
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .mk-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Blog / single / generic                                                    */
/* -------------------------------------------------------------------------- */

.mk-post-list {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .mk-post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mk-post-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--mk-shadow);
}
.mk-post-body {
  padding: 1.5rem;
}
.mk-post-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.mk-post-title a:hover {
  color: var(--mk-deep-teal);
}
.mk-post-excerpt {
  color: var(--mk-muted);
  margin-bottom: 1rem;
}

.mk-page-title {
  margin-bottom: 1.5rem;
}
.entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--mk-ink);
}
.entry-content > * + * {
  margin-top: 1rem;
}
.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
  color: var(--mk-midnight);
}

.mk-single-hero {
  background: var(--mk-midnight);
  color: #fff;
  padding: 4rem 0 3rem;
}
.mk-single-hero .heading-display {
  color: #fff;
  margin-top: 0.75rem;
}
.mk-single-cats a {
  color: var(--mk-growth-light);
}
.mk-single-thumb {
  margin-top: -2rem;
  margin-bottom: 1rem;
}
.mk-single-thumb img {
  border-radius: 1.25rem;
  box-shadow: var(--mk-shadow-lg);
  width: 100%;
}

/* Elementor overrides */
.mk-elementor-fullwidth .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--mk-container);
}
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-primary);
}
.elementor-kit-mk body {
  font-family: var(--font-body);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card-lift,
  .mk-btn,
  .mk-hero__scroll {
    transition: none !important;
    animation: none !important;
  }
}
