:root {
  --mb-home-ink: #101915;
  --mb-home-paper: #f4f1e9;
  --mb-home-muted: #cbcfc2;
  --mb-home-accent: #dbe7a9;
  --mb-home-hover: #e7f0bc;
  --mb-home-gutter: 64px;
}

.mb-home-shell {
  width: min(calc(100% - 2 * var(--mb-home-gutter)), 1280px);
  margin-inline: auto;
}

.mb-oneblank-hero,
.mb-oneblank-thinking,
.mb-brand-film {
  font-family: 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
}

.mb-oneblank-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--mb-navigation-height, 72px) + 40px) 0 116px;
  background: var(--mb-home-ink);
  color: var(--mb-home-paper);
}

.mb-oneblank-hero__video,
.mb-oneblank-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mb-oneblank-hero__video {
  z-index: -2;
  object-fit: cover;
  object-position: 64% center;
}

.mb-oneblank-hero::before {
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(16, 25, 21, .9), transparent 78%),
    linear-gradient(90deg, rgba(16, 25, 21, .8), rgba(16, 25, 21, .12) 78%);
  content: '';
}

.mb-oneblank-hero::after {
  position: absolute;
  right: max(var(--mb-home-gutter), calc((100% - 1280px) / 2));
  bottom: 32px;
  left: max(var(--mb-home-gutter), calc((100% - 1280px) / 2));
  height: 1px;
  background: rgba(244, 241, 233, .22);
  content: '';
  pointer-events: none;
}

.mb-hero-film-toggle {
  position: absolute;
  right: max(var(--mb-home-gutter), calc((100% - 1280px) / 2));
  bottom: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(244, 241, 233, .62);
  border-radius: 4px;
  background: var(--mb-home-ink);
  color: var(--mb-home-paper);
  font: 600 12px/18px 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  cursor: pointer;
}

.mb-hero-film-toggle:hover { border-color: var(--mb-home-accent); }
.mb-hero-film-toggle:focus-visible { outline: 2px solid var(--mb-home-accent); outline-offset: 4px; }

.mb-oneblank-hero__copy { max-width: 780px; }

.mb-oneblank-hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 750;
  line-height: 1.143;
  letter-spacing: -.055em;
  word-break: keep-all;
}

.mb-oneblank-hero__lead {
  max-width: 638px;
  margin: 20px 0 0;
  color: var(--mb-home-muted);
  font-size: 17px;
  line-height: 28px;
  word-break: keep-all;
}

.mb-oneblank-hero__lead span { display: block; }

.mb-oneblank-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mb-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: 700 14px/20px 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mb-oneblank-hero .mb-home-button { min-width: 182px; border-color: rgba(244, 241, 233, .62); }
.mb-oneblank-hero .mb-home-button:hover { background: rgba(244, 241, 233, .1); }
.mb-oneblank-hero .mb-home-button--primary {
  min-width: 202px;
  border-color: var(--mb-home-accent);
  background: var(--mb-home-accent);
  color: var(--mb-home-ink);
}
.mb-oneblank-hero .mb-home-button--primary:hover {
  border-color: var(--mb-home-hover);
  background: var(--mb-home-hover);
}
.mb-home-button svg { flex: none; }
.mb-home-button:focus-visible { outline: 2px solid var(--mb-home-accent); outline-offset: 4px; }

.mb-oneblank-thinking {
  padding: 88px 0 92px;
  background: var(--mb-home-paper);
  color: var(--mb-home-ink);
}

.mb-oneblank-thinking__label {
  margin: 0;
  color: #40554a;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.mb-oneblank-thinking h2 {
  margin: 7px 0 10px;
  color: inherit;
  font-size: clamp(31px, 4vw, 47px);
  line-height: 1.28;
  letter-spacing: -.05em;
  word-break: keep-all;
}

.mb-oneblank-thinking__description {
  max-width: 670px;
  margin: 0;
  font-size: 17px;
  line-height: 28px;
  word-break: keep-all;
}

.mb-oneblank-thinking .mb-home-button { margin-top: 22px; }
.mb-oneblank-thinking .mb-home-button:hover { background: #e8eddb; }
.mb-oneblank-thinking :focus-visible { outline-color: var(--mb-home-ink); }

.mb-brand-film {
  width: min(850px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(244, 241, 233, .22);
  border-radius: 4px;
  background: var(--mb-home-ink);
  color: var(--mb-home-paper);
}

.mb-brand-film::backdrop { background: rgba(8, 13, 10, .84); }
html:has(.mb-brand-film[open]) { overflow: hidden; }
.mb-brand-film__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.mb-brand-film h2 { margin: 0; color: inherit; font-size: 19px; line-height: 27px; }
.mb-brand-film button { min-width: 44px; min-height: 44px; }
.mb-brand-film video { display: block; width: 100%; max-height: 65dvh; aspect-ratio: 16 / 9; background: #090e0b; }
.mb-brand-film p { margin: 8px 0 0; color: var(--mb-home-muted); font-size: 14px; }

@media (max-width: 767px) {
  :root { --mb-home-gutter: 20px; }
  .home.mb-oneblank-home { padding-bottom: 0; }
  .mb-oneblank-hero { padding: calc(var(--mb-navigation-height, 60px) + 32px) 0 90px; }
  .mb-oneblank-hero__video { object-position: 48% center; }
  .mb-oneblank-hero::before {
    background: linear-gradient(0deg, rgba(16, 25, 21, .98), rgba(16, 25, 21, .82) 38%, rgba(16, 25, 21, .12) 77%, rgba(16, 25, 21, .32));
  }
  .mb-oneblank-hero::after { bottom: 20px; }
  .mb-hero-film-toggle { bottom: 28px; }
  .mb-oneblank-hero h1 { font-size: 32px; line-height: 44px; }
  .mb-oneblank-hero__lead { margin-top: 16px; font-size: 15px; line-height: 24px; }
  .mb-oneblank-hero__lead span + span { margin-top: 3px; }
  .mb-oneblank-hero__actions { flex-direction: column; gap: 8px; margin-top: 24px; }
  .mb-oneblank-hero .mb-home-button { min-width: 0; padding-inline: 16px; }
  .mb-oneblank-thinking { padding: 56px 0 64px; }
  .mb-oneblank-thinking h2 { line-height: 42px; }
  .mb-oneblank-thinking__description { font-size: 15px; line-height: 24px; }
}
