:root {
    --primary: #8ee8ff;
    --secondary: #07111f;
    --accent: #ffffff;
    --text: #102033;
    --muted: #5c718a;
    --line: #dce8f2;
    --bg: #f7fbff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}

.skip-link:focus {
    left: 12px;
    z-index: 5;
}

.site-header,
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 22px clamp(20px, 5vw, 70px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(247, 251, 255, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 232, 242, .8);
}

.brand {
    font-weight: 900;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 800;
}

.site-nav a[aria-current="page"] {
    color: var(--secondary);
}

.block {
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 70px);
}

.block-hero {
    min-height: 72vh;
    display: grid;
    align-content: center;
    background: radial-gradient(circle at top right, var(--primary), transparent 36%), linear-gradient(135deg, var(--secondary), #123f5f);
    color: #fff;
}

.block-page {
    background: #fff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.block-hero h1 {
    max-width: 980px;
    font-size: clamp(44px, 8vw, 94px);
    line-height: .92;
    margin: 12px 0;
}

.lead {
    max-width: 680px;
    font-size: clamp(18px, 2.2vw, 24px);
    color: rgba(255, 255, 255, .86);
}

.block-page .lead {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    width: fit-content;
    margin-top: 24px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #07111f;
    text-decoration: none;
    font-weight: 900;
}

.btn-light {
    background: #fff;
}

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

.section-head h1,
.section-head h2,
.block-cta h2,
.block-contact h2 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
    margin: 8px 0;
}

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

.feature-card,
.block-contact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(16, 32, 51, .06);
}

.feature-card p,
.block-contact p {
    color: var(--muted);
}

