/*
Theme Name: Mireia Mas Studio
Theme URI: https://www.mireiamas.com/
Author: Codex
Description: Tema personalizado para Mireia Mas Decoración: interiorismo residencial, retail y decoración infantil.
Version: 1.1.26
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: mireia-mas
*/

:root {
  --paper: #f7f4ef;
  --surface: #fffdf9;
  --mist: #e7e1d8;
  --sage: #7d8776;
  --olive: #4f5a4e;
  --clay: #b88972;
  --ink: #2c2925;
  --muted: #776f66;
  --line: rgba(44, 41, 37, .14);
  --shadow: 0 24px 60px rgba(38, 34, 28, .13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

p {
  margin: 0 0 1rem;
}

.mm-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 239, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.mm-header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.mm-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.mm-logo img {
  width: auto;
  max-width: min(34vw, 440px);
  height: clamp(58px, 5vw, 82px);
  object-fit: contain;
}

.mm-menu-toggle {
  display: none;
}

.mm-menu-open,
.mm-menu-open body {
  overflow: hidden;
}

.mm-site-header .customize-partial-edit-shortcut {
  display: none !important;
}

.mm-site-header .customize-partial-edit-shortcut-button {
  display: none !important;
}

.mm-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: .84rem;
  text-transform: uppercase;
}

.mm-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-nav li {
  margin: 0;
}

.mm-nav a {
  position: relative;
  padding: 8px 0;
}

.mm-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transition: right .22s ease;
}

.mm-nav a:hover::after,
.mm-nav .current-menu-item a::after {
  right: 0;
}

.mm-button,
.mm-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: .82rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.mm-button:hover,
.mm-form button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--ink);
}

.mm-button.secondary {
  background: transparent;
  color: var(--ink);
}

.mm-button.secondary:hover {
  background: var(--ink);
  color: var(--surface);
}

.mm-main {
  min-height: 68vh;
}

.mm-section {
  padding: clamp(56px, 8vw, 116px) 0;
}

.mm-section.compact {
  padding: clamp(42px, 6vw, 76px) 0;
}

.mm-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.mm-eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mm-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: .9;
}

.mm-heading {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.mm-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.mm-hero {
  min-height: calc(88svh - 78px);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(32, 31, 28, .72), rgba(32, 31, 28, .22) 52%, rgba(32, 31, 28, .08)),
    var(--hero-image) center / cover no-repeat;
  color: var(--surface);
}

.mm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 18%, rgba(255, 253, 249, .22), transparent 28%);
  pointer-events: none;
}

.mm-hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 132px) 0 clamp(46px, 7vw, 82px);
}

.mm-hero-copy .mm-eyebrow,
.mm-hero-copy .mm-lead {
  color: rgba(255, 253, 249, .86);
}

.mm-hero-copy .mm-lead {
  margin-top: 22px;
  max-width: 650px;
}

.mm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mm-hero .mm-button {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.mm-hero .mm-button:hover {
  background: transparent;
  color: var(--surface);
}

.mm-hero .mm-button.secondary {
  background: transparent;
  color: var(--surface);
}

.mm-hero .mm-button.secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.mm-hero-note {
  margin-top: clamp(34px, 6vw, 76px);
  display: flex;
  flex-wrap: nowrap;
  gap: 1px;
  max-width: 780px;
  border: 1px solid rgba(255, 253, 249, .28);
  background: rgba(255, 253, 249, .24);
}

.mm-hero-note > * {
  padding: 14px 16px;
  background: rgba(32, 31, 28, .24);
  color: rgba(255, 253, 249, .9);
  font-size: .88rem;
  flex: 1 1 0;
  min-width: 0;
  grid-column: auto !important;
  grid-row: auto !important;
  transform: none !important;
  translate: 0 0 !important;
}

.mm-hero-note p {
  margin: 0;
}

.mm-intro-grid,
.mm-contact-grid,
.mm-project-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.mm-wrap.mm-intro-grid,
.mm-wrap.mm-intro-grid.mm-infantil-split {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  row-gap: clamp(36px, 6vw, 76px) !important;
  column-gap: clamp(28px, 7vw, 86px) !important;
  align-items: start !important;
}

.mm-wrap.mm-intro-grid > img,
.mm-wrap.mm-intro-grid.mm-infantil-split > img {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.mm-wrap.mm-intro-grid > img + div,
.mm-wrap.mm-intro-grid.mm-infantil-split > img + div {
  grid-column: 7 / -1 !important;
  justify-self: end !important;
  max-width: 620px !important;
}

.mm-wrap.mm-intro-grid > img + div .mm-heading,
.mm-wrap.mm-intro-grid.mm-infantil-split > img + div .mm-heading {
  max-width: 620px !important;
}

body .mm-main .mm-wrap.mm-infantil-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(34px, 6vw, 84px) !important;
  align-items: center !important;
}

body .mm-main .mm-wrap.mm-infantil-split > img,
body .mm-main .mm-wrap.mm-infantil-split > picture,
body .mm-main .mm-wrap.mm-infantil-split > figure {
  grid-column: 1 / 2 !important;
  width: 100% !important;
  min-height: clamp(440px, 42vw, 620px) !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
}

body .mm-main .mm-wrap.mm-infantil-split > img + div,
body .mm-main .mm-wrap.mm-infantil-split > picture + div,
body .mm-main .mm-wrap.mm-infantil-split > figure + div {
  grid-column: 2 / 3 !important;
  max-width: 620px !important;
  justify-self: end !important;
}

body .mm-main .mm-wrap.mm-infantil-split .mm-heading {
  max-width: 620px !important;
  white-space: normal !important;
}

.mm-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mm-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mm-content-grid {
  margin-top: clamp(28px, 4vw, 42px);
}

.mm-service {
  min-height: 310px;
  padding: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .24s ease, box-shadow .24s ease;
  will-change: transform;
}

.mm-service h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.1;
}

