.mg-hero-media,
.mg-results,
.mg-crosslink,
.mg-reels-section,
.mg-antique-hero,
.mg-antique-type,
.mg-case-grid figure {
  color: #1c1c1c;
}

.mg-hero-media {
  width: min(100% - 2.5rem, 1056px);
  margin: -2.25rem auto 3.5rem;
}

.mg-hero-frame {
  overflow: hidden;
  background: #e9e5df;
  border: 1px solid #e6e2dc;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(40, 34, 26, .08);
}

.mg-hero-frame picture,
.mg-hero-frame img {
  display: block;
  width: 100%;
}

.mg-hero-frame img {
  height: auto;
  object-fit: cover;
}

.mg-hero-caption {
  color: #615d57;
  font-size: .9rem;
  margin: .85rem 0 0;
  text-align: center;
}

.mg-disclosure {
  color: #716b63;
  font-size: .82rem;
  line-height: 1.5;
  margin: .35rem auto 0;
  text-align: center;
}

.mg-disclosure-under-hero {
  width: 100%;
}

.mg-results .mg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.mg-figure {
  min-width: 0;
  overflow: hidden;
  background: #f5f3f0;
  border: 1px solid #e6e2dc;
  border-radius: 15px;
}

.mg-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e9e5df;
  outline-offset: 4px;
}

.mg-image-link picture,
.mg-image-link img {
  display: block;
  width: 100%;
}

.mg-image-link img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  transition: transform .38s cubic-bezier(.2,.65,.25,1);
}

.mg-image-link:hover img,
.mg-image-link:focus-visible img {
  transform: scale(1.025);
}

.mg-caption {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .9rem 1rem 1rem;
  color: #514d47;
  font-size: .92rem;
  line-height: 1.45;
}

.mg-caption-action {
  color: #817b72;
  font-size: .76rem;
}

.mg-source-photo {
  width: min(100%, 220px);
  margin: 1.25rem auto 0;
  padding: .45rem;
  border: 1px solid #e6e2dc;
  background: #fff;
  border-radius: 12px;
  text-align: left;
}

.mg-source-photo picture,
.mg-source-photo img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.mg-source-photo figcaption {
  color: #716b63;
  font-size: .78rem;
  padding: .55rem .2rem .15rem;
}

.mg-crosslink {
  width: min(100% - 2.5rem, 920px);
  margin: 2rem auto;
  border-left: 3px solid #b3a99a;
  padding: .8rem 1.15rem;
  background: #f3f1ee;
  color: #514d47;
}

.mg-crosslink p { margin: 0; line-height: 1.65; }
.mg-crosslink a,
.mg-perfect-for a { color: #1c1c1c; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.mg-reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.15rem;
  align-items: start;
}

.mg-reel-card {
  overflow: hidden;
  border: 1px solid #e6e2dc;
  border-radius: 16px;
  background: #f8f6f3;
}

