/* Mabel Wine Bar & Kitchen — case study.
   Site system (shared header, SVN Poppins body, numbered chapters, hairline grids,
   lightbox, closing CTA) + Mabel's own world: claret blacks, Mabel red, champagne,
   Bodoni Moda for Latin brand moments, Noto Serif Display for Vietnamese headings
   (Bodoni Moda has no Vietnamese glyphs). Fonts: assets/mabel-case/fonts (SIL OFL). */

@font-face { font-family: "SVN Poppins"; src: url("/assets/fonts/SVN-Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SVN Poppins"; src: url("/assets/fonts/SVN-Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "SVN Poppins"; src: url("/assets/fonts/SVN-Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "SVN Poppins"; src: url("/assets/fonts/SVN-Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face {
  font-family: "Mabel Bodoni";
  src: url("/assets/mabel-case/fonts/bodoni-moda-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mabel Bodoni";
  src: url("/assets/mabel-case/fonts/bodoni-moda-latin-standard-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mabel Display VI";
  src: url("/assets/mabel-case/fonts/noto-serif-display-vietnamese-300-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Mabel Display VI";
  src: url("/assets/mabel-case/fonts/noto-serif-display-latin-300-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mabel Display VI";
  src: url("/assets/mabel-case/fonts/noto-serif-display-vietnamese-300-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Mabel Display VI";
  src: url("/assets/mabel-case/fonts/noto-serif-display-latin-300-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mabel Text";
  src: url("/assets/mabel-case/fonts/be-vietnam-pro-vietnamese-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Mabel Text";
  src: url("/assets/mabel-case/fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --mb-ink: #190607;
  --mb-ink-2: #230a0a;
  --mb-panel: #2a0d0c;
  --mb-wine: #3a0b0d;
  --mb-oxblood: #5c0f10;
  --mb-burgundy: #8c1a15;
  --mb-red: #b3261e;
  --mb-red-text: #9e2019;
  --mb-ivory: #f3efe8;
  --mb-paper: #f3efe8;
  --mb-paper-2: #e8e0d5;
  --mb-stone: #cec7be;
  --mb-beige: #b8ad9e;
  --mb-taupe: #8c8072;
  --mb-sand: #e0d69c;
  --mb-text: #2a1a17;
  --mb-muted: #66534c;
  --mb-line: rgba(42, 26, 23, 0.16);
  --mb-line-dark: rgba(206, 199, 190, 0.16);
  --mb-sans: "SVN Poppins", "Helvetica Neue", Arial, sans-serif;
  --mb-brand: "Mabel Bodoni", "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --mb-display: "Mabel Display VI", "Noto Serif Display", Georgia, "Times New Roman", serif;
  --mb-container: 1280px;
  --mb-header: 82px;
}

html[lang="en"] {
  --mb-display: "Mabel Bodoni", "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mb-header) + 64px);
  background: var(--mb-ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--mb-paper);
  color: var(--mb-text);
  font-family: var(--mb-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--mb-red);
  color: var(--mb-ivory);
}

:focus-visible {
  outline: 2px solid var(--mb-sand);
  outline-offset: 4px;
}

.mb-paper :focus-visible {
  outline-color: var(--mb-red);
}

.mb-container {
  width: min(100% - 48px, var(--mb-container));
  margin-inline: auto;
}

.mb-section {
  position: relative;
  padding-block: clamp(84px, 10.5vw, 164px);
}

.mb-dark {
  background:
    radial-gradient(circle at 88% 6%, rgba(179, 38, 30, 0.1), transparent 30rem),
    linear-gradient(180deg, var(--mb-ink-2), var(--mb-ink));
  color: var(--mb-stone);
}

.mb-paper {
  background: var(--mb-paper);
  color: var(--mb-text);
}

.mb-stone {
  background: var(--mb-paper-2);
  color: var(--mb-text);
}

.mb-eyebrow {
  color: var(--mb-red-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mb-dark .mb-eyebrow {
  color: var(--mb-sand);
}

.mb-latin {
  font-family: var(--mb-brand);
}

.mb-skip {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 12px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--mb-sand);
  color: var(--mb-ink);
  font-size: 0.74rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.mb-skip:focus {
  transform: translateY(0);
}

.mb-progress {
  position: fixed;
  z-index: 210;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.mb-progress span {
  display: block;
  width: var(--mb-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--mb-red), var(--mb-sand));
}

/* Headings ---------------------------------------------------------------- */

.mb-h2 {
  font-family: var(--mb-display);
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

html[lang="en"] .mb-h2 {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mb-dark .mb-h2 {
  color: var(--mb-ivory);
}

.mb-h2 em,
.mb-hero h1 em {
  font-style: italic;
}

.mb-paper .mb-h2 em,
.mb-stone .mb-h2 em {
  color: var(--mb-red-text);
}

.mb-dark .mb-h2 em {
  color: var(--mb-sand);
}

.mb-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: clamp(28px, 6vw, 110px);
}

.mb-head .mb-h2 {
  margin-top: 18px;
}

.mb-head > p,
.mb-lead {
  max-width: 470px;
  color: var(--mb-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.mb-dark .mb-head > p,
.mb-dark .mb-lead {
  color: rgba(206, 199, 190, 0.82);
}

.mb-note {
  margin-top: 34px;
  color: var(--mb-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.mb-dark .mb-note {
  color: rgba(206, 199, 190, 0.66);
}

/* Device frames ------------------------------------------------------------ */

.mb-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.mb-zoom img {
  width: 100%;
  height: auto;
}

.mb-browser {
  overflow: hidden;
  border: 1px solid rgba(206, 199, 190, 0.18);
  border-radius: 12px;
  background: #0d0304;
  box-shadow: 0 50px 110px -60px rgba(10, 2, 3, 0.95);
}

.mb-paper .mb-browser,
.mb-stone .mb-browser {
  border-color: rgba(42, 26, 23, 0.2);
  box-shadow: 0 40px 80px -52px rgba(42, 12, 10, 0.75);
}

.mb-browser__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: 32px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(206, 199, 190, 0.12);
  background: #160506;
}

.mb-browser__bar i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(206, 199, 190, 0.28);
}

.mb-dots {
  display: inline-flex;
}

.mb-browser__bar .mb-url {
  justify-self: center;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(206, 199, 190, 0.07);
  color: rgba(206, 199, 190, 0.72);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-browser__bar b {
  width: 33px;
}

.mb-phone {
  padding: 5px;
  border: 1px solid rgba(206, 199, 190, 0.26);
  border-radius: clamp(18px, 2.6vw, 30px);
  background: #0b0203;
  box-shadow: 0 46px 90px -46px rgba(6, 1, 2, 0.95);
}

.mb-phone .mb-zoom,
.mb-phone picture,
.mb-phone img {
  overflow: hidden;
  border-radius: clamp(14px, 2.2vw, 25px);
}

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

.mb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgba(179, 38, 30, 0.3), transparent 32rem),
    radial-gradient(circle at 6% 96%, rgba(92, 15, 16, 0.55), transparent 28rem),
    linear-gradient(160deg, #1f0708 0%, #120405 58%, var(--mb-ink) 100%);
  color: var(--mb-ivory);
}

.mb-hero .mb-eyebrow {
  color: var(--mb-sand);
}

.mb-hero__inner {
  padding-top: calc(var(--mb-header) + clamp(26px, 4vw, 54px));
  padding-bottom: clamp(56px, 7vw, 104px);
}

.mb-hero__topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mb-line-dark);
  color: rgba(206, 199, 190, 0.7);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.mb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
  margin-top: clamp(40px, 5.5vw, 84px);
}

.mb-hero h1 {
  margin-top: 20px;
  font-family: var(--mb-display);
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
}

html[lang="en"] .mb-hero h1 {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.mb-hero h1 em {
  display: inline-block;
  color: var(--mb-sand);
}

.mb-hero__lead {
  max-width: 500px;
  margin-top: clamp(26px, 3vw, 40px);
  color: rgba(206, 199, 190, 0.86);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.82;
}

.mb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 30px;
}

.mb-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--mb-red);
  border-radius: 999px;
  background: var(--mb-red);
  color: var(--mb-ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mb-pill:hover {
  border-color: var(--mb-burgundy);
  background: var(--mb-burgundy);
  transform: translateY(-2px);
}

.mb-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 160ms ease, gap 160ms ease;
}

.mb-link:hover {
  gap: 14px;
  color: var(--mb-sand);
}

.mb-paper .mb-link:hover,
.mb-stone .mb-link:hover {
  color: var(--mb-red-text);
}

.mb-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid rgba(206, 199, 190, 0.3);
}

.mb-hero__facts div {
  padding: 14px 18px 4px 0;
  border-right: 1px solid var(--mb-line-dark);
}

.mb-hero__facts div + div {
  padding-left: 18px;
}

.mb-hero__facts div:last-child {
  border-right: 0;
}

.mb-hero__facts dt {
  color: rgba(206, 199, 190, 0.62);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mb-hero__facts dd {
  margin-top: 6px;
  color: var(--mb-ivory);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.mb-stage {
  position: relative;
  padding-bottom: 9%;
  padding-left: 8%;
}

.mb-stage .mb-browser {
  transform: rotate(0.0001deg);
}

.mb-stage__phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 27%;
}

.mb-stage__tag {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(206, 199, 190, 0.74);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mb-stage__tag img {
  width: 64px;
  height: auto;
}

/* Chapter nav -------------------------------------------------------------- */

.mb-chapters {
  position: sticky;
  z-index: 150;
  top: var(--portfolio-header-scrolled-height, 58px);
  border-bottom: 1px solid var(--mb-line);
  background: rgba(243, 239, 232, 0.96);
  backdrop-filter: blur(14px);
}

.mb-chapters__inner {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  overflow-x: auto;
  scrollbar-width: none;
}

.mb-chapters__inner::-webkit-scrollbar {
  display: none;
}

.mb-chapters a {
  flex: none;
  padding-block: 8px;
  color: rgba(42, 26, 23, 0.7);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease;
}

.mb-chapters a:hover,
.mb-chapters a[aria-current="true"] {
  color: var(--mb-red-text);
}

/* 01 Context --------------------------------------------------------------- */

.mb-context__layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}

.mb-mark {
  display: grid;
  justify-items: start;
  gap: 18px;
  color: var(--mb-red-text);
}

.mb-mark span {
  font-family: var(--mb-brand);
  font-size: clamp(3.6rem, 6vw, 5.6rem);
  font-style: italic;
  line-height: 0.8;
}

.mb-mark small {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.mb-context__copy .mb-h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.mb-context__copy > p:last-child {
  max-width: 640px;
  margin-top: 30px;
  color: var(--mb-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.mb-spec {
  padding-top: 18px;
  border-top: 1px solid var(--mb-line);
}

.mb-spec dl {
  margin-top: 16px;
}

.mb-spec dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mb-line);
}

.mb-spec dt {
  color: var(--mb-red-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mb-spec dd {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.mb-problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(64px, 8vw, 110px);
  border: 1px solid var(--mb-line);
  background: var(--mb-line);
}

.mb-problems li {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 250px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--mb-paper);
}

.mb-problems span {
  color: var(--mb-red-text);
  font-family: var(--mb-brand);
  font-size: 1.05rem;
  font-style: italic;
}

.mb-problems h3 {
  margin-top: 26px;
  font-family: var(--mb-display);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 300;
  line-height: 1.05;
}

.mb-problems p {
  max-width: 330px;
  color: var(--mb-muted);
  font-size: 0.84rem;
  line-height: 1.72;
}

.mb-problems__label {
  margin-top: clamp(64px, 8vw, 110px);
  margin-bottom: 18px;
}

.mb-problems__label + .mb-problems {
  margin-top: 0;
}

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

.mb-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 7vw, 96px);
}

.mb-tile {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 330px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--mb-line-dark);
  border-radius: 14px;
  background: rgba(42, 13, 12, 0.72);
}

.mb-tile__label {
  color: var(--mb-sand);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mb-tile p {
  max-width: 420px;
  color: rgba(206, 199, 190, 0.78);
  font-size: 0.8rem;
  line-height: 1.7;
}

.mb-tile--mark {
  grid-column: span 7;
  background:
    radial-gradient(circle at 70% 30%, rgba(179, 38, 30, 0.38), transparent 22rem),
    var(--mb-oxblood);
}

.mb-tile--mark img {
  justify-self: center;
  width: min(74%, 470px);
  height: auto;
}

.mb-tile--palette {
  grid-column: span 5;
}

.mb-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.mb-swatches li {
  display: grid;
  gap: 10px;
}

.mb-swatches i {
  display: block;
  height: 132px;
  border: 1px solid rgba(206, 199, 190, 0.16);
  border-radius: 999px 999px 8px 8px;
  background: var(--swatch);
}

.mb-swatches b {
  display: block;
  color: var(--mb-ivory);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.3;
}

.mb-swatches small {
  display: block;
  margin-top: 2px;
  color: rgba(206, 199, 190, 0.66);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.mb-tile--type {
  grid-column: span 5;
}

.mb-type {
  display: grid;
  gap: 22px;
}

.mb-type div {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mb-line-dark);
}

.mb-type div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mb-type small {
  color: rgba(206, 199, 190, 0.66);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mb-tile .mb-type__bodoni {
  text-wrap: balance;
  color: var(--mb-ivory);
  font-family: var(--mb-brand);
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mb-type__bodoni em {
  color: var(--mb-sand);
}

.mb-tile .mb-type__text {
  color: var(--mb-ivory);
  font-family: "Mabel Text", "Be Vietnam Pro", var(--mb-sans);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.3;
}

.mb-tile--voice {
  grid-column: span 7;
}

.mb-tile--voice h3 {
  color: var(--mb-ivory);
  font-family: var(--mb-brand);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mb-voice {
  display: grid;
  border-top: 1px solid var(--mb-line-dark);
}

.mb-voice li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mb-line-dark);
}

.mb-voice b {
  color: var(--mb-ivory);
  font-size: 0.9rem;
  font-weight: 600;
}

.mb-voice span {
  color: var(--mb-sand);
  font-family: var(--mb-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
}

.mb-layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--mb-line-dark);
  border-radius: 14px;
}

.mb-layers li {
  position: relative;
  min-height: 230px;
  padding: clamp(22px, 2.4vw, 32px);
  border-right: 1px solid var(--mb-line-dark);
}

.mb-layers li:last-child {
  border-right: 0;
}

.mb-layers li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 26px;
  right: -11px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mb-ink);
  color: var(--mb-sand);
  font-size: 0.7rem;
}

.mb-layers span {
  color: var(--mb-sand);
  font-family: var(--mb-brand);
  font-style: italic;
}

.mb-layers h3 {
  margin-top: 38px;
  color: var(--mb-ivory);
  font-family: var(--mb-display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 300;
  line-height: 1.1;
}

.mb-layers p {
  margin-top: 12px;
  color: rgba(206, 199, 190, 0.76);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* 03 Deliverables ---------------------------------------------------------- */

.mb-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(56px, 7vw, 92px);
  border: 1px solid var(--mb-line);
  background: var(--mb-line);
}

.mb-ledger article {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--mb-paper);
}

.mb-ledger article.is-monthly {
  background: var(--mb-ink);
  color: var(--mb-stone);
}

.mb-chip {
  justify-self: start;
  padding: 5px 11px;
  border: 1px solid rgba(158, 32, 25, 0.4);
  border-radius: 999px;
  color: var(--mb-red-text);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.is-monthly .mb-chip {
  border-color: rgba(224, 214, 156, 0.5);
  color: var(--mb-sand);
}

.mb-ledger h3 {
  margin-top: 26px;
  font-family: var(--mb-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.1;
}

.is-monthly h3 {
  color: var(--mb-ivory);
}

.mb-ledger ul {
  margin-top: 20px;
  border-top: 1px solid var(--mb-line);
}

.is-monthly ul {
  border-color: var(--mb-line-dark);
}

.mb-ledger li {
  padding: 9px 0;
  border-bottom: 1px solid var(--mb-line);
  font-size: 0.8rem;
  line-height: 1.5;
}

.is-monthly li {
  border-color: var(--mb-line-dark);
}

/* 04 Journey --------------------------------------------------------------- */

.mb-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(56px, 7vw, 96px);
}

.mb-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
}

.mb-step__head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(206, 199, 190, 0.28);
}

.mb-step__head span {
  color: var(--mb-sand);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mb-step__head b {
  color: var(--mb-ivory);
  font-family: var(--mb-brand);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mb-step:not(:last-child) .mb-step__head::after {
  content: "→";
  position: absolute;
  right: calc(clamp(16px, 2vw, 28px) / -2 - 12px);
  bottom: -12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(224, 214, 156, 0.5);
  border-radius: 50%;
  background: var(--mb-ink);
  color: var(--mb-sand);
  font-size: 0.72rem;
}

.mb-step__screen {
  display: grid;
  place-items: center;
  min-height: 0;
}

.mb-step__screen .mb-phone {
  width: min(78%, 250px);
}

.mb-panel {
  display: grid;
  align-content: space-between;
  width: min(78%, 250px);
  aspect-ratio: 390 / 844;
  padding: 22px 18px;
  border: 1px solid var(--mb-line-dark);
  border-radius: clamp(18px, 2.6vw, 30px);
  background:
    radial-gradient(circle at 50% 0%, rgba(179, 38, 30, 0.28), transparent 70%),
    var(--mb-panel);
}

.mb-panel__label {
  color: var(--mb-sand);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mb-channels {
  display: grid;
  gap: 10px;
}

.mb-channels li {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--mb-line-dark);
  border-radius: 12px;
  background: rgba(25, 6, 7, 0.55);
}

.mb-channels b {
  color: var(--mb-ivory);
  font-size: 0.82rem;
  font-weight: 600;
}

.mb-channels span {
  color: rgba(206, 199, 190, 0.74);
  font-size: 0.66rem;
}

.mb-arrows {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mb-arrows span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mb-red);
  color: var(--mb-ivory);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mb-pin {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.mb-pin svg {
  width: 54px;
  height: 54px;
  color: var(--mb-red);
}

.mb-pin b {
  color: var(--mb-ivory);
  font-family: "Mabel Display VI", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.2;
}

.mb-pin span {
  color: rgba(206, 199, 190, 0.74);
  font-size: 0.68rem;
  line-height: 1.5;
}

.mb-step__copy {
  color: rgba(206, 199, 190, 0.8);
  font-size: 0.8rem;
  line-height: 1.7;
}

.mb-loop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px clamp(20px, 2.6vw, 32px);
  border: 1px dashed rgba(224, 214, 156, 0.36);
  border-radius: 14px;
}

.mb-loop > b {
  color: var(--mb-sand);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mb-loop ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mb-loop li {
  padding: 6px 12px;
  border: 1px solid var(--mb-line-dark);
  border-radius: 999px;
  color: var(--mb-ivory);
  font-size: 0.72rem;
}

.mb-loop p {
  max-width: 260px;
  color: rgba(206, 199, 190, 0.78);
  font-size: 0.74rem;
  line-height: 1.6;
}

/* 05 Website --------------------------------------------------------------- */

.mb-pages {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  margin-top: clamp(56px, 7vw, 92px);
}

.mb-pages__main {
  grid-column: span 8;
}

.mb-index {
  grid-column: span 4;
  align-self: stretch;
  display: grid;
  align-content: center;
  border-top: 1px solid var(--mb-line);
}

.mb-index li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--mb-line);
}

.mb-index span {
  grid-row: span 2;
  color: var(--mb-red-text);
  font-family: var(--mb-brand);
  font-size: 0.95rem;
  font-style: italic;
}

.mb-index b {
  font-family: var(--mb-brand);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.mb-index p {
  color: var(--mb-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.mb-pages__small {
  grid-column: span 3;
}

.mb-pages figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 2px 0;
  color: var(--mb-muted);
  font-size: 0.7rem;
}

.mb-pages figcaption b {
  color: var(--mb-text);
  font-family: var(--mb-brand);
  font-size: 1.1rem;
  font-weight: 400;
}

.mb-langs {
  margin-top: clamp(72px, 9vw, 124px);
}

.mb-langs__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 18px 40px;
}

.mb-langs__head h3 {
  font-family: var(--mb-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.08;
}

html[lang="en"] .mb-langs__head h3 {
  font-weight: 400;
}

.mb-langs__head p {
  max-width: 420px;
  color: var(--mb-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.mb-langs__rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  margin-top: 34px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(179, 38, 30, 0.22), transparent 60%),
    var(--mb-ink);
}

.mb-lang {
  display: grid;
  gap: 14px;
}

.mb-lang header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mb-line-dark);
}

.mb-lang header b {
  color: var(--mb-ivory);
  font-family: var(--mb-brand);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
}

.mb-lang header span {
  color: rgba(206, 199, 190, 0.74);
  font-size: 0.68rem;
}

.mb-facts3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--mb-line);
  border-bottom: 1px solid var(--mb-line);
}

.mb-facts3 div {
  padding: 22px 22px 22px 0;
}

.mb-facts3 div + div {
  padding-left: 22px;
  border-left: 1px solid var(--mb-line);
}

.mb-facts3 dt {
  color: var(--mb-red-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mb-facts3 dd {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.6;
}

/* 06 Booking --------------------------------------------------------------- */

.mb-plan {
  margin-top: clamp(56px, 7vw, 92px);
}

.mb-plan__frame {
  overflow: hidden;
  border: 1px solid var(--mb-line-dark);
  border-radius: 18px;
  background: #0e0907;
}

.mb-plan__frame img {
  width: 100%;
  height: auto;
}

.mb-plan__hint {
  margin-top: 14px;
}

.mb-plan__swipe {
  display: none;
}

.mb-plan__legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
}

.mb-plan__legend li {
  display: grid;
  gap: 4px;
  padding: 12px 16px 12px 0;
}

.mb-plan__legend li + li {
  padding-left: 16px;
  border-left: 1px solid var(--mb-line-dark);
}

.mb-plan__legend b {
  color: var(--mb-sand);
  font-family: var(--mb-brand);
  font-size: 1.15rem;
  font-weight: 400;
}

.mb-plan__legend span {
  color: rgba(206, 199, 190, 0.8);
  font-size: 0.74rem;
  line-height: 1.5;
}

.mb-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  margin-top: clamp(64px, 8vw, 110px);
}

.mb-flow {
  border-top: 1px solid rgba(206, 199, 190, 0.28);
}

.mb-flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--mb-line-dark);
}

.mb-flow span {
  grid-row: span 2;
  color: var(--mb-sand);
  font-family: var(--mb-brand);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1;
}

.mb-flow b {
  color: var(--mb-ivory);
  font-size: 0.94rem;
  font-weight: 600;
}

.mb-flow p {
  color: rgba(206, 199, 190, 0.78);
  font-size: 0.8rem;
  line-height: 1.65;
}

.mb-booking__phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
}

.mb-booking__phones .mb-phone:last-child {
  margin-top: 14%;
}

/* 07 Social ---------------------------------------------------------------- */

.mb-social {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  margin-top: clamp(56px, 7vw, 92px);
}

.mb-cycle {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.mb-cycle__ring {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(158, 32, 25, 0.35);
  border-radius: 50%;
}

.mb-cycle__ring::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(42, 26, 23, 0.18);
  border-radius: 50%;
}

.mb-cycle__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
}

.mb-cycle__center b {
  font-family: var(--mb-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
}

.mb-cycle__center span {
  color: var(--mb-red-text);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mb-cycle ol {
  position: absolute;
  inset: 0;
}

.mb-cycle li {
  --r: 36%;
  position: absolute;
  top: calc(50% - var(--r) * cos(var(--a)));
  left: calc(50% + var(--r) * sin(var(--a)));
  display: grid;
  gap: 4px;
  width: 168px;
  padding: 12px 14px;
  border: 1px solid var(--mb-line);
  border-radius: 12px;
  background: var(--mb-paper);
  box-shadow: 0 18px 40px -30px rgba(42, 12, 10, 0.6);
  transform: translate(-50%, -50%);
}

.mb-cycle li span {
  color: var(--mb-red-text);
  font-family: var(--mb-brand);
  font-size: 0.85rem;
  font-style: italic;
}

.mb-cycle li b {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.mb-cycle li small {
  color: var(--mb-muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.mb-social__side {
  display: grid;
  gap: 16px;
}

.mb-card {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--mb-line);
  border-radius: 14px;
  background: var(--mb-paper-2);
}

.mb-card--dark {
  border-color: transparent;
  background: var(--mb-ink);
  color: var(--mb-stone);
}

.mb-card h3 {
  margin-top: 10px;
  font-family: var(--mb-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.12;
}

.mb-card--dark h3 {
  color: var(--mb-ivory);
}

.mb-card p {
  margin-top: 10px;
  color: var(--mb-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.mb-card--dark p {
  color: rgba(206, 199, 190, 0.8);
}

.mb-card--dark .mb-eyebrow {
  color: var(--mb-sand);
}

.mb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.mb-split div {
  padding: 14px;
  border: 1px solid var(--mb-line-dark);
  border-radius: 10px;
}

.mb-split b {
  display: block;
  color: var(--mb-ivory);
  font-size: 0.84rem;
  font-weight: 600;
}

.mb-split span {
  display: block;
  margin-top: 4px;
  color: var(--mb-sand);
  font-family: var(--mb-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
}

.mb-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mb-formats li {
  padding: 7px 14px;
  border: 1px solid rgba(158, 32, 25, 0.35);
  border-radius: 999px;
  color: var(--mb-red-text);
  font-size: 0.74rem;
  font-weight: 600;
}

/* 08 Applications ------------------------------------------------------------ */

.mb-apps {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}

.mb-apps .mb-h2 {
  margin-top: 18px;
}

.mb-apps__intro > p:last-child {
  max-width: 420px;
  margin-top: 24px;
  color: rgba(206, 199, 190, 0.8);
  font-size: 0.92rem;
  line-height: 1.8;
}

.mb-apps__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  border-top: 1px solid rgba(206, 199, 190, 0.28);
}

.mb-apps__list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--mb-line-dark);
  color: var(--mb-ivory);
  font-size: 0.86rem;
  line-height: 1.5;
}

.mb-apps__list span {
  color: var(--mb-sand);
  font-family: var(--mb-brand);
  font-style: italic;
}

.mb-apps__list small {
  display: block;
  margin-top: 3px;
  color: rgba(206, 199, 190, 0.72);
  font-size: 0.74rem;
}

.mb-boundary {
  max-width: 820px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 20px;
  border-top: 1px solid var(--mb-line-dark);
  color: rgba(206, 199, 190, 0.74);
  font-size: 0.76rem;
  line-height: 1.7;
}

/* FAQ ---------------------------------------------------------------------- */

.mb-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 100px);
}

.mb-faq .mb-h2 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
}

.mb-faq__list {
  border-top: 1px solid var(--mb-line);
}

.mb-faq details {
  border-bottom: 1px solid var(--mb-line);
}

.mb-faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}

.mb-faq summary::-webkit-details-marker {
  display: none;
}

.mb-faq summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--mb-red-text);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}

.mb-faq details[open] summary::after {
  content: "−";
}

.mb-faq details p {
  max-width: 640px;
  padding-bottom: 22px;
  color: var(--mb-muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* Related ------------------------------------------------------------------ */

.mb-related__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 18px 40px;
}

.mb-related__head .mb-h2 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}

.mb-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(40px, 5vw, 64px);
}

.mb-related__card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: 14px;
  background: var(--mb-paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mb-related__card:hover {
  box-shadow: 0 30px 60px -40px rgba(42, 12, 10, 0.6);
  transform: translateY(-4px);
}

.mb-related__card figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mb-ink);
}

.mb-related__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.mb-related__card:hover img {
  transform: scale(1.03);
}

.mb-related__card div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 22px 24px;
}

.mb-related__card small {
  color: var(--mb-red-text);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mb-related__card h3 {
  font-family: var(--mb-display);
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.05;
}

html[lang="en"] .mb-related__card h3 {
  font-weight: 400;
}

.mb-related__card p {
  color: var(--mb-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.mb-related__card b {
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Closing ------------------------------------------------------------------ */

.mb-closing {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(179, 38, 30, 0.14), transparent 22rem),
    linear-gradient(135deg, #ece3d8, #f7f3ec 58%);
}

.mb-closing::before {
  content: "HĐ";
  position: absolute;
  right: -0.03em;
  bottom: -0.32em;
  color: rgba(158, 32, 25, 0.06);
  font-family: var(--mb-brand);
  font-size: clamp(14rem, 28vw, 30rem);
  font-style: italic;
  letter-spacing: -0.12em;
  line-height: 0.8;
  pointer-events: none;
}

.mb-closing__inner {
  position: relative;
  max-width: 920px;
  text-align: center;
}

.mb-closing .mb-h2 {
  margin-top: 18px;
}

.mb-closing__inner > p:not(.mb-eyebrow) {
  max-width: 600px;
  margin: 26px auto 0;
  color: var(--mb-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.mb-closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.mb-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  background: var(--mb-ink);
  color: var(--mb-ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 160ms ease, transform 160ms ease;
}

.mb-button:hover {
  background: var(--mb-red);
  transform: translateY(-3px);
}

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

.mb-footer {
  background: var(--mb-ink);
  color: var(--mb-ivory);
}

.mb-footer__inner {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.9fr) auto;
  align-items: center;
  gap: 30px;
  min-height: 150px;
  padding-block: 28px;
}

.mb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mb-footer__brand img {
  width: 36px;
  height: 36px;
}

.mb-footer__brand span {
  display: grid;
  line-height: 1.05;
}

.mb-footer__brand strong {
  font-size: 0.84rem;
}

.mb-footer__brand small {
  margin-top: 3px;
  color: rgba(243, 239, 232, 0.62);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.mb-footer p {
  max-width: 320px;
  color: rgba(243, 239, 232, 0.66);
  font-size: 0.68rem;
  line-height: 1.7;
}

.mb-footer__links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.mb-footer__links a {
  color: rgba(243, 239, 232, 0.82);
  font-size: 0.68rem;
  font-weight: 600;
}

.mb-footer__links a:hover {
  color: var(--mb-sand);
}

/* Lightbox ----------------------------------------------------------------- */

.mb-lightbox {
  position: fixed;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mb-ivory);
}

.mb-lightbox::backdrop {
  background: rgba(12, 3, 4, 0.88);
  backdrop-filter: blur(8px);
}

.mb-lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.mb-lightbox__panel {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(28px, 6vw, 72px);
  pointer-events: none;
}

.mb-lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-width: min(90vw, 1440px);
  max-height: 100%;
  pointer-events: auto;
}

.mb-lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(80vh, 1100px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.mb-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  color: rgba(243, 239, 232, 0.8);
  font-size: 0.7rem;
  line-height: 1.5;
}

.mb-lightbox figcaption small {
  color: var(--mb-sand);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.mb-lightbox__close,
.mb-lightbox__nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(243, 239, 232, 0.42);
  border-radius: 50%;
  background: rgba(25, 6, 7, 0.6);
  color: var(--mb-ivory);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mb-lightbox__close:hover,
.mb-lightbox__nav:hover {
  border-color: var(--mb-sand);
  background: var(--mb-sand);
  color: var(--mb-ink);
}

.mb-lightbox__close {
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

.mb-lightbox__nav {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
  transform: translateY(-50%);
}

.mb-lightbox__nav--prev {
  left: max(14px, 3vw);
}

.mb-lightbox__nav--next {
  right: max(14px, 3vw);
}

/* Reveal ------------------------------------------------------------------- */

body.mb-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 0.7, 0.22, 1);
}

body.mb-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1100px) {
  .mb-context__layout {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .mb-spec {
    grid-column: 2;
  }

  .mb-layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-layers li:nth-child(2) {
    border-right: 0;
  }

  .mb-layers li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mb-line-dark);
  }

  .mb-layers li:nth-child(2)::after {
    display: none;
  }

  .mb-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }

  .mb-step:nth-child(2) .mb-step__head::after {
    display: none;
  }

  .mb-pages__main,
  .mb-index {
    grid-column: 1 / -1;
  }

  .mb-pages__small {
    grid-column: span 6;
  }

  .mb-social {
    grid-template-columns: 1fr;
  }

  .mb-cycle li {
    width: 150px;
  }
}

@media (max-width: 900px) {
  .mb-hero__grid,
  .mb-head,
  .mb-apps,
  .mb-faq,
  .mb-booking {
    grid-template-columns: 1fr;
  }

  .mb-head {
    align-items: start;
  }

  .mb-stage {
    max-width: 720px;
  }

  .mb-board > .mb-tile {
    grid-column: 1 / -1;
  }

  .mb-problems {
    grid-template-columns: 1fr;
  }

  .mb-problems li {
    min-height: 0;
  }

  .mb-plan__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-plan__legend li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .mb-langs__rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(22px, 3vw, 40px);
    scrollbar-width: thin;
    scrollbar-color: rgba(206, 199, 190, 0.3) transparent;
  }

  .mb-lang {
    flex: 0 0 min(42vw, 220px);
    scroll-snap-align: start;
  }

  .mb-facts3 {
    grid-template-columns: 1fr;
  }

  .mb-facts3 div,
  .mb-facts3 div + div {
    padding: 18px 0;
    border-left: 0;
  }

  .mb-facts3 div + div {
    border-top: 1px solid var(--mb-line);
  }

  .mb-related__grid {
    grid-template-columns: 1fr;
  }

  .mb-related__card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: none;
  }

  .mb-related__card figure {
    aspect-ratio: auto;
    min-height: 180px;
  }

  .mb-footer__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mb-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .mb-cycle {
    aspect-ratio: auto;
    width: 100%;
  }

  .mb-cycle__ring {
    display: none;
  }

  .mb-cycle__center {
    position: static;
    place-content: start;
    justify-items: start;
    margin-bottom: 16px;
    text-align: left;
  }

  .mb-cycle ol {
    position: static;
    display: grid;
    gap: 10px;
    border-left: 1px solid rgba(158, 32, 25, 0.35);
    padding-left: 18px;
  }

  .mb-cycle li {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    transform: none;
  }

  .mb-cycle li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -24px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--mb-paper);
    border-radius: 50%;
    background: var(--mb-red);
  }
}