.mm-service p {
  color: var(--muted);
}

.mm-service a {
  margin-top: auto;
  color: var(--olive);
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .mm-service-grid {
    overflow: visible;
  }

  .mm-service:hover {
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}

.mm-value {
  min-height: 190px;
  padding: 28px;
  background: var(--surface);
}

.mm-value strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.mm-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mm-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.mm-editorial-image {
  position: relative;
}

.mm-editorial-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.mm-editorial-caption {
  width: min(320px, 86%);
  margin: -56px 0 0 auto;
  position: relative;
  padding: 22px;
  background: var(--olive);
  color: var(--surface);
  border-radius: 6px;
}

.mm-editorial-caption p {
  margin: 0;
}

.mm-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.mm-step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.mm-step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.mm-step h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.mm-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mm-faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.mm-faq summary {
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.mm-faq p {
  margin-top: 14px;
  color: var(--muted);
}

.mm-project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}

.mm-project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mm-project-card img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
}

.mm-project-card-body {
  padding: 22px;
}

.mm-project-card small,
.mm-meta {
  display: block;
  color: var(--clay);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mm-project-card h3 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.12;
}

.mm-project-card p {
  color: var(--muted);
  font-size: .96rem;
}

.mm-blog-intro {
  background: linear-gradient(180deg, rgba(255, 253, 249, .58), rgba(247, 244, 239, 0));
}

.mm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mm-blog-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mm-blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}

.mm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mm-blog-card a {
  display: grid;
  height: 100%;
}

.mm-blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mm-blog-card-body {
  padding: 24px;
}

.mm-blog-card h2 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.08;
}

.mm-blog-card p {
  color: var(--muted);
}

.mm-blog-card span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--olive);
  font-weight: 700;
}

.mm-blog-card.is-featured {
  grid-column: span 2;
}

.mm-blog-card.is-featured a {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

.mm-blog-card.is-featured img {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
}

.mm-post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: end;
}

.mm-post-image {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 6px;
}

.mm-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 320px);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.mm-post-content {
  font-size: 1.04rem;
  line-height: 1.82;
}

.mm-post-content h2,
.mm-post-content h3 {
  margin: 2.2rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}

.mm-post-content h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.mm-post-content h3 {
  font-size: 1.55rem;
}

.mm-post-content p {
  color: var(--ink);
}

.mm-post-content a {
  color: var(--olive);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm-post-aside {
  position: sticky;
  top: 124px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mm-post-aside h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.12;
}

.mm-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.mm-pagination {
  margin-top: 34px;
}

.mm-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mm-pagination a,
.mm-pagination span {
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
}

.mm-pagination .current {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.mm-empty-state {
  max-width: 700px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mm-band {
  background: var(--olive);
  color: var(--surface);
}

.mm-band .mm-eyebrow,
.mm-band .mm-lead {
  color: rgba(255, 253, 249, .78);
}

.mm-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.mm-cta .mm-heading {
  max-width: 740px;
}

.mm-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mm-gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 6px;
}

.mm-gallery img:nth-child(1) {
  grid-row: span 2;
}

.mm-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 42px);
}

.mm-form label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
}

.mm-form label span {
  color: var(--clay);
}