.block-cta {
    background: linear-gradient(135deg, var(--secondary), #123f5f);
    color: #fff;
    text-align: center;
}

.block-cta p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@media (max-width: 780px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.msb-template {
  --msb-ivory: #fbf8f4;
  --msb-porcelain: #fffdf9;
  --msb-cream: #f5ede6;
  --msb-shell: #eadbd2;
  --msb-champagne: #d8c0b3;
  --msb-rose: #b48f81;
  --msb-mocha: #8c6f63;
  --msb-cocoa: #5a443c;
  --msb-ink: #171717;
  --msb-muted: rgba(23, 23, 23, .66);
  --msb-line: rgba(180, 143, 129, .28);
  --msb-card: rgba(255, 253, 249, .82);
  --msb-shadow: 0 28px 80px rgba(90, 68, 60, .14);
  color: var(--msb-ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(216, 192, 179, .46), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(180, 143, 129, .2), transparent 26rem),
    linear-gradient(180deg, var(--msb-ivory) 0%, var(--msb-cream) 58%, #f7f1eb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow: clip;
}

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

.msb-template a {
  color: inherit;
}

.msb-template button,
.msb-template input,
.msb-template textarea {
  font: inherit;
}

.msb-hero,
.msb-section {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.msb-hero {
  position: relative;
  min-height: 760px;
  padding: 30px 0 76px;
}

.msb-hero::before {
  content: "";
  position: absolute;
  inset: 112px -18vw auto auto;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(180, 143, 129, .28);
  border-radius: 50%;
  pointer-events: none;
}

.msb-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px;
  border: 1px solid rgba(180, 143, 129, .22);
  border-radius: 999px;
  background: rgba(255, 253, 249, .76);
  box-shadow: 0 20px 60px rgba(90, 68, 60, .1);
  backdrop-filter: blur(18px);
}

.msb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.msb-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f3e5dc, #fffaf6);
  border: 1px solid rgba(180, 143, 129, .35);
  color: var(--msb-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}

.msb-brand__copy {
  display: grid;
  line-height: 1.05;
}

.msb-brand__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 500;
  letter-spacing: -.03em;
}

.msb-brand__copy small {
  color: var(--msb-mocha);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.msb-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(180, 143, 129, .23);
  border-radius: 999px;
  background: rgba(255, 255, 255, .46);
}

.msb-nav__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(23, 23, 23, .74);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.msb-nav__links a:hover {
  background: var(--msb-ink);
  color: #fff;
  transform: translateY(-1px);
}

.msb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid var(--msb-ink);
  border-radius: 999px;
  background: var(--msb-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(23, 23, 23, .16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.msb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(23, 23, 23, .2);
}

.msb-btn--ghost {
  background: rgba(255, 255, 255, .42);
  color: var(--msb-ink) !important;
  border-color: rgba(23, 23, 23, .2);
  box-shadow: none;
}

.msb-btn--mini {
  min-height: 42px;
  padding: 10px 18px;
}

.msb-btn--large {
  min-width: 220px;
}

.msb-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
  gap: 56px;
  align-items: center;
  padding-top: 78px;
}

.msb-hero__content {
  max-width: 690px;
}

.msb-eyebrow {
  margin: 0 0 16px;
  color: var(--msb-mocha);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.msb-hero h1,
.msb-section h2 {
  margin: 0;
  color: var(--msb-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .95;
}

.msb-hero h1 {
  max-width: 740px;
  font-size: clamp(58px, 8.4vw, 116px);
}

.msb-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--msb-muted);
  font-size: clamp(18px, 2vw, 22px);
}

.msb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.msb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.msb-stats article {
  padding: 20px;
  border: 1px solid var(--msb-line);
  border-radius: 28px;
  background: rgba(255, 253, 249, .68);
  box-shadow: 0 18px 50px rgba(90, 68, 60, .08);
}

.msb-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.msb-stats span {
  color: var(--msb-muted);
  font-size: 13px;
  font-weight: 700;
}

.msb-hero__visual {
  position: relative;
  min-height: 560px;
}

.msb-logo-card {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(180, 143, 129, .25);
  border-radius: 42px;
  background: rgba(255, 253, 249, .72);
  box-shadow: var(--msb-shadow);
  backdrop-filter: blur(14px);
}

.msb-logo-card img {
  display: block;
  width: min(100%, 460px);
  max-height: 230px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.msb-polaroid {
  position: absolute;
  z-index: 2;
  right: -8px;
  bottom: 10px;
  width: min(88%, 390px);
  padding: 14px 14px 24px;
  border-radius: 36px;
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 34px 88px rgba(90, 68, 60, .18);
  transform: rotate(2deg);
}

.msb-polaroid__image,
.msb-demo-image,
.msb-lightbox__image {
  display: block;
  min-height: 282px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(23,23,23,.16), transparent 32%),
    radial-gradient(circle at 70% 18%, rgba(255,255,255,.74), transparent 22%),
    linear-gradient(140deg, #2a1d18 0%, #b48f81 36%, #f5ede6 72%, #171717 100%);
}

.msb-polaroid p {
  margin: 14px 8px 0;
  color: var(--msb-cocoa);
  font-weight: 800;
}

.msb-floating-note {
  position: absolute;
  z-index: 4;
  left: -8px;
  bottom: 124px;
  padding: 18px 20px;
  border: 1px solid rgba(180, 143, 129, .26);
  border-radius: 26px;
  background: rgba(255, 253, 249, .82);
  box-shadow: 0 22px 58px rgba(90, 68, 60, .12);
  backdrop-filter: blur(12px);
}

.msb-floating-note span {
  display: block;
  color: var(--msb-mocha);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.msb-floating-note strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.msb-section {
  position: relative;
  padding: 88px 0;
}

.msb-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 40px;
  align-items: end;
  border-top: 1px solid var(--msb-line);
  border-bottom: 1px solid var(--msb-line);
}

.msb-intro h2,
.msb-section h2 {
  font-size: clamp(42px, 5.4vw, 78px);
}

.msb-intro p:last-child,
.msb-section__head p {
  color: var(--msb-muted);
  font-size: 18px;
}

.msb-section__head {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 34px;
}

.msb-service-grid,
.msb-process-grid,
.msb-testimonials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.msb-service-card,
.msb-process-grid article,
.msb-testimonials article {
  min-height: 248px;
  padding: 26px;
  border: 1px solid var(--msb-line);
  border-radius: 34px;
  background: var(--msb-card);
  box-shadow: 0 22px 60px rgba(90, 68, 60, .09);
}

.msb-service-card span,
.msb-process-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--msb-shell);
  color: var(--msb-cocoa);
  font-weight: 900;
}

.msb-service-card h3,
.msb-process-grid h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.035em;
}

.msb-service-card p,
.msb-process-grid p,
.msb-testimonials p,
.msb-contact p {
  margin: 0;
  color: var(--msb-muted);
}

.msb-gallery-section {
  padding-top: 104px;
}

.msb-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.msb-filter-row button {
  cursor: pointer;
  border: 1px solid rgba(23, 23, 23, .12);
  border-radius: 999px;
  background: rgba(255, 253, 249, .76);
  color: rgba(23, 23, 23, .72);
  padding: 11px 16px;
  font-weight: 900;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.msb-filter-row button:hover,
.msb-filter-row button.is-active {
  background: var(--msb-ink);
  color: #fff;
  transform: translateY(-1px);
}

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

.msb-gallery-card {
  transition: opacity .2s ease, transform .2s ease;
}

.msb-gallery-card.is-hidden {
  display: none;
}

.msb-gallery-card button {
  display: grid;
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--msb-line);
  border-radius: 36px;
  background: rgba(255, 253, 249, .86);
  padding: 12px;
  text-align: left;
  box-shadow: 0 22px 66px rgba(90, 68, 60, .11);
  transition: transform .2s ease, box-shadow .2s ease;
}