@media (max-width: 640px) {
  .mb-container {
    width: min(100% - 32px, var(--mb-container));
  }

  .mb-hero__topline {
    flex-direction: column;
    gap: 6px;
  }

  .mb-hero__facts {
    grid-template-columns: 1fr;
  }

  .mb-hero__facts div,
  .mb-hero__facts div + div {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--mb-line-dark);
  }

  .mb-stage {
    padding-left: 12%;
    padding-bottom: 16%;
  }

  .mb-stage__phone {
    width: 34%;
  }

  .mb-stage__tag {
    display: none;
  }

  .mb-browser__bar {
    height: 24px;
    padding: 0 9px;
  }

  .mb-browser__bar i {
    width: 5px;
    height: 5px;
    margin-right: 3px;
  }

  .mb-browser__bar .mb-url {
    padding: 1px 9px;
    font-size: 0.52rem;
  }

  .mb-browser__bar b {
    display: none;
  }

  .mb-context__layout {
    grid-template-columns: 1fr;
  }

  .mb-mark {
    grid-auto-flow: column;
    align-items: end;
    justify-content: start;
  }

  .mb-mark small {
    writing-mode: horizontal-tb;
  }

  .mb-spec {
    grid-column: auto;
  }

  .mb-swatches i {
    height: 92px;
  }

  .mb-layers,
  .mb-ledger,
  .mb-journey {
    grid-template-columns: 1fr;
  }

  .mb-layers li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--mb-line-dark);
  }

  .mb-layers li:last-child {
    border-bottom: 0;
  }

  .mb-layers li:not(:last-child)::after {
    display: none;
  }

  .mb-layers h3 {
    margin-top: 18px;
  }

  .mb-ledger article {
    min-height: 0;
  }

  .mb-step:not(:last-child) .mb-step__head::after {
    display: none;
  }

  .mb-step__screen .mb-phone {
    width: min(64%, 240px);
  }

  .mb-panel {
    gap: 22px;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .mb-pin {
    padding-block: 10px;
  }

  .mb-loop {
    grid-template-columns: 1fr;
  }

  .mb-pages__small {
    grid-column: span 12;
  }

  .mb-plan__frame {
    overflow-x: auto;
  }

  .mb-plan__frame img {
    width: 680px;
    max-width: none;
  }

  .mb-plan__frame .mb-zoom {
    width: max-content;
  }

  .mb-plan__swipe {
    display: inline;
  }

  .mb-booking__phones .mb-phone:last-child {
    margin-top: 10%;
  }

  .mb-apps__list {
    grid-template-columns: 1fr;
  }

  .mb-split {
    grid-template-columns: 1fr;
  }

  .mb-related__card {
    grid-template-columns: 1fr;
  }

  .mb-related__card figure {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .mb-lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.mb-reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mb-pill,
  .mb-button,
  .mb-related__card,
  .mb-related__card img {
    transition: none;
  }
}