.mm-form input,
.mm-form textarea,
.mm-form select {
  width: 100%;
  margin: 0 0 16px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.mm-form textarea {
  min-height: 130px;
  resize: vertical;
}

.mm-note {
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: rgba(125, 135, 118, .16);
  color: var(--olive);
}

.mm-note.error {
  background: rgba(184, 137, 114, .2);
  color: #7c3f2f;
}

.mm-site-footer {
  background: #201f1c;
  color: rgba(255, 253, 249, .78);
  padding: 48px 0;
}

.mm-footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.mm-footer-grid a {
  color: var(--surface);
}

.mm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .86rem;
}

.mm-footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 195, 164, .18);
  color: rgba(255, 253, 249, .72);
  text-align: center;
  font-size: .98rem;
}

.mm-footer-bottom p {
  margin-bottom: 10px;
}

.mm-footer-bottom a {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm-legal-copy h2 {
  margin-top: 34px;
}

.screen-reader-text,
.mm-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 920px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 253, 249, .88), rgba(247, 244, 239, 1) 380px),
      var(--paper);
  }

  .mm-section {
    padding: 64px 0;
  }

  .mm-section.compact {
    padding: 46px 0;
  }

  .mm-wrap,
  .mm-header-inner,
  .mm-hero-copy,
  .mm-footer-grid,
  .mm-footer-bottom {
    width: min(100% - 36px, 680px);
  }

  .mm-header-inner {
    min-height: 72px;
    padding: 8px 0;
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .mm-site-header {
    position: sticky;
    background: rgba(255, 253, 249, .94);
    border-bottom: 1px solid rgba(44, 41, 37, .1);
    box-shadow: 0 10px 34px rgba(38, 34, 28, .08);
  }

  body.home .mm-site-header,
  body.front-page .mm-site-header {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(32, 31, 28, .52), rgba(32, 31, 28, .12) 66%, rgba(32, 31, 28, 0));
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.home .mm-site-header.is-open,
  body.front-page .mm-site-header.is-open {
    background: rgba(255, 253, 249, .97);
    box-shadow: 0 18px 52px rgba(38, 34, 28, .16);
  }

  .mm-logo {
    width: auto;
    max-width: calc(100% - 72px);
    justify-content: center;
    position: relative;
    z-index: 22;
  }

  .mm-logo img {
    width: auto;
    max-width: min(62vw, 270px);
    height: clamp(42px, 8vw, 58px);
    max-height: none;
  }

  body.home .mm-logo img,
  body.front-page .mm-logo img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, .22));
  }

  body.home .mm-site-header.is-open .mm-logo img,
  body.front-page .mm-site-header.is-open .mm-logo img {
    filter: none;
  }

  .mm-menu-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 23;
    display: inline-flex;
    width: 44px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-50%);
    cursor: pointer;
    appearance: none;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mm-menu-toggle span {
    width: 26px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform .22s ease, opacity .22s ease, background-color .22s ease;
  }

  .mm-menu-toggle:focus,
  .mm-menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
  }

  .mm-menu-toggle:focus-visible {
    outline: 1px solid rgba(44, 41, 37, .28) !important;
    outline-offset: 5px;
  }

  body.home .mm-menu-toggle span,
  body.front-page .mm-menu-toggle span {
    background: var(--surface);
  }

  body.home .mm-site-header.is-open .mm-menu-toggle span,
  body.front-page .mm-site-header.is-open .mm-menu-toggle span {
    background: var(--ink);
  }

  .mm-site-header.is-open .mm-menu-toggle span:first-child {
    transform: translateY(7.5px) rotate(45deg);
  }

  .mm-site-header.is-open .mm-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .mm-site-header.is-open .mm-menu-toggle span:last-child {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .mm-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 21;
    display: none;
    width: 100vw;
    min-height: 100svh;
    padding: 116px 26px 38px;
    border: 0;
    border-radius: 0;
    background: rgba(248, 246, 240, .98);
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    box-shadow: 0 24px 70px rgba(38, 34, 28, .12);
    backdrop-filter: blur(20px);
  }

  .mm-nav ul {
    width: min(100%, 300px);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .mm-nav li {
    border-bottom: 1px solid rgba(44, 41, 37, .13);
  }

  .mm-nav li:first-child {
    border-top: 1px solid rgba(44, 41, 37, .13);
  }

  .mm-nav a {
    display: flex;
    min-height: 58px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    align-items: center;
    justify-content: flex-start;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-align: left;
  }

  .mm-nav a::after {
    display: none;
  }

  .mm-site-header.is-open .mm-nav {
    display: flex;
  }

  .mm-title {
    font-size: 4.2rem;
    line-height: .88;
  }

  .mm-heading {
    font-size: 2.62rem;
    line-height: 1;
  }

  .mm-lead {
    font-size: 1.04rem;
  }

  .mm-hero {
    min-height: 88svh;
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(32, 31, 28, .08) 0%, rgba(32, 31, 28, .18) 42%, rgba(32, 31, 28, .78) 100%),
      var(--hero-image) center / cover no-repeat;
  }

  .mm-hero::after {
    background: linear-gradient(180deg, transparent 58%, rgba(255, 253, 249, .08));
  }

  .mm-hero-copy {
    padding: clamp(152px, 28vh, 230px) 0 36px;
  }

  .mm-hero-copy .mm-lead {
    max-width: 560px;
    margin-top: 18px;
  }

  .mm-hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .mm-hero .mm-button {
    flex: 1 1 210px;
  }

  .mm-hero-note {
    max-width: none;
    margin-top: 28px;
    flex-direction: column;
    border: 0;
    background: transparent;
    gap: 8px;
  }

  .mm-hero-note > * {
    padding: 11px 14px;
    border: 1px solid rgba(255, 253, 249, .26);
    border-radius: 999px;
    background: rgba(255, 253, 249, .14);
    backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 700;
    flex-basis: auto;
  }

  .mm-intro-grid,
  .mm-contact-grid,
  .mm-project-hero,
  .mm-editorial-grid {
    grid-template-columns: 1fr;
  }

  .mm-wrap.mm-intro-grid,
  .mm-wrap.mm-intro-grid.mm-infantil-split {
    grid-template-columns: 1fr !important;
  }

  .mm-wrap.mm-intro-grid > img,
  .mm-wrap.mm-intro-grid > img + div,
  .mm-wrap.mm-intro-grid.mm-infantil-split > img,
  .mm-wrap.mm-intro-grid.mm-infantil-split > img + div {
    grid-column: auto !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split {
    grid-template-columns: 1fr !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture,
  body .mm-main .mm-wrap.mm-infantil-split > figure,
  body .mm-main .mm-wrap.mm-infantil-split > img + div,
  body .mm-main .mm-wrap.mm-infantil-split > picture + div,
  body .mm-main .mm-wrap.mm-infantil-split > figure + div {
    grid-column: auto !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture,
  body .mm-main .mm-wrap.mm-infantil-split > figure {
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  .mm-hero-note,
  .mm-service-grid,
  .mm-process,
  .mm-faq {
    grid-template-columns: 1fr;
  }

  .mm-service-grid,
  .mm-values {
    gap: 12px;
    border: 0;
    background: transparent;
  }

  .mm-service,
  .mm-value,
  .mm-faq details {
    min-height: auto;
    border: 1px solid rgba(44, 41, 37, .11);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(38, 34, 28, .08);
  }

  .mm-service {
    padding: 22px;
  }

  .mm-service h3 {
    font-size: 1.42rem;
  }

  .mm-values,
  .mm-project-grid,
  .mm-gallery,
  .mm-blog-grid,
  .mm-blog-grid.compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mm-editorial-image img,
  .mm-project-card,
  .mm-blog-card,
  .mm-gallery img {
    border-radius: 8px;
  }

  .mm-editorial-image img {
    aspect-ratio: 4 / 3;
    max-height: 520px;
  }

  .mm-editorial-caption {
    width: 100%;
    margin: 10px 0 0;
    border-radius: 8px;
    padding: 18px;
  }

  .mm-project-card {
    box-shadow: 0 18px 44px rgba(38, 34, 28, .08);
  }

  .mm-blog-card {
    box-shadow: 0 18px 44px rgba(38, 34, 28, .08);
  }

  .mm-blog-card.is-featured {
    grid-column: auto;
  }

  .mm-blog-card.is-featured a {
    grid-template-columns: 1fr;
  }

  .mm-blog-card.is-featured img,
  .mm-blog-card img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .mm-project-card-body {
    padding: 20px;
  }

  .mm-blog-card-body {
    padding: 20px;
  }

  .mm-post-hero,
  .mm-post-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mm-post-image {
    max-height: 430px;
  }

  .mm-post-aside {
    position: static;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(38, 34, 28, .08);
  }

  .mm-gallery img {
    min-height: 260px;
    max-height: 430px;
    object-fit: cover;
  }

  .mm-cta,
  .mm-footer-grid {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .mm-cta {
    gap: 18px;
  }

  .mm-band {
    border-radius: 0;
  }

  .mm-contact-grid {
    gap: 28px;
  }

  .mm-form {
    border-radius: 8px;
    box-shadow: 0 20px 52px rgba(38, 34, 28, .1);
  }

  .mm-site-footer {
    padding: 46px 0 38px;
  }

  .mm-footer-links {
    gap: 10px;
  }

  .mm-footer-links a {
    padding: 7px 10px;
    border: 1px solid rgba(255, 253, 249, .18);
    border-radius: 999px;
  }
}

@media (max-width: 560px) {
  .mm-title {
    font-size: 2.9rem;
    line-height: .92;
  }

  .mm-button {
    width: 100%;
  }

  .mm-site-header {
    position: sticky;
  }

  .mm-header-inner {
    min-height: 64px;
    padding: 8px 0;
  }

  .mm-header-inner,
  .mm-wrap,
  .mm-hero-copy,
  .mm-footer-grid,
  .mm-footer-bottom {
    width: calc(100% - 28px);
  }

  .mm-logo {
    max-width: calc(100% - 58px);
  }

  .mm-logo img {
    max-width: min(62vw, 230px);
    height: clamp(38px, 13vw, 50px);
  }

  .mm-menu-toggle {
    width: 40px;
    height: 36px;
  }

  .mm-menu-toggle span {
    width: 24px;
  }

  .mm-nav {
    padding: 102px 22px 34px;
  }

  .mm-nav a {
    min-height: 54px;
    font-size: .86rem;
  }

  .mm-section {
    padding: 54px 0;
  }

  .mm-section.compact {
    padding: 40px 0;
  }

  .mm-heading {
    font-size: 2.18rem;
    overflow-wrap: break-word;
  }

  .mm-eyebrow {
    margin-bottom: 10px;
    font-size: .68rem;
  }

  .mm-hero {
    min-height: 89svh;
    background-position: center;
  }

  body.home .mm-hero,
  body.front-page .mm-hero {
    padding-top: 0;
  }

  .mm-hero-copy {
    padding: clamp(156px, 30vh, 210px) 0 30px;
  }

  .mm-hero-copy .mm-lead {
    font-size: .98rem;
  }

  .mm-hero-actions {
    flex-direction: column;
  }

  .mm-hero .mm-button {
    flex-basis: auto;
  }

  .mm-service,
  .mm-value,
  .mm-project-card-body,
  .mm-faq details,
  .mm-form {
    padding: 18px;
  }

  .mm-project-card img {
    aspect-ratio: 4 / 3.15;
  }

  .mm-gallery img {
    min-height: 0;
    max-height: 320px;
  }

  .mm-editorial-image img {
    max-height: 340px;
  }

  .mm-project-hero {
    gap: 22px;
  }

  .mm-footer-bottom {
    text-align: left;
  }
}

@media (max-width: 920px) {
  body {
    background: var(--paper);
    font-size: 16px;
  }

  .mm-main {
    overflow: hidden;
  }

  .mm-section {
    padding: 58px 0;
  }

  .mm-section.compact {
    padding: 46px 0;
  }

  .mm-wrap,
  .mm-header-inner,
  .mm-hero-copy,
  .mm-footer-grid,
  .mm-footer-bottom {
    width: min(100% - 30px, 640px);
  }

  .mm-eyebrow,
  .mm-meta,
  .mm-project-card small {
    letter-spacing: 0;
  }

  .mm-eyebrow {
    margin-bottom: 12px;
    font-size: .72rem;
  }

  .mm-heading {
    max-width: 12ch;
    margin-bottom: 20px;
    font-size: 2.72rem;
    line-height: .98;
  }

  .mm-title {
    font-size: 3.35rem;
    line-height: .9;
  }

  .mm-lead {
    max-width: 34rem;
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .mm-project-hero {
    display: block;
  }

  .mm-project-hero > div:first-child {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(44, 41, 37, .14);
  }

  .mm-project-hero > div + div {
    margin-top: 22px;
  }

  .mm-project-hero .mm-heading {
    max-width: 9.5ch;
  }

  .mm-wrap.mm-infantil-split,
  body .mm-main .mm-wrap.mm-infantil-split {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: min(100% - 30px, 640px) !important;
  }

  .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture,
  body .mm-main .mm-wrap.mm-infantil-split > figure {
    grid-column: auto !important;
    width: 100vw !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-left: calc(50% - 50vw) !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    box-shadow: none !important;
  }

  .mm-wrap.mm-infantil-split > img + div,
  body .mm-main .mm-wrap.mm-infantil-split > img + div,
  body .mm-main .mm-wrap.mm-infantil-split > picture + div,
  body .mm-main .mm-wrap.mm-infantil-split > figure + div {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 34rem !important;
    margin: 28px auto 0 !important;
    justify-self: center !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split .mm-heading {
    max-width: 9ch !important;
    font-size: 2.82rem;
    line-height: .98;
    white-space: normal !important;
  }

  .mm-editorial-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .mm-editorial-image {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
  }

  .mm-editorial-image img {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
  }

  .mm-editorial-caption {
    width: min(100% - 30px, 560px);
    margin: -30px auto 0;
    border-radius: 0;
    padding: 20px;
  }

  .mm-project-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mm-project-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .mm-project-card:hover {
    transform: none;
    box-shadow: none;
  }

  .mm-project-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    object-fit: cover;
  }

  .mm-project-card-body {
    padding: 18px 0 28px;
    border-bottom: 1px solid rgba(44, 41, 37, .14);
  }

  .mm-project-card h3 {
    max-width: 12ch;
    font-size: 1.74rem;
  }

  .mm-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mm-gallery img {
    width: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    object-fit: cover;
  }

  .mm-gallery img:nth-child(even) {
    width: 82%;
    margin-left: auto;
    aspect-ratio: 1 / 1;
  }

  .mm-service-grid,
  .mm-values,
  .mm-process,
  .mm-faq {
    gap: 0;
    border: 0;
    background: transparent;
  }

  .mm-service,
  .mm-value,
  .mm-step,
  .mm-faq details {
    min-height: auto;
    padding: 24px 0;
    border: 0;
    border-top: 1px solid rgba(44, 41, 37, .14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mm-service h3,
  .mm-value strong,
  .mm-step h3,
  .mm-faq summary {
    font-size: 1.5rem;
    line-height: 1.08;
  }

  .mm-service p,
  .mm-value p,
  .mm-step p,
  .mm-faq p,
  .mm-project-card p {
    color: var(--muted);
    line-height: 1.62;
  }

  .mm-contact-grid {
    gap: 34px;
  }

  .mm-form {
    border: 1px solid rgba(44, 41, 37, .12);
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .mm-section {
    padding: 50px 0;
  }

  .mm-section.compact {
    padding: 38px 0;
  }

  .mm-wrap,
  .mm-header-inner,
  .mm-hero-copy,
  .mm-footer-grid,
  .mm-footer-bottom,
  .mm-wrap.mm-infantil-split,
  body .mm-main .mm-wrap.mm-infantil-split {
    width: calc(100% - 28px) !important;
  }

  .mm-title {
    font-size: 3.05rem;
  }

  .mm-heading {
    font-size: 2.35rem;
  }

  body .mm-main .mm-wrap.mm-infantil-split .mm-heading {
    font-size: 2.45rem;
  }

  .mm-lead {
    font-size: 1rem;
  }

  .mm-button {
    width: fit-content;
    max-width: 100%;
  }

  .mm-hero-actions .mm-button,
  .mm-form button {
    width: 100%;
  }

  .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture,
  body .mm-main .mm-wrap.mm-infantil-split > figure,
  .mm-editorial-image img,
  .mm-project-card img,
  .mm-gallery img {
    aspect-ratio: 3 / 4 !important;
  }

  .mm-gallery img:nth-child(even) {
    width: 86%;
    aspect-ratio: 1 / 1 !important;
  }

  .mm-project-card h3 {
    font-size: 1.58rem;
  }
}

@media (max-width: 920px) {
  body .mm-main {
    background: var(--paper) !important;
  }

  body .mm-main .mm-section,
  body .mm-main .mm-section.compact {
    padding: 46px 0 !important;
  }

  body .mm-main .mm-wrap,
  body .mm-main .mm-project-hero,
  body .mm-main .mm-editorial-grid,
  body .mm-main .mm-project-grid,
  body .mm-main .mm-gallery,
  body .mm-main .mm-contact-grid,
  body .mm-main .mm-wrap.mm-infantil-split {
    width: min(100% - 34px, 560px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body .mm-main .mm-heading {
    max-width: 10ch !important;
    font-size: clamp(2.08rem, 10vw, 2.72rem) !important;
    line-height: .98 !important;
  }

  body .mm-main .mm-lead,
  body .mm-main p {
    max-width: 34rem;
  }

  body .mm-main .mm-project-hero {
    display: block !important;
  }

  body .mm-main .mm-project-hero > div:first-child {
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(44, 41, 37, .14) !important;
  }

  body .mm-main .mm-project-hero > div + div {
    margin-top: 20px !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split,
  body .mm-main .mm-editorial-grid,
  body .mm-main .mm-project-grid,
  body .mm-main .mm-gallery {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture,
  body .mm-main .mm-wrap.mm-infantil-split > figure,
  body .mm-main .mm-editorial-image,
  body .mm-main .mm-project-card img,
  body .mm-main .mm-gallery img {
    width: min(100%, 440px) !important;
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture img,
  body .mm-main .mm-wrap.mm-infantil-split > figure img,
  body .mm-main .mm-editorial-image img,
  body .mm-main .mm-project-card img,
  body .mm-main .mm-gallery img {
    height: auto !important;
    min-height: 0 !important;
    max-height: 330px !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    box-shadow: 0 18px 42px rgba(38, 34, 28, .10) !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img + div,
  body .mm-main .mm-wrap.mm-infantil-split > picture + div,
  body .mm-main .mm-wrap.mm-infantil-split > figure + div,
  body .mm-main .mm-project-card-body,
  body .mm-main .mm-editorial-caption {
    width: min(100%, 410px) !important;
    max-width: 410px !important;
    margin: 0 auto !important;
    padding: 18px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    box-shadow: none !important;
  }

  body .mm-main .mm-editorial-caption p {
    color: var(--muted) !important;
  }

  body .mm-main .mm-project-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body .mm-main .mm-project-card-body {
    padding-bottom: 28px !important;
    border-bottom: 1px solid rgba(44, 41, 37, .12) !important;
  }

  body .mm-main .mm-project-card:nth-child(even) img,
  body .mm-main .mm-gallery img:nth-child(even) {
    width: min(86%, 360px) !important;
    max-height: 280px !important;
  }

  body .mm-main .mm-project-card:nth-child(odd) img,
  body .mm-main .mm-gallery img:nth-child(odd) {
    margin-left: 0 !important;
  }

  body .mm-main .mm-project-card:nth-child(even) img,
  body .mm-main .mm-gallery img:nth-child(even) {
    margin-right: 0 !important;
  }

  body .mm-main .mm-service,
  body .mm-main .mm-value,
  body .mm-main .mm-step,
  body .mm-main .mm-faq details {
    padding: 22px 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(44, 41, 37, .14) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 560px) {
  body .mm-main .mm-section,
  body .mm-main .mm-section.compact {
    padding: 38px 0 !important;
  }

  body .mm-main .mm-wrap,
  body .mm-main .mm-project-hero,
  body .mm-main .mm-editorial-grid,
  body .mm-main .mm-project-grid,
  body .mm-main .mm-gallery,
  body .mm-main .mm-contact-grid,
  body .mm-main .mm-wrap.mm-infantil-split {
    width: calc(100% - 32px) !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture,
  body .mm-main .mm-wrap.mm-infantil-split > figure,
  body .mm-main .mm-editorial-image,
  body .mm-main .mm-project-card img,
  body .mm-main .mm-gallery img {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img,
  body .mm-main .mm-wrap.mm-infantil-split > picture img,
  body .mm-main .mm-wrap.mm-infantil-split > figure img,
  body .mm-main .mm-editorial-image img,
  body .mm-main .mm-project-card img,
  body .mm-main .mm-gallery img {
    max-height: 255px !important;
    aspect-ratio: 4 / 3 !important;
  }

  body .mm-main .mm-project-card:nth-child(even) img,
  body .mm-main .mm-gallery img:nth-child(even) {
    width: min(82%, 280px) !important;
    max-height: 220px !important;
  }

  body .mm-main .mm-heading {
    font-size: clamp(2rem, 11vw, 2.42rem) !important;
  }

  body .mm-main .mm-wrap.mm-infantil-split > img + div,
  body .mm-main .mm-wrap.mm-infantil-split > picture + div,
  body .mm-main .mm-wrap.mm-infantil-split > figure + div,
  body .mm-main .mm-project-card-body,
  body .mm-main .mm-editorial-caption {
    width: min(100%, 330px) !important;
  }
}

@media (max-width: 920px) {
  body .mm-main .mm-title,
  body .mm-main .mm-heading,
  body .mm-main .mm-project-hero .mm-heading,
  body .mm-main .mm-wrap.mm-infantil-split .mm-heading,
  body .mm-main .mm-project-card h3,
  body .mm-main .mm-service h3,
  body .mm-main .mm-value strong,
  body .mm-main .mm-step h3,
  body .mm-main .mm-faq summary {
    max-width: 100% !important;
  }

  body .mm-main .mm-heading,
  body .mm-main .mm-project-hero .mm-heading,
  body .mm-main .mm-wrap.mm-infantil-split .mm-heading {
    font-size: clamp(2rem, 8vw, 2.46rem) !important;
    line-height: 1.04 !important;
  }

  body .mm-main .mm-title {
    font-size: clamp(2.56rem, 10vw, 3.1rem) !important;
    line-height: .96 !important;
  }

  body .mm-main .mm-lead,
  body .mm-main p {
    width: 100% !important;
    max-width: 100% !important;
  }

  body .mm-main .mm-project-card h3 {
    font-size: 1.58rem !important;
    line-height: 1.12 !important;
  }

  body .mm-main .mm-service h3,
  body .mm-main .mm-value strong,
  body .mm-main .mm-step h3,
  body .mm-main .mm-faq summary {
    font-size: 1.42rem !important;
  }
}

@media (max-width: 560px) {
  body .mm-main .mm-heading,
  body .mm-main .mm-project-hero .mm-heading,
  body .mm-main .mm-wrap.mm-infantil-split .mm-heading {
    font-size: clamp(1.92rem, 8.2vw, 2.24rem) !important;
    line-height: 1.05 !important;
  }

  body .mm-main .mm-title {
    font-size: clamp(2.42rem, 10vw, 2.82rem) !important;
  }
}

/* Project gallery viewer */
.mm-gallery.mm-project-viewer {
  display: block !important;
}

.mm-project-stage {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--mist);
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
}

.mm-project-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(25, 23, 21, .34), rgba(25, 23, 21, 0));
  pointer-events: none;
}

.mm-gallery.mm-project-viewer .mm-project-stage-image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
}

.mm-project-stage-action,
.mm-project-stage-count {
  position: absolute;
  bottom: 18px;
  z-index: 1;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 249, .42);
  border-radius: 999px;
  background: rgba(25, 23, 21, .25);
  backdrop-filter: blur(9px);
  color: var(--surface);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mm-project-stage-action {
  right: 18px;
}

.mm-project-stage-count {
  left: 18px;
}

.mm-project-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 2px 1px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.mm-project-thumb {
  flex: 1 1 0;
  min-width: 92px;
  max-width: 180px;
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color .2s ease, opacity .2s ease;
  opacity: .68;
}

.mm-project-thumb.is-selected {
  border-color: var(--olive);
  opacity: 1;
}

.mm-gallery.mm-project-viewer .mm-project-thumb img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  object-fit: cover !important;
}

.mm-project-stage:focus-visible,
.mm-project-thumb:focus-visible,
.mm-lightbox button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

body.mm-lightbox-open {
  overflow: hidden;
}

.mm-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(24, 22, 20, .96);
  color: var(--surface);
}

.mm-lightbox[hidden] {
  display: none !important;
}

.mm-lightbox-bar {
  min-height: 70px;
  padding: 16px clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mm-lightbox-label {
  margin: 0;
  color: rgba(255, 253, 249, .7);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mm-lightbox-close {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 253, 249, .3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.mm-lightbox-close span {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 1px;
  background: var(--surface);
}

.mm-lightbox-close span:first-child {
  transform: rotate(45deg);
}

.mm-lightbox-close span:last-child {
  transform: rotate(-45deg);
}

.mm-lightbox-view {
  min-height: 0;
  padding: 0 clamp(16px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(76px, 108px) minmax(0, 1fr) minmax(76px, 108px);
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
}

.mm-lightbox-figure {
  min-width: 0;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
}

.mm-lightbox-image {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
}

.mm-lightbox-caption {
  padding: 16px 0 0;
  color: rgba(255, 253, 249, .76);
  font-size: .88rem;
  text-align: center;
}

.mm-lightbox-nav {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 249, .28);
  background: transparent;
  color: var(--surface);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.mm-lightbox-nav:disabled {
  opacity: .26;
  cursor: default;
}

.mm-lightbox-count {
  margin: 0;
  padding: 18px 20px 22px;
  color: rgba(255, 253, 249, .7);
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 920px) {
  body .mm-main .mm-gallery.mm-project-viewer {
    display: block !important;
    width: calc(100% - 32px) !important;
  }

  .mm-project-stage {
    aspect-ratio: 4 / 3;
    border-radius: 5px;
  }

  body .mm-main .mm-gallery.mm-project-viewer .mm-project-stage-image {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .mm-project-stage-action,
  .mm-project-stage-count {
    bottom: 12px;
    min-height: 34px;
    padding: 0 13px;
    font-size: .7rem;
  }

  .mm-project-stage-action {
    right: 12px;
  }

  .mm-project-stage-count {
    left: 12px;
  }

  .mm-project-thumbs {
    margin-top: 9px;
    gap: 7px;
  }

  .mm-project-thumb {
    flex: 0 0 76px;
    min-width: 76px;
    border-radius: 4px;
  }

  body .mm-main .mm-gallery.mm-project-viewer .mm-project-thumb img {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .mm-lightbox-bar {
    min-height: 60px;
    padding: 10px 16px;
  }

  .mm-lightbox-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 14px;
    gap: 16px;
  }

  .mm-lightbox-figure {
    order: 1;
    width: 100%;
    height: min(65vh, 600px);
  }

  .mm-lightbox-image {
    max-height: calc(65vh - 44px);
  }

  .mm-lightbox-nav {
    position: absolute;
    bottom: 58px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 253, 249, .3);
    border-radius: 999px;
  }

  .mm-lightbox-nav.is-previous {
    left: 16px;
  }

  .mm-lightbox-nav.is-next {
    right: 16px;
  }

  .mm-lightbox-count {
    padding: 15px 20px 72px;
  }
}