.msb-gallery-card button:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 82px rgba(90, 68, 60, .15);
}

.msb-gallery-card strong {
  margin: 16px 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.msb-gallery-card small {
  margin: 4px 10px 12px;
  color: var(--msb-mocha);
  font-weight: 800;
}

.msb-demo-image {
  min-height: 310px;
}


.msb-gallery-photo {
  display: block;
  width: 100%;
  min-height: 310px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  background: var(--msb-shell);
}

.msb-lightbox__photo {
  display: block;
  width: min(100%, 760px);
  max-height: min(72vh, 720px);
  object-fit: contain;
  border-radius: 26px;
  background: var(--msb-shell);
}


.msb-demo-image--one {
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), transparent 35%),
    repeating-linear-gradient(110deg, rgba(23,23,23,.9) 0 8px, rgba(180,143,129,.96) 8px 16px, rgba(245,237,230,.92) 16px 24px);
}

.msb-demo-image--two {
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.8), transparent 20%),
    repeating-linear-gradient(90deg, #171717 0 11px, #d8c0b3 11px 20px, #fbf8f4 20px 30px);
}

.msb-demo-image--three {
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.85), transparent 22%),
    linear-gradient(135deg, #5a443c, #b48f81 42%, #f5ede6 72%, #171717);
}

.msb-demo-image--four {
  background:
    linear-gradient(160deg, rgba(255,255,255,.7), transparent 32%),
    repeating-linear-gradient(140deg, #171717 0 9px, #8c6f63 9px 18px, #efe3da 18px 28px);
}

.msb-demo-image--five {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.86), transparent 20%),
    linear-gradient(120deg, #171717, #5a443c 28%, #b48f81 54%, #fbf8f4);
}

.msb-demo-image--six {
  background:
    linear-gradient(130deg, rgba(255,255,255,.72), transparent 38%),
    repeating-linear-gradient(70deg, #2a1d18 0 8px, #d8c0b3 8px 14px, #f5ede6 14px 22px);
}

.msb-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msb-testimonials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 26px;
}

.msb-testimonials article {
  min-height: auto;
}

.msb-testimonials p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -.04em;
  color: var(--msb-ink);
}

.msb-testimonials strong {
  display: block;
  margin-top: 18px;
  color: var(--msb-mocha);
}

.msb-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 48px;
  padding: 46px;
  border: 1px solid var(--msb-line);
  border-radius: 46px;
  background:
    radial-gradient(circle at 88% 0%, rgba(216, 192, 179, .44), transparent 18rem),
    rgba(255, 253, 249, .84);
  box-shadow: var(--msb-shadow);
}

.msb-contact h2 {
  margin-bottom: 18px;
}

.msb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 23, 23, .52);
  backdrop-filter: blur(12px);
}

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

.msb-lightbox__card {
  width: min(620px, 100%);
  padding: 16px 16px 26px;
  border-radius: 36px;
  background: var(--msb-porcelain);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .24);
}

.msb-lightbox__image {
  min-height: 360px;
}

.msb-lightbox__card h3 {
  margin: 20px 10px 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.msb-lightbox__card p {
  margin: 0 10px;
  color: var(--msb-muted);
}

.msb-lightbox__close {
  position: fixed;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--msb-ink);
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 980px) {
  .msb-hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .msb-nav {
    align-items: flex-start;
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .msb-nav__links {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  .msb-hero__grid,
  .msb-intro,
  .msb-contact {
    grid-template-columns: 1fr;
  }

  .msb-hero__visual {
    min-height: 520px;
  }

  .msb-service-grid,
  .msb-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msb-process-grid,
  .msb-testimonials {
    grid-template-columns: 1fr;
  }

  .msb-contact {
    padding: 34px;
  }
}

@media (max-width: 640px) {
  .msb-hero,
  .msb-section {
    width: min(100% - 22px, 1180px);
  }

  .msb-nav__links a {
    padding: 9px 10px;
  }

  .msb-brand__copy small {
    display: none;
  }

  .msb-hero__grid {
    padding-top: 46px;
  }

  .msb-hero h1 {
    font-size: clamp(48px, 16vw, 78px);
  }

  .msb-stats,
  .msb-service-grid,
  .msb-gallery-grid {
    grid-template-columns: 1fr;
  }

  .msb-hero__visual {
    min-height: 460px;
  }

  .msb-logo-card {
    min-height: 220px;
    border-radius: 32px;
  }

  .msb-polaroid {
    width: 92%;
    right: 0;
  }

  .msb-floating-note {
    left: 8px;
    bottom: 96px;
  }

  .msb-section {
    padding: 62px 0;
  }

  .msb-contact {
    border-radius: 34px;
    padding: 26px;
  }
}