.mg-reel-head { padding: 1rem 1rem .65rem; }
.mg-reel-head h3 { color: #292722; font-size: 1rem; font-weight: 650; margin: .3rem 0 0; }
.mg-reel-kicker { color: #817b72; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.mg-reel-stage { position: relative; aspect-ratio: 4 / 5; background: #e9e5df; }
.mg-reel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(145deg, #eeeae3, #e4dfd7);
}
.mg-reel-placeholder p { max-width: 250px; color: #625d55; font-size: .9rem; margin: 0; }
.mg-load-reel {
  padding: .75rem 1.1rem;
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  background: #1c1c1c;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
}
.mg-load-reel:hover { background: #37342f; }
.mg-watch-reel { color: #514d47; font-size: .85rem; text-underline-offset: 3px; }
.mg-reel-card blockquote.instagram-media { margin: 0 auto !important; min-width: 0 !important; width: 100% !important; }

.mg-lightbox[hidden] { display: none; }
.mg-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(42px, 1fr) minmax(0, 1200px) minmax(42px, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: rgba(26, 24, 21, .94);
}
.mg-lightbox-main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}
.mg-lightbox-main img { display: block; max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; }
.mg-lightbox-caption { grid-column: 2; grid-row: 3; color: #f1eee9; text-align: center; font-size: .9rem; }
.mg-lightbox-control {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.mg-lightbox-control:hover { background: rgba(255,255,255,.2); }
.mg-lightbox-close { grid-column: 3; grid-row: 1; justify-self: end; }
.mg-lightbox-prev { grid-column: 1; grid-row: 2; justify-self: start; }
.mg-lightbox-next { grid-column: 3; grid-row: 2; justify-self: end; }
.mg-lightbox-control:focus-visible,
.mg-load-reel:focus-visible,
.mg-image-link:focus-visible { outline: 3px solid #c8b9a4; outline-offset: 3px; }
body.mg-modal-open { overflow: hidden; }

.mg-antique-hero { margin: 0; }
.mg-antique-hero picture,
.mg-antique-hero img { display: block; width: 100%; }
.mg-antique-hero img { aspect-ratio: 1512 / 630; object-fit: cover; border-radius: 16px; border: 1px solid #e6e2dc; }
.mg-antique-hero figcaption,
.mg-credit-line,
.mg-antique-type small,
.mg-case-grid small { color: #777168; display: block; font-size: .8rem; margin-top: .65rem; }
.mg-back-home { color: #615d57; font-size: .9rem; text-decoration: none; }
.mg-back-home:hover { color: #1c1c1c; text-decoration: underline; }
.mg-photo-plan { display: grid; gap: .85rem; list-style: none; margin: 0; padding: 0; }
.mg-photo-plan li { position: relative; padding: .15rem 0 .15rem 1.5rem; color: #514d47; line-height: 1.65; }
.mg-photo-plan li::before { content: ""; position: absolute; top: .7rem; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #978b79; }
.mg-antique-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mg-antique-type:first-child { grid-row: span 2; }
.mg-antique-type > picture,
.mg-antique-type > picture img { display: block; width: 100%; }
.mg-antique-type > picture img { aspect-ratio: 1 / 1; object-fit: cover; }
.mg-antique-type h3 { color: #27251f; font-size: 1.1rem; font-weight: 700; margin: 0 0 .6rem; }
.mg-antique-type p { color: #625d55; line-height: 1.65; margin: 0; }
.mg-type-mark { color: #a49a8a; font-size: .75rem; font-weight: 700; letter-spacing: .14em; margin-bottom: .9rem; }
.mg-type-note { display: block; color: #817b72; font-size: .75rem; letter-spacing: .08em; margin-top: .8rem; text-transform: uppercase; }
.mg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mg-steps article { border-top: 1px solid #d8d2c9; padding: 1.2rem .2rem 0; }
.mg-steps article > span { color: #a39a8b; font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.mg-steps h3 { color: #24221e; font-size: 1.15rem; font-weight: 700; margin: .65rem 0 .4rem; }
.mg-steps p, .mg-why-list li, .mg-perfect-for p { color: #625d55; line-height: 1.7; }
.mg-case-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1rem; align-items: start; }
.mg-case-grid figure { margin: 0; }
.mg-case-grid picture,
.mg-case-grid img { display: block; width: 100%; }
.mg-case-grid img { max-height: 520px; object-fit: cover; border-radius: 12px; background: #f3f1ee; }
.mg-case-grid figcaption { color: #514d47; font-size: .9rem; margin-top: .55rem; }
.mg-antique-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mg-antique-figure .mg-image-link img { aspect-ratio: 1 / 1; }
.mg-antique-figure:last-child .mg-image-link img { aspect-ratio: 4 / 5; }
.mg-antique-figure .mg-caption { font-size: .78rem; padding: .75rem; }
.mg-antique-figure .mg-caption a { color: #615d57; margin-top: .2rem; text-underline-offset: 3px; }
.mg-credit { color: #817b72; font-size: .72rem; }
.mg-antiques-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; background: #fff; }
.mg-antiques-table th, .mg-antiques-table td { padding: 1rem; border-bottom: 1px solid #e6e2dc; color: #514d47; vertical-align: top; }
.mg-antiques-table thead th { background: #f3f1ee; color: #292722; font-weight: 700; }
.mg-antiques-table tbody th { color: #292722; font-weight: 650; }
.mg-why-list { display: grid; gap: .8rem; margin: 0; padding-left: 1.2rem; }
.mg-why-list strong { color: #292722; }
.mg-perfect-for { border-left: 2px solid #b3a99a; padding-left: 1.2rem; }
.mg-pricing-link { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: .85rem 1.2rem; background: #1c1c1c; color: #fff; font-size: .9rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.mg-pricing-link:hover { background: #37342f; }
.mg-schema { display: none !important; }

@media (max-width: 767px) {
  .mg-hero-media { width: calc(100% - 2rem); margin: -1.5rem auto 2.5rem; }
  .mg-results .mg-gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .mg-figure { max-width: 600px; width: 100%; margin-inline: auto; }
  .mg-antique-types { grid-template-columns: minmax(0, 1fr); }
  .mg-antique-type:first-child { grid-row: auto; }
  .mg-antique-type:not(:first-child) { padding: 1.4rem; }
  .mg-steps { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .mg-case-grid { grid-template-columns: minmax(0, 1fr); }
  .mg-antique-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .mg-antique-figure .mg-caption { padding: .65rem; }
  .mg-lightbox { grid-template-columns: 42px minmax(0, 1fr) 42px; padding: .6rem; gap: .3rem; }
  .mg-lightbox-control { width: 38px; height: 38px; }
  .mg-lightbox-main img { max-height: calc(100dvh - 120px); }
  .mg-lightbox-caption { font-size: .78rem; }
  .mg-antique-hero img { border-radius: 12px; }
}

@media (max-width: 420px) {
  .mg-antique-gallery { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .mg-image-link img { transition: none; }
}